2 .\" Copyright (c) 2007 by Michael Kerrisk <mtk.manpages@gmail.com>
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
24 .TH SGETMASK 2 2007-07-05 "Linux" "Linux Programmer's Manual"
26 sgetmask, ssetmask \- manipulation of signal mask (obsolete)
28 .B "long sgetmask(void);"
30 .BI "long ssetmask(long " newmask );
32 These system calls are obsolete.
33 .IR "Do not use them" ;
39 returns the signal mask of the calling process.
42 sets the signal mask of the calling process to the value given in
44 The previous signal mask is returned.
46 The signal masks dealt with by these two system calls
47 are plain bit masks (unlike the
53 to create and inspect these masks.
56 always successfully returns the signal mask.
58 always succeeds, and returns the previous signal mask.
60 These system calls always succeed.
62 These system calls are Linux-specific.
64 Glibc does not provide wrappers for these system calls; use
67 These system calls are unaware of signal numbers greater than 31
68 (i.e., real-time signals).
70 It is not possible to block