Query: sigblock
OS: redhat
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SIGBLOCK(2) Linux Programmer's Manual SIGBLOCK(2)NAMEsigblock, siggetmask, sigsetmask, sigmask - manipulate the signal maskSYNOPSIS#include <signal.h> int sigblock(int mask); int siggetmask(void); int sigsetmask(int mask); int sigmask(int signum);DESCRIPTIONThis 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 corre- sponding 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 VALUEsiggetmask returns the current set of masked signals. sigsetmask and sigblock return the previous set of masked signals.NOTESPrototypes 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 TO4.4BSD. These function calls appeared in BSD 4.3 and are deprecated. Use the POSIX signal facilities for new programs.SEE ALSOkill(2), sigprocmask(2), signal(7) Linux 1.3 1995-08-31 SIGBLOCK(2)
Related Man Pages |
---|
sigblock(3ucb) - sunos |
sigpause(3ucb) - sunos |
sigsetmask(3ucb) - sunos |
sigmask(2) - freebsd |
sigblock(2) - freebsd |
Similar Topics in the Unix Linux Community |
---|
How to block or ignore signals from certain processes? |
What is the number of the masked code ee@ ? |
Convert variable blocked file |