Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for sigsetmask (redhat section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

SIGBLOCK(2)			    Linux Programmer's Manual			      SIGBLOCK(2)

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

       #include <signal.h>

       int sigblock(int mask);

       int siggetmask(void);

       int sigsetmask(int mask);

       int sigmask(int signum);

       This interface is made obsolete by sigprocmask(2).

       The  sigblock  system  call  adds the signals specified in mask to the set of signals cur-
       rently 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.

       siggetmask returns the current set of masked signals.

       sigsetmask and sigblock return the previous set of masked signals.

       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.

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

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

Linux 1.3				    1995-08-31				      SIGBLOCK(2)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 08:40 PM.