Commit | Line | Data |
---|---|---|
250bd477 C |
1 | .TH SIGBLOCK 2 "15 June 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | sigblock \- block signals | |
5 | .SH SYNOPSIS | |
6 | .nf | |
7 | .B sigblock(mask); | |
8 | .B int mask; | |
9 | .SH DESCRIPTION | |
10 | .I Sigblock | |
11 | causes the signals specified in | |
12 | .I mask | |
13 | to be added to the set of signals currently | |
14 | being blocked from delivery. Signal | |
15 | .I i | |
16 | is blocked if the | |
17 | .IR i -th | |
18 | bit in | |
19 | .I mask | |
20 | is a 1. | |
21 | .PP | |
22 | It is not possible to block SIGKILL, | |
23 | SIGSTOP, or SIGCONT; this restriction is silently | |
24 | imposed by the system. | |
25 | .SH "RETURN VALUE | |
26 | The previous set of masked signals is returned. | |
27 | .SH "SEE ALSO" | |
28 | kill(2), sigvec(2), sigsetmask(2), |