The
sigset() function manipulates the disposition of the signal
sig. The new disposition is given in
disp.
If
disp is one of
SIG_DFL,
SIG_IGN, or the address of a handler function, the disposition of
sig is changed accordingly, and
sig is removed from the process' signal mask. Also, if
disp is the address of a handler function,
sig will be added to the process' signal mask during execution of the handler.
If
disp is equal to
SIG_HOLD,
sig is added to the calling process' signal mask and the disposition of
sig remains unchanged.