BSD 4_3_Tahoe development
[unix-history] / usr / man / cat2 / sigsetmask.0
SIGSETMASK(2) UNIX Programmer's Manual SIGSETMASK(2)
N\bNA\bAM\bME\bE
sigsetmask - set current signal mask
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
#\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<s\bsi\big\bgn\bna\bal\bl.\b.h\bh>\b>
s\bsi\big\bgs\bse\bet\btm\bma\bas\bsk\bk(\b(m\bma\bas\bsk\bk)\b);\b;
i\bin\bnt\bt m\bma\bas\bsk\bk;\b;
m\bma\bas\bsk\bk =\b= s\bsi\big\bgm\bma\bas\bsk\bk(\b(s\bsi\big\bgn\bnu\bum\bm)\b)
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bS_\bi_\bg_\bs_\be_\bt_\bm_\ba_\bs_\bk sets the current signal mask (those signals that
are blocked from delivery). Signals are blocked if the
corresponding bit in _\bm_\ba_\bs_\bk is a 1; the macro _\bs_\bi_\bg_\bm_\ba_\bs_\bk is pro-
vided to construct the mask for a given _\bs_\bi_\bg_\bn_\bu_\bm.
The system quietly disallows SIGKILL, SIGSTOP, or SIGCONT to
be blocked.
R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bE
The previous set of masked signals is returned.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
kill(2), sigvec(2), sigblock(2), sigpause(2)
Printed 7/9/88 May 14, 1986 1