summaryrefslogtreecommitdiff
path: root/src/signal/_signal.h
blob: 40a01fa0c53f1525927a470a518344a71679b563 (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;

void __signal_handler(int);

/*
STDC(-1)
*/

#endif