int sigprocmask(int how, const sigset_t *set, sigset_t *oset);
If how is SIG_BLOCK, the set that the parameter set points to is added to the current signal mask. If it is SIG_UNBLOCK, the set that the parameter set points to is removed from the current signal mask. If it is SIG_SETMASK, the current signal mask is replaced by the set that the parameter set points to.
If oset is not NULL, it returns the previous mask. If set is NULL, the value how is not significant and the signal mask of the process remains unchanged. Therefore, you can use the call to inquire about currently blocked signals.
If there are any pending unblocked signals after the call to
It is not possible to block those signals that cannot be ignored (see
Indicates the type of change.
Points to the new set.
Is a return pointer to the old set.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
pthread_sigmask(), sigaction(), sigaddset(), sigdelset(), sigemptyset(), sigfillset(), sigismember(), signal(), sigpending(), sigsuspend()
PTC MKS Toolkit 10.2 Documentation Build 28.