*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> sigsetmask (2)              



NAME    [Toc]    [Back]

     sigsetmask, sigblock -- manipulate current signal mask

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <signal.h>

     sigsetmask(int mask);

     sigblock(int mask);

     sigmask(int signum);

DESCRIPTION    [Toc]    [Back]

     This interface is made obsolete by: sigprocmask(2).

     The sigsetmask() function sets the current signal mask to the specified
     mask.  Signals are blocked from delivery if the corresponding bit in mask
     is a 1.  The sigblock() function adds the signals in the specified mask
     to the current signal mask, rather than overwriting it as sigsetmask()
     does.  The macro sigmask() is provided to construct the mask for a given

     The system quietly disallows SIGKILL or SIGSTOP to be blocked.

RETURN VALUES    [Toc]    [Back]

     The sigblock() and sigsetmask() functions return the previous set of
     masked signals.

SEE ALSO    [Toc]    [Back]

     kill(2), sigaction(2), sigprocmask(2), sigsuspend(2), sigvec(2),

HISTORY    [Toc]    [Back]

     The sigsetmask() and sigblock() functions first appeared in 4.2BSD and
     have been deprecated.

FreeBSD 5.2.1			 June 2, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
sigblock Linux manipulate the signal mask
sigsetmask NetBSD set current signal mask
sigsetmask HP-UX set current signal mask
sigprocmask Tru64 Set the current signal mask
sigsetmask Tru64 Set the current signal mask
sigsetmask OpenBSD set current signal mask
sigsetmask IRIX set current signal mask (4.3BSD)
pthread_sigmask Tru64 Examine or change the current thread's signal mask
pthread_sigmask OpenBSD examine and/or change a thread's signal mask
pthread_sigmask FreeBSD examine and/or change a thread's signal mask
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service