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

  man pages->Linux man pages -> sigblock (2)              
Title
Content
Arch
Section
 

SIGBLOCK(2)

Contents


NAME    [Toc]    [Back]

       sigblock, siggetmask, sigsetmask, sigmask - manipulate the signal mask

SYNOPSIS    [Toc]    [Back]

       #include <signal.h>

       int sigblock(int mask);

       int siggetmask(void);

       int sigsetmask(int mask);

       int sigmask(int signum);

DESCRIPTION    [Toc]    [Back]

       This interface is made obsolete by sigprocmask(2).

       The  sigblock system call adds the signals specified in mask to the set
       of signals currently being blocked from delivery.

       The sigsetmask system call replaces the set of blocked signals  totally
       with  a	new  set specified in mask.  Signals are blocked if the corresponding
 bit in mask is a 1.

       The current set of blocked signals can be obtained using siggetmask.

       The sigmask macro is provided to construct the mask for a given signum.

RETURN VALUE    [Toc]    [Back]

       siggetmask returns the current set of masked signals.

       sigsetmask and sigblock return the previous set of masked signals.

NOTES    [Toc]    [Back]

       Prototypes  for	these  functions  are only available if _BSD_SOURCE is
       defined before the inclusion of any system header file.

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

CONFORMING TO    [Toc]    [Back]

       4.4BSD.	These  function  calls appeared in BSD 4.3 and are deprecated.
       Use the POSIX signal facilities for new programs.

SEE ALSO    [Toc]    [Back]

      
      
       kill(2), sigprocmask(2), signal(7)



Linux 1.3			  1995-08-31			   SIGBLOCK(2)
[ Back ]
 Similar pages
Name OS Title
sigprocmask FreeBSD manipulate current signal mask
sigsetmask FreeBSD manipulate current signal mask
sigblock FreeBSD manipulate current signal mask
sigmask FreeBSD manipulate current signal mask
sigprocmask OpenBSD manipulate current signal mask
sigprocmask NetBSD manipulate current signal mask
sigsetmask NetBSD set current signal mask
sigsetmask HP-UX set current signal mask
sigsetmask Tru64 Set the current signal mask
sigprocmask Tru64 Set the current signal mask
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service