sigsetmask(3bsd) (BSD System Compatibility)


sigsetmask -- (BSD) set current signal mask

Synopsis

   /usr/ucb/cc [flag . . . ] file . . . 
   

#include <signal.h>

sigsetmask(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 values

The previous set of masked signals is returned.

References

kill(2), sigblock(3bsd), signal(2), signal(3bsd), sigpause(3bsd), sigvec(3bsd)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.