.\" Copyright (c) 1983 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)sigsetops.3 6.1 (Berkeley) %G%
sigsetops, sigemptyset, sigfillset, sigaddset, sigdelset, sigismember \- manipulate signal masks
.B sigaddset(set, signo);
.B sigdelset(set, signo);
.B sigismember(set, signo);
These functions manipulate signal mask stored in a
They are provided as macros, but actual functions are available
if their names are undefined (with #undef
function initializes a signal set to be empty.
function initializes a signal set to contain all of the known signals.
One of these routines must be used to initialize a signal set
before its use by the other functions.
function adds a specified signal
function deletes a specified signal
function tests whether a specified signal
is contained in a signal set.
if the signal is a member of the set,
The other functions return 0 upon success.
indicates an error occurred and
is set to indicated the reason.
The current implementation does not detect any errors.
These functions could fail if one of the following occurs:
These functions are defined by POSIX.1.
kill(2), sigaction(2), sigsetops(2), sigsuspend(2)