3 sigset, sigaddset, sigdelset, sigemptyset, sigfillset, sigismember \- manipulate signal sets
9 int sigaddset(sigset_t *\fIset\fP, int \fIsig\fP)
10 int sigdelset(sigset_t *\fIset\fP, int \fIsig\fP)
11 int sigemptyset(sigset_t *\fIset\fP)
12 int sigfillset(sigset_t *\fIset\fP)
13 int sigismember(const sigset_t *\fIset\fP, int \fIsig\fP)
17 The system calls that handle signals, such as
21 use sets of signals to keep a process from being interrupted by those
22 signals while executing a signal handler or a critical code segment. These
23 signal sets are manipulated by the following functions:
25 .B "int sigaddset(sigset_t *\fIset\fP, int \fIsig\fP)"
28 to the signal set referenced by
31 .B "int sigdelset(sigset_t *\fIset\fP, int \fIsig\fP)"
34 from the signal set referenced by
37 .B "int sigemptyset(sigset_t *\fIset\fP)"
38 Initialize the signal set referenced by
42 .B "int sigfillset(sigset_t *\fIset\fP)"
43 Initialize the signal set referenced by
45 to an full set, i.e. all signals are in the set.
47 .B "int sigismember(const sigset_t *\fIset\fP, int \fIsig\fP)"
52 is present in the set referenced by
72 on success. They return
76 for an invalid signal number. (They do not use
80 address, but will simply cause a segmentation violation.)
82 Kees J. Bot (kjb@cs.vu.nl)
85 .\" $PchId: sigset.3,v 1.2 1996/04/11 06:39:09 philip Exp $