Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-11-27 11:23:43 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2003-11-27 11:23:43 +0300
commit714b947a1b2cbb3bb785f91e3ebd2bdfcc643df1 (patch)
treefa0eddf8b38c7c8502ba8bfccdd0447df2c154f8
parentd799adc46f07b7a6d6336b7de290367a4a72f339 (diff)
2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
* include/signal.h (SIG_SGE, SIG_ACK): Add defines.
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/signal.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 89499cbe6..4a3ba469f 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -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
diff --git a/winsup/mingw/include/signal.h b/winsup/mingw/include/signal.h
index b0a817334..e13863263 100644
--- a/winsup/mingw/include/signal.h
+++ b/winsup/mingw/include/signal.h
@@ -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" {