SIGSETMASK
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
BSD 4.2
NAME
sigsetmask
- set current signal mask
SYNOPSIS
Fd #include <signal.h>
Ft int
Fn sigsetmask int mask
Fn sigmask signum
DESCRIPTION
Bf -symbolic
This interface is made obsoleted by:
Ef sigprocmask(2).
Fn Sigsetmask
sets the current signal mask
Signals are blocked from delivery if the
corresponding bit in
Fa mask
is a 1; the macro
Fn sigmask
is provided to construct the mask for a given
Fa signum .
The system
quietly disallows
SIGKILL
or
SIGSTOP
to be blocked.
RETURN VALUES
The previous set of masked signals is returned.
SEE ALSO
sigprocmask(2),
kill(2),
sigaction(2),
sigsuspend(2),
sigvec(3),
sigblock(2),
sigsetops(3)
HISTORY
The
Fn sigsetmask
function call appeared in
BSD 4.2
and has been deprecated.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- SEE ALSO
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 19:41:58 GMT, December 25, 2022