.\" Copyright (c) 1983 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)sigblock.2 6.6 (Berkeley) %G%
sigblock \- block signals
.B mask = sigmask(signum)
.B "This interface is made obsolete by sigprocmask(2).
causes the signals specified in
to be added to the set of signals currently
being blocked from delivery.
Signals are blocked if the
is provided to construct the mask for a given
It is not possible to block SIGKILL
or SIGSTOP; this restriction is silently
The previous set of masked signals is returned.
kill(2), sigprocmask(2), sigaction(2), sigsetmask(2), sigsetops(3)