sigblock(3) (BSD Compatibility Package) sigblock(3)
NAME
sigblock, sigmask - block signals
SYNOPSIS
/usr/ucb/cc [flag ...] file ... -lucb
#include <signal.h>
sigblock(mask)
int mask;
#define sigmask(signum)
DESCRIPTION
sigblock adds the signals specified in mask to the set of signals
currently being blocked from delivery. Signals are blocked if the
appropriate bit in mask is a 1; the macro sigmask is provided to con-
struct the mask for a given signum. The previous mask is returned, and
may be restored using sigsetmask.
It is not possible to block SIGKILL, SIGSTOP, or SIGCONT; this res-
triction is silently imposed by the system.
RETURN VALUE
The previous set of masked signals is returned.
SEE ALSO
kill(2), sigaction(2), signal(2), sigsetmask(3), sigvec(3),
signal(3-ucb), signal(5).
Page 1 Reliant UNIX 5.44 Printed 11/98