home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
gnu
/
man
/
cat2
/
sigblock.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
SIGBLOCK(2) UNIX Programmer's Manual SIGBLOCK(2)
NNAAMMEE
ssiiggbblloocckk - block signals
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssyyss//ssiiggnnaall..hh>>
_i_n_t
ssiiggbblloocckk(_i_n_t _m_a_s_k)
_i_n_t
ssiiggmmaasskk(_s_i_g_n_u_m)
DDEESSCCRRIIPPTTIIOONN
TThhiiss iinntteerrffaaccee iiss mmaaddee oobbssoolleettee bbyy:: sigprocmask(2).
SSiiggbblloocckk() adds the signals specified in _m_a_s_k to the set of signals cur
rently being blocked from delivery. Signals are blocked if the corre
sponding bit in _m_a_s_k is a 1; the macro ssiiggmmaasskk() is provided to construct
the mask for a given _s_i_g_n_u_m.
It is not possible to block SIGKILL or SIGSTOP; this restriction is
silently imposed by the system.
RREETTUURRNN VVAALLUUEESS
The previous set of masked signals is returned.
SSEEEE AALLSSOO
kill(2), sigprocmask(2), sigaction(2), sigsetmask(2), sigsetops(3)
HHIISSTTOORRYY
The ssiiggbblloocckk function call appeared in 4.2BSD and has been deprecated.
4.2 Berkeley Distribution March 10, 1991 1