sigblock(), sigmask(), sigsetmask() - BSD4.3 compatibility signal functions
#include <signal.h>
int sigblock (int mask)
int sigmask (int signum)
int sigsetmask (int mask)
This interface is made obsolete by: sigprocmask(2).
The sigblock(2) function adds the signals specified in mask to the set of signals currently being blocked from delivery. Signals are blocked if the corresponding bit in mask is a 1. The sigmask(2) function is provided to construct the mask for a given signum.
It is not possible to block SIGKILL or SIGSTOP; this restriction is silently imposed by the system.
The functions sigblock(2) and sigsetmask(2) return the previous set of masked signals.
The sigmask(2) function returns a mask that can be used to block the signal signum.
The sigblock(2) call is provided for compatibility with BSD 4.3 only; portable code should use sigprocmask(2).
The declaration of these APIs is visible only when _ALL_SOURCE is defined. These routines are only viable while the total number of signals supported on INTERIX is less than 32. If more signals are supported, then the signal mask will no longer fit in an int.
kill(2)
sigprocmask(2)
sigaction(2)
sigemptyset(3)
signal(2)
sigsetmask(2)