Commit | Line | Data |
---|---|---|
9b494949 KM |
1 | .\" Copyright (c) 1983 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
eff6446c | 5 | .\" @(#)sigsetmask.2 6.2 (Berkeley) %G% |
9b494949 | 6 | .\" |
283141e3 | 7 | .TH SIGSETMASK 2 "" |
9b494949 KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | sigsetmask \- set current signal mask | |
11 | .SH SYNOPSIS | |
12 | .nf | |
13 | .B sigsetmask(mask); | |
14 | .B int mask; | |
15 | .SH DESCRIPTION | |
16 | .I Sigsetmask | |
17 | sets the current signal mask (those signals | |
eff6446c | 18 | that are blocked from delivery). Signal |
9b494949 KM |
19 | .I i |
20 | is blocked if the | |
21 | .IR i -th | |
22 | bit in | |
23 | .I mask | |
24 | is a 1. | |
25 | .PP | |
26 | The system | |
27 | quietly disallows SIGKILL, SIGSTOP, or SIGCONT to | |
28 | be blocked. | |
29 | .SH "RETURN VALUE | |
30 | The previous set of masked signals is returned. | |
31 | .SH "SEE ALSO" | |
32 | kill(2), sigvec(2), sigblock(2), sigpause(2) |