1SGETMASK(2)                Linux Programmer's Manual               SGETMASK(2)
2
3
4

NAME

6       sgetmask, ssetmask - manipulation of signal mask (obsolete)
7

SYNOPSIS

9       long sgetmask(void);
10
11       long ssetmask(long newmask);
12

DESCRIPTION

14       These  system  calls are obsolete.  Do not use them; use sigprocmask(2)
15       instead.
16
17       sgetmask() returns the signal mask of the calling process.
18
19       ssetmask() sets the signal mask of the calling  process  to  the  value
20       given in newmask.  The previous signal mask is returned.
21
22       The  signal  masks  dealt  with by these two system calls are plain bit
23       masks (unlike the sigset_t used by sigprocmask(2)); use  sigmask(3)  to
24       create and inspect these masks.
25

RETURN VALUE

27       sgetmask()  always  successfully  returns  the signal mask.  ssetmask()
28       always succeeds, and returns the previous signal mask.
29

ERRORS

31       These system calls always succeed.
32

CONFORMING TO

34       These system calls are Linux-specific.
35

NOTES

37       Glibc does not provide wrappers for these system calls; use syscall(2).
38
39       These system calls are unaware of signal numbers greater than 31 (i.e.,
40       real-time signals).
41
42       It is not possible to block SIGSTOP or SIGKILL.
43

SEE ALSO

45       sigprocmask(2), signal(7)
46

COLOPHON

48       This  page  is  part of release 3.25 of the Linux man-pages project.  A
49       description of the project, and information about reporting  bugs,  can
50       be found at http://www.kernel.org/doc/man-pages/.
51
52
53
54Linux                             2007-07-05                       SGETMASK(2)
Impressum