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