sigsetmask(2) — 4 BSD
NAME
sigsetmask − set current signal mask
SYNOPSIS
int sigsetmask (mask)
int mask;
DESCRIPTION
sigsetmask sets the current signal mask (those signals which are blocked from delivery). Signal i is blocked if the i-th bit in mask is a 1.
The system quietly disallows SIGKILL and SIGSTOP to be blocked.
The SIGCONT signal shall continue a stopped process, even if SIGCONT is blocked (or ignored). However, if a signal-catching routine has been established for SIGCONT, it will not be entered until SIGCONT is unblocked.
RETURN VALUE
The previous set of masked signals is returned.
SEE ALSO
kill(2), sigvec(2), sigblock(2), sigpause(2), sigstack(2), signal(5).
CX/UX Programmer’s Reference Manual