Digital UNIX Diffs - sigprocmask(5) Digital UNIX Diffs - sigprocmask(5)NAME
sigprocmask, sighold, sigrelse, sigblock, sigsetmask - Set the current
signal mask
SYNOPSIS
#include <signal.h> int sigprocmask(
int how,
sigset_t *set,
sigset_t *o_set); int sighold (
int signal); int sigrelse (
int signal);
int sigblock (
int signal_mask);
int sigsetmask (
int signal_mask);
PARAMETERS
Indicates the manner in which the set of masked signals is changed.
Specifies the signal set. Specifies the signal set in which to save
the signal mask in effect at the time of the call. Specifies the sig‐
nal number. Specifies a set of signals.
DIFFERENCESsignal-mech(5): System V vs BSD Signal Handling Differences
There are two groups of process-level signal mask manipulation func‐
tions; one group with a System V base and another with a BSD base. The
signal mask manipulation functions sighold(2) and sigrelse(3) origi‐
nated in System V while sigblock(2) and sigsetmask(2) originated from
BSD.
Although Digital UNIX provides libraries that include both BSD or Sys‐
tem V functions, it is suggested that code written to set or modify
process signal masks use the POSIX standard function sigprocmask(2).
RELATED INFORMATION
Functions: sigaction(2), sigprocmask(2), sigset(3), sighold(2),
sigrelse(3), sigblock(2), sigsetmask(2)CATEGORY INDEXsignal-mech(5)
delim off
Digital UNIX Diffs - sigprocmask(5)