1SIGSETMASK(2)                 System Calls Manual                SIGSETMASK(2)
2
3
4

NAME

6       sigsetmask - set current signal mask
7

SYNOPSIS

9       #include <signal.h>
10
11       omask = sigsetmask(mask);
12       long omask, mask;
13
14       mask = sigmask(signum)
15       long mask;
16       int signum;
17

DESCRIPTION

19       This interface is made obsolete by:
20
21       Sigsetmask sets the current signal mask (those signals that are blocked
22       from delivery).  Signals are blocked if the corresponding bit  in  mask
23       is a 1; the macro sigmask is provided to construct the mask for a given
24       signum.
25
26       The system  quietly  disallows  SIGKILL,  SIGSTOP,  or  SIGCONT  to  be
27       blocked.
28

RETURN VALUE

30       The previous set of masked signals is returned.
31

SEE ALSO

33       kill(2), sigvec(2), sigblock(2), sigpause(2)
34

HISTORY

36       The  sigsetmask  function  call  appeared in 4.2BSD and has been depreā€
37       cated.
38
39
40
414.2 Berkeley Distribution      September 3, 1997                 SIGSETMASK(2)
Impressum