sigsetmask(2)
Name
sigsetmask − set current signal mask
Syntax
sigsetmask(mask)
int mask;
Description
The sigsetmask 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.