DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
(BSD System Compatibility)

sigsetmask(3bsd)


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)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004