sigsetmask(2)sigsetmask(2)Namesigsetmask - set current signal mask
Syntaxsigsetmask(mask)
int mask;
Description
The system call 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 quietly disallows SIGKILL or SIGSTOP to be blocked.
The previous set of masked signals is returned.
See Alsokill(2), sigblock(2), sigpause(2), sigvec(2)sigsetmask(2)