Commit | Line | Data |
---|---|---|
2cf6fecc C |
1 | |
2 | ||
3 | ||
4 | SIGSETMASK(2) UNIX Programmer's Manual SIGSETMASK(2) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | sigsetmask - set current signal mask | |
10 | ||
11 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
12 | #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<s\bsi\big\bgn\bna\bal\bl.\b.h\bh>\b> | |
13 | ||
14 | s\bsi\big\bgs\bse\bet\btm\bma\bas\bsk\bk(\b(m\bma\bas\bsk\bk)\b);\b; | |
15 | i\bin\bnt\bt m\bma\bas\bsk\bk;\b; | |
16 | ||
17 | m\bma\bas\bsk\bk =\b= s\bsi\big\bgm\bma\bas\bsk\bk(\b(s\bsi\big\bgn\bnu\bum\bm)\b) | |
18 | ||
19 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
20 | _\bS_\bi_\bg_\bs_\be_\bt_\bm_\ba_\bs_\bk sets the current signal mask (those signals that | |
21 | are blocked from delivery). Signals are blocked if the | |
22 | corresponding bit in _\bm_\ba_\bs_\bk is a 1; the macro _\bs_\bi_\bg_\bm_\ba_\bs_\bk is pro- | |
23 | vided to construct the mask for a given _\bs_\bi_\bg_\bn_\bu_\bm. | |
24 | ||
25 | The system quietly disallows SIGKILL, SIGSTOP, or SIGCONT to | |
26 | be blocked. | |
27 | ||
28 | R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bE | |
29 | The previous set of masked signals is returned. | |
30 | ||
31 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
32 | kill(2), sigvec(2), sigblock(2), sigpause(2) | |
33 | ||
34 | ||
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | Printed 7/9/88 May 14, 1986 1 | |
64 | ||
65 | ||
66 |