sigsetmask2
Set current signal mask
Usage
#include <signal.h>
int
sigsetmask(int mask);
sigmask(signum);
Library
Standard C Library (libc, -lc)
Overview
This interface is made obsolete by: sigprocmask(2).
Sigsetmask() sets the current signal mask. Signals are blocked from delivery if the corresponding bit in mask is a 1; the macro sigmask() is provided to construct the mask for a given signum.
The system quietly disallows SIGKILL or SIGSTOP to be blocked.
Return values
The previous set of masked signals is returned.
Releases
Unchanged in 155 releases since Mac OS X 10.2.