int sigprocmask (int how, const sigset_t *set, sigset_t *oset); int pthread_sigmask (int how, const sigset_t *set, sigset_t *oset);
SIG_BLOCK - add blocking to signals that are not yet blocked
SIG_UNBLOCK - remove blocking from signals that are blocked
SIG_SETMASK - replace existing mask