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
13       Note: There are no glibc wrappers for these system calls; see NOTES.
14

DESCRIPTION

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

RETURN VALUE

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

ERRORS

33       These system calls always succeed.
34

CONFORMING TO

36       These system calls are Linux-specific.
37

NOTES

39       Glibc does not provide wrappers for these obsolete system calls; in the
40       unlikely event that you want to call them, use syscall(2).
41
42       These system calls are unaware of signal numbers greater than 31 (i.e.,
43       real-time signals).
44
45       It is not possible to block SIGSTOP or SIGKILL.
46

SEE ALSO

48       sigprocmask(2), signal(7)
49

COLOPHON

51       This page is part of release 3.53 of the Linux  man-pages  project.   A
52       description  of  the project, and information about reporting bugs, can
53       be found at http://www.kernel.org/doc/man-pages/.
54
55
56
57Linux                             2012-07-13                       SGETMASK(2)
Impressum