]> Zhao Yanbai Git Server - minix.git/commitdiff
_NSIG is supposed to be highest signal number plus one, not highest
authorBen Gras <ben@minix3.org>
Wed, 27 Sep 2006 08:56:37 +0000 (08:56 +0000)
committerBen Gras <ben@minix3.org>
Wed, 27 Sep 2006 08:56:37 +0000 (08:56 +0000)
signal number.

include/signal.h

index 9754c06bbcd4da7ce9267218a9eeaa28f8fafbb2..9b538190d412c7466dcb005e42f685f5993b2e60 100755 (executable)
@@ -54,7 +54,7 @@ typedef unsigned long sigset_t;
 #define SIGTTIN           22   /* background process wants to read */
 #define SIGTTOU           23   /* background process wants to write */
 
-#define _NSIG             23   /* number of signals used */
+#define _NSIG             24   /* highest signal number plus one */
 
 #ifdef _MINIX
 #define SIGIOT             SIGABRT /* for people who speak PDP-11 */