SIGSETMASK(2)
NAME
sigsetmask − set current signal mask
USAGE
sigsetmask(mask);
int mask;
DESCRIPTION
Sigsetmask sets the current signal mask (those signals that are blocked from delivery). Signal i is blocked if the ith bit in mask is a 1.
The system does not allow SIGKILL, SIGSTOP, or SIGCONT to be blocked.
RETURN VALUE
The previous set of masked signals is returned.