sigsetmask(3) (BSD Compatibility Package) sigsetmask(3)
NAME
sigsetmask - set current signal mask
SYNOPSIS
cc [ flag... ] file ... -lucb
#include <signal.h>
sigsetmask(mask);
int mask;
#define sigmask(signum)
DESCRIPTION
sigsetmask sets the current signal mask (those signals that are
blocked from delivery). 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.
The system quietly disallows SIGKILL, SIGSTOP, or SIGCONT from being
blocked.
RETURN VALUE
The previous set of masked signals is returned.
SEE ALSO
sigblock(3), sigpause(3), sigvec(3), signal(3)
kill(2), signal(2) in the Programmer's Reference Manual.
7/91 Page 1