diff options
author | Christopher Faylor <me@cgf.cx> | 2004-02-03 21:59:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-02-03 21:59:27 +0000 |
commit | c571716c6406baaab8a831eca54756e7ac8f9554 (patch) | |
tree | 8e100bb8cea2397de8fcb1e8ddbe984beda856ce /winsup/cygwin/include | |
parent | 50be1d78d9c6ab81a269669fbc49a3ef36587078 (diff) | |
download | cygnal-c571716c6406baaab8a831eca54756e7ac8f9554.tar.gz cygnal-c571716c6406baaab8a831eca54756e7ac8f9554.tar.bz2 cygnal-c571716c6406baaab8a831eca54756e7ac8f9554.zip |
* Makefile.in (DLL_OFILES): Add strsig.o.
* cygtls.h (_local_storage::signamebuf) New element.
* sysconf.cc (sysconf): Implement _SC_RTSIG_MAX.
* tlsoffset.h: Regenerate.
* include/limits.h (_POSIX_RTSIG_MAX): New define.
(RTSIG_MAX): Ditto.
* include/cygwin/signal.h (SIGRTMIN): New define.
(SIGRTMAX): Ditto.
(NSIG): Bump.
* strsig.cc: New file.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/signal.h | 6 | ||||
-rw-r--r-- | winsup/cygwin/include/limits.h | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h index 87af7c883..864ddff7b 100644 --- a/winsup/cygwin/include/cygwin/signal.h +++ b/winsup/cygwin/include/cygwin/signal.h @@ -198,7 +198,11 @@ struct sigaction #define SIGLOST 29 /* resource lost (eg, record-lock lost) */ #define SIGUSR1 30 /* user defined signal 1 */ #define SIGUSR2 31 /* user defined signal 2 */ -#define NSIG 32 /* signal 0 implied */ + +/* Real-Time signals per SUSv3. RT_SIGMAX is defined as 8 in limits.h */ +#define SIGRTMIN 32 +#define SIGRTMAX ((SIGRTMIN) + 0) +#define NSIG 33 /* signal 0 implied */ int sigwait (const sigset_t *, int *); int sigwaitinfo (const sigset_t *, siginfo_t *); diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h index 9fa3cf4fe..5d5244384 100644 --- a/winsup/cygwin/include/limits.h +++ b/winsup/cygwin/include/limits.h @@ -1,6 +1,6 @@ /* limits.h - Copyright 1999, 2000, 2001 Red Hat, Inc. + Copyright 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. This file is part of Cygwin. @@ -164,6 +164,9 @@ details. */ #define _POSIX_SSIZE_MAX 32767 #define _POSIX_STREAM_MAX 8 #define _POSIX_TZNAME_MAX 3 +#define _POSIX_RTSIG_MAX 8 + +#define RTSIG_MAX _POSIX_RTSIG_MAX #endif /* _MACH_MACHLIMITS_H_ */ #endif /* _LIMITS_H___ */ |