Commit Graph

7 Commits

Author SHA1 Message Date
jtc
1d7a3830f2 Definition equating NSIG to _NSIG has been moved to <sys/signal.h> 1995-05-28 03:10:06 +00:00
jtc
84b76af555 Use _NSIG instead of NSIG or constant 32.
Define NSIG equal to _NSIG if !ANSI && !POSIX.
1995-05-28 02:53:56 +00:00
jtc
37133e9408 Don't include <sys/types.h> if _ANSI_SOURCE is defined. 1995-01-10 01:33:23 +00:00
jtc
ff34f690cc We removed the sigaddset(), sigdelset(), and sigismember() macros, although
they were POSIX.1 compliant, because users have misinterpreted the spec and
have written programs that depend on -1 being returned when a signal number
is out of range.  This made initialization of signal masks significantly
more expensive.

This change uses GCC's inline function extension to provide macro-like
signal mask manipulation functions.  Since most of the time constants
like SIGINT is used, gcc is able to remove unused range checking code.
Gcc is also smart enough to coalesce adjacent sigemptyset(), sigaddset(),
sigdelset(), and sigfullset() calls into a single assignment.
1995-01-05 06:01:18 +00:00
cgd
4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
jtc
40a5399cc6 Removed macro definitions of sigaddset(), segdelset(), & sigismember()
so that the function implementations (which have invalid signal error
checking) are used.
1994-08-12 04:55:51 +00:00
cgd
7e4a306f17 user-land signal include file 1994-05-11 03:37:39 +00:00