SIGSETOPS(3) BSD Programmer's Manual SIGSETOPS(3) NNAAMMEE ssiiggeemmppttyysseett, ssiiggffiillllsseett, ssiiggaaddddsseett, ssiiggddeellsseett, ssiiggiissmmeemmbbeerr - manipulate signal sets SSYYNNOOPPSSIISS ##iinncclluuddee <> ssiiggeemmppttyysseett(_s_i_g_s_e_t___t _*_s_e_t); ssiiggffiillllsseett(_s_i_g_s_e_t___t _*_s_e_t); ssiiggaaddddsseett(_s_i_g_s_e_t___t _*_s_e_t, _i_n_t _s_i_g_n_o); ssiiggddeellsseett(_s_i_g_s_e_t___t _*_s_e_t, _i_n_t _s_i_g_n_o); ssiiggiissmmeemmbbeerr(_s_i_g_s_e_t___t _*_s_e_t, _i_n_t _s_i_g_n_o); DDEESSCCRRIIPPTTIIOONN These functions manipulate signal sets stored in a _s_i_g_s_e_t___t. Either ssiiggeemmppttyysseett() or ssiiggffiillllsseett() must be called for every object of type _s_i_g_s_e_t___t before any other use of the object. The ssiiggeemmppttyysseett() function initializes a signal set to be empty. The ssiiggffiillllsseett() function initializes a signal set to contain all sig- nals. The ssiiggaaddddsseett() function adds the specified signal _s_i_g_n_o to the signal set. The ssiiggddeellsseett() function deletes the specified signal _s_i_g_n_o from the sig- nal set. The ssiiggiissmmeemmbbeerr() function returns whether a specified signal _s_i_g_n_o is contained in the signal set. These functions are provided as macros in the include file . Actual functions are available if their names are undefined (with #undef _n_a_m_e). RREETTUURRNN VVAALLUUEESS The ssiiggiissmmeemmbbeerr() function returns 1 if the signal is a member of the set, 0 otherwise. The other functions return 0. EERRRROORRSS Currently no errors are detected. SSEEEE AALLSSOO kill(2), sigaction(2), sigsuspend(2) SSTTAANNDDAARRDDSS These functions are defined by IEEE Std1003.1-1988 (``POSIX''). 4.4BSD June 4, 1993 1