1SIGSETMASK(2) 386BSD Programmer's Manual SIGSETMASK(2) 2 3NNAAMMEE 4 ssiiggsseettmmaasskk - set current signal mask 5 6SSYYNNOOPPSSIISS 7 ##iinncclluuddee <<ssyyss//ssiiggnnaall..hh>> 8 9 _i_n_t 10 ssiiggsseettmmaasskk(_i_n_t _m_a_s_k) 11 12 ssiiggmmaasskk(_s_i_g_n_u_m) 13 14DDEESSCCRRIIPPTTIIOONN 15 TThhiiss iinntteerrffaaccee iiss mmaaddee oobbssoolleetteedd bbyy:: sigprocmask(2). 16 17 SSiiggsseettmmaasskk() sets the current signal mask Signals are blocked from 18 delivery if the corresponding bit in _m_a_s_k is a 1; the macro ssiiggmmaasskk() is 19 provided to construct the mask for a given _s_i_g_n_u_m. 20 21 The system quietly disallows SIGKILL or SIGSTOP to be blocked. 22 23RREETTUURRNN VVAALLUUEESS 24 The previous set of masked signals is returned. 25 26SSEEEE AALLSSOO 27 sigprocmask(2), kill(2), sigaction(2), sigsuspend(2), sigvec(2), 28 sigblock(2), sigsetops(3) 29 30HHIISSTTOORRYY 31 The ssiiggsseettmmaasskk function call appeared in 4.2BSD and has been deprecated. 32 334.2 Berkeley Distribution March 10, 1991 1 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67