mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
* include/signal.h (SIG_SGE, SIG_ACK): Add defines.
This commit is contained in:
parent
d799adc46f
commit
714b947a1b
@ -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
|
||||
|
@ -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" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user