1SIGBLOCK(2) System Calls Manual SIGBLOCK(2)
2
3
4
6 sigblock - block signals
7
9 #include <signal.h>
10
11 omask = sigblock(mask);
12 long omask, mask;
13
14 mask = sigmask(signum)
15 long mask;
16 int signum;
17
19 This interface is made obsolete by: [22msigprocmask(2).
20
21 Sigblock causes the signals specified in mask to be added to the set of
22 signals currently being blocked from delivery. Signals are blocked if
23 the corresponding bit in mask is a 1; the macro sigmask is provided to
24 construct the mask for a given signum.
25
26 It is not possible to block SIGKILL, SIGSTOP, or SIGCONT; this
27 restriction is silently imposed by the system.
28
30 The previous set of masked signals is returned.
31
33 kill(2), sigprocmask(2), sigaction(2), sigsetmask(2), sigsetops(2)
34
36 The sigblock function call appeared in 4.2BSD and has been deprecated.
37
38
39
404.2 Berkeley Distribution September 2, 1997 SIGBLOCK(2)