X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fsignal.h;h=36b073e012ebab90e6c012ff51f292541bb26b0d;hp=21f70e40e0a020d2254f2a7cbcaaa1a9b560efa0;hb=ad2651a3d8a2e2ae70a5ad882518ef346ab1bc7b;hpb=1e221deb9ee725a14b3656f94e2763f8faeb18dc diff --git a/includes/signal.h b/includes/signal.h index 21f70e4..36b073e 100644 --- a/includes/signal.h +++ b/includes/signal.h @@ -10,6 +10,28 @@ #ifndef __SIGNAL_H #define __SIGNAL_H __SIGNAL_H -// TODO +// ---------------------------------------------------------------------------- +// MACROS + +#define SIGABRT // TODO +#define SIGFPE // TODO +#define SIGILL // TODO +#define SIGINT // TODO +#define SIGSEGV // TODO +#define SIGTERM // TODO +#define SIG_DFL // TODO +#define SIG_ERR // TODO +#define SIG_IGN // TODO + +// ---------------------------------------------------------------------------- +// TYPEDEFS + +typedef sig_atomic_t; // TODO + +// ---------------------------------------------------------------------------- +// FUNCTIONS + +int raise( int sig ); // TODO +void ( * signal( int sig, void ( *func )( int ) ) ) ( int ); // TODO #endif // __SIGNAL_H