sigprocmask(int how, const sigset_t *set, sigset_t *oset);
The sigprocmask function is used to examine or change (or both) the signal mask of the calling process. If the value of the argument set is not NULL, it points to a set of signals to be used to change the currently blocked set.
The value of the argument how indicates the manner in which the set is changed. The following values are accepted:
If the argument oset is not NULL, the previous mask is stored in the space pointed to by oset. If the value of the argument set is NULL, the value of the argument how is not significant and the signal mask of the process is unchanged.
If there are any pending unblocked signals after the call to sigprocmask at least one of those signals shall be delivered before sigprocmask returns.
It is not possible to block the SIGKILL and SIGSTOP signals.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97