summaryrefslogtreecommitdiff
path: root/src/signal/_signal.h
blob: f450c053098c50a0d8b4151ebd19906c4d366e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef SIGNAL__SIGNAL_H
#define SIGNAL__SIGNAL_H

#include <signal.h>

#define NSIGNALS 256

typedef void (*handler)(int);

extern struct __signal {
	int current;
	handler handlers[NSIGNALS];
} __signal_h;

void __signal_handler(int);

/*
STDC(-1)
*/

#endif