Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
sigmask(2)
Edit
PageHistory
Diff
Info
LikePages
SIGBLOCK !!!SIGBLOCK NAME SYNOPSIS DESCRIPTION RETURN VALUE NOTES CONFORMING TO SEE ALSO ---- !!NAME sigblock, siggetmask, sigsetmask, sigmask - manipulate the signal mask !!SYNOPSIS __#include __ __int sigblock(int__ ''mask''__);__ __int siggetmask(void);__ __int sigsetmask(int__ ''mask''__);__ __int sigmask(int__ ''signum''__);__ !!DESCRIPTION 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 __siggetmask__ returns the current set of masked signals. __sigsetmask__ and __sigblock__ return the previous set of masked signals. !!NOTES 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 4.4BSD. These function calls appeared in BSD 4.3 and are deprecated. Use the POSIX signal facilities for new programs. !!SEE ALSO kill(2), sigprocmask(2), signal(7) ----
One page links to
sigmask(2)
:
Man2s
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.