2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>

* include/signal.h (SIG_SGE, SIG_ACK): Add defines.
This commit is contained in:
Danny Smith 2003-11-27 08:23:43 +00:00
parent d799adc46f
commit 714b947a1b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
* include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h: Guard ISO C99 additions with __cplusplus

View File

@ -78,11 +78,14 @@ typedef void (*__p_sig_fn_t)(int);
/*
* These are special values of signal handler pointers which are
* used to send a signal to the default handler (SIG_DFL), ignore
* the signal (SIG_IGN), or indicate an error return (SIG_ERR).
* the signal (SIG_IGN), indicate an error return (SIG_ERR),
* get an error (SIG_SGE), or acknowledge (SIG_ACK).
*/
#define SIG_DFL ((__p_sig_fn_t) 0)
#define SIG_IGN ((__p_sig_fn_t) 1)
#define SIG_ERR ((__p_sig_fn_t) -1)
#define SIG_SGE ((__p_sig_fn_t) 3)
#define SIG_ACK ((__p_sig_fn_t) 4)
#ifdef __cplusplus
extern "C" {