Copyright (c) 1983 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)sigsetmask.2 6.1 (Berkeley) 05/15/85

SIGSETMASK 2 ""
C 5
NAME
sigsetmask - set current signal mask
SYNOPSIS
 sigsetmask(mask);  int mask; 
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.

The system quietly disallows SIGKILL, SIGSTOP, or SIGCONT to be blocked.

"RETURN VALUE
The previous set of masked signals is returned.
"SEE ALSO"
kill(2), sigvec(2), sigblock(2), sigpause(2)