]> pd.if.org Git - pdclib/blob - includes/signal.h
Minor doc extension.
[pdclib] / includes / signal.h
1 // ----------------------------------------------------------------------------
2 // $Id$
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
7 // Signal handling
8 // ----------------------------------------------------------------------------
9
10 #ifndef __SIGNAL_H
11 #define __SIGNAL_H __SIGNAL_H
12
13 // TODO: Documentation
14
15 // ----------------------------------------------------------------------------
16 // MACROS
17
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?
27
28 // ----------------------------------------------------------------------------
29 // TYPEDEFS
30
31 typedef sig_atomic_t; // TODO - personality?
32
33 // ----------------------------------------------------------------------------
34 // FUNCTIONS
35
36 int raise( int sig );                                        // TODO
37 void ( * signal( int sig, void ( *func )( int ) ) ) ( int ); // TODO
38
39 #endif // __SIGNAL_H