Manual pages › BSD C library (3B)
sigsetmask(3B)
set current signal mask
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
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), sig- nal(2) in the Programmer's Reference Manual.