sigsetmask(3) C LIBRARY FUNCTIONS sigsetmask(3)
NAME
sigsetmask - set current signal mask
SYNOPSIS
cc [ flag... ] file ... -lucb #include <signal.h>
sigsetmask(mask);
int mask;
#define sigmask(signum)
DESCRIPTION
sigsetmask sets the current signal mask (those signals that
are blocked from delivery). Signals are blocked if the
corresponding bit in mask is a 1; the macro sigmask is pro-
vided to construct the mask for a given signum. The system
quietly disallows SIGKILL, SIGSTOP, or SIGCONT from being
blocked.
RETURN VALUE
The previous set of masked signals is returned.
SEE ALSO
sigblock(3), sigpause(3), sigvec(3), signal(3) kill(2), sig-
nal(2) in the Programmer's Reference Manual.
Last change: BSD Compatibility Package 1