sigblock
Hurricane Electric Internet Services
NAME
sigblock, siggetmask, sigsetmask, sigmask - manipulate the
signal mask
SYNOPSIS
#include <signal.h>
int sigblock(int mask);
int siggetmask(void);
int sigsetmask(int mask);
int sigmask(signum);
DESCRIPTION
This interface is made obsolete by: sigprocmask(2).
Sigblock() adds the signals specified in mask to the set
of signals currently being blocked from delivery.
sigsetmask() replaces the set of blocked signals totally
with a new set specified in mask.
Signals are blocked if the corresponding bit in mask is a
1; the macro sigmask is provided to construct the mask for
a given signum.
It is not possible to block SIGKILL or SIGSTOP; this
restriction is silently imposed by the system.
The current set of blocked signals can be obtained using
siggetmask().
RETURN VALUES
Siggetmask() returns the current set of masked signals.
Sigsetmask() and sigblock() return the previous set of
masked signals.
HISTORY
These function calls appeared in BSD 4.3 and have been
deprecated.
SEE ALSO
kill(2), sigprocmask(2), siggetops(3)
Hurricane Electric Internet Services
Copyright (C) 1998
Hurricane Electric.
All Rights Reserved.