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

  man pages->NetBSD man pages -> sigblock (3)              



NAME    [Toc]    [Back]

     sigblock - block signals

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <signal.h>

     sigblock(int mask);


DESCRIPTION    [Toc]    [Back]

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

     sigblock() adds the signals specified in mask to the set of signals currently
 being 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.

     It is not possible to block SIGKILL or SIGSTOP; this restriction is
     silently imposed by the system.

RETURN VALUES    [Toc]    [Back]

     The previous set of masked signals is returned.

SEE ALSO    [Toc]    [Back]

     kill(2), sigaction(2), sigprocmask(2), sigsetmask(3), sigsetops(3)

HISTORY    [Toc]    [Back]

     The sigblock() function call appeared in 4.2BSD and has been deprecated.

BSD                              June 2, 1993                              BSD
[ Back ]
 Similar pages
Name OS Title
sigblock IRIX block signals from delivery to process (4.3BSD)
rmvb Tru64 STREAMS: Removes a message block from a message block
ssignal IRIX software signals
sigpending FreeBSD get pending signals
sigpending NetBSD get pending signals
signal IRIX base signals
sigwait FreeBSD select a set of signals
sigpending OpenBSD get pending signals
signal HP-UX description of signals
signal Linux list of available signals
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service