1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
8 // ----------------------------------------------------------------------------
11 #define __SIGNAL_H __SIGNAL_H
13 // TODO: Documentation
15 // ----------------------------------------------------------------------------
18 #define SIGABRT // TODO - personality?
19 #define SIGFPE // TODO - personality?
20 #define SIGILL // TODO - personality?
21 #define SIGINT // TODO - personality?
22 #define SIGSEGV // TODO - personality?
23 #define SIGTERM // TODO - personality?
24 #define SIG_DFL // TODO - personality?
25 #define SIG_ERR // TODO - personality?
26 #define SIG_IGN // TODO - personality?
28 // ----------------------------------------------------------------------------
31 typedef sig_atomic_t; // TODO - personality?
33 // ----------------------------------------------------------------------------
36 int raise( int sig ); // TODO
37 void ( * signal( int sig, void ( *func )( int ) ) ) ( int ); // TODO