SIGSETMASK(2)
NAME
sigsetmask − set current signal mask
SYNOPSIS
long sigsetmask(mask);
long mask;
HP-UX COMPATIBILITY
Level: HP-UX/STANDARD
Origin: UCB
DESCRIPTION
Sigsetmask sets the current signal mask (those signals which are blocked from delivery). Signal i is blocked if the i-th bit in mask is a 1 (that is, if (mask & (1L << (i-1))) != 0 ).
It is not possible to mask those signals which cannot be ignored, as documented in signal(2); this restriction is silently imposed by the system.
Sigblock(2) can be used to add elements to the set of blocked signals.
RETURN VALUE
The previous set of masked signals is returned.
SEE ALSO
kill(2), sigvector(2), sigblock(2), sigpause(2)
Hewlett-Packard — last mod. May 11, 2021