update for VAX
[unix-history] / usr / src / lib / libc / compat-43 / sigsetmask.2
CommitLineData
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
10sigsetmask \- set current signal mask
11.SH SYNOPSIS
12.nf
13.B sigsetmask(mask);
14.B int mask;
15.SH DESCRIPTION
16.I Sigsetmask
17sets the current signal mask (those signals
eff6446c 18that are blocked from delivery). Signal
9b494949
KM
19.I i
20is blocked if the
21.IR i -th
22bit in
23.I mask
24is a 1.
25.PP
26The system
27quietly disallows SIGKILL, SIGSTOP, or SIGCONT to
28be blocked.
29.SH "RETURN VALUE
30The previous set of masked signals is returned.
31.SH "SEE ALSO"
32kill(2), sigvec(2), sigblock(2), sigpause(2)