Commit | Line | Data |
---|---|---|
2cf6fecc C |
1 | |
2 | ||
3 | ||
4 | SIGBLOCK(2) UNIX Programmer's Manual SIGBLOCK(2) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | sigblock - block signals | |
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\bgb\bbl\blo\boc\bck\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_\bb_\bl_\bo_\bc_\bk causes the signals specified in _\bm_\ba_\bs_\bk to be added to | |
21 | the set of signals currently being blocked from delivery. | |
22 | Signals are blocked if the corresponding bit in _\bm_\ba_\bs_\bk is a 1; | |
23 | the macro _\bs_\bi_\bg_\bm_\ba_\bs_\bk is provided to construct the mask for a | |
24 | given _\bs_\bi_\bg_\bn_\bu_\bm. | |
25 | ||
26 | It is not possible to block SIGKILL, SIGSTOP, or SIGCONT; | |
27 | this restriction is silently imposed by the system. | |
28 | ||
29 | R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bE | |
30 | The previous set of masked signals is returned. | |
31 | ||
32 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
33 | kill(2), sigvec(2), sigsetmask(2) | |
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 |