4.3BSD-Reno/share/man/cat3/sigaddset.0

Compare this file to the similar file:
Show the results in this format:




SIGSETOPS(3)		      1990		     SIGSETOPS(3)



NNAAMMEE
     sigsetops, sigemptyset, sigfillset, sigaddset, sigdelset,
     sigismember - manipulate signal masks

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssiiggnnaall..hh>>

     ssiiggeemmppttyysseett((sseett));;
     ssiiggsseett__tt **sseett;;

     ssiiggffiillllsseett((sseett));;
     ssiiggsseett__tt **sseett;;

     ssiiggaaddddsseett((sseett,, ssiiggnnoo));;
     ssiiggsseett__tt **sseett;;
     iinntt ssiiggnnoo;;

     ssiiggddeellsseett((sseett,, ssiiggnnoo));;
     ssiiggsseett__tt **sseett;;
     iinntt ssiiggnnoo;;

     ssiiggiissmmeemmbbeerr((sseett,, ssiiggnnoo));;
     ssiiggsseett__tt **sseett;;
     iinntt ssiiggnnoo;;


DDEESSCCRRIIPPTTIIOONN
     These functions manipulate signal mask stored in a _s_i_g_s_e_t__t.
     They are provided as macros, but actual functions are avail-
     able if their names are undefined (with #undef _n_a_m_e).

     The _s_i_g_e_m_p_t_y_s_e_t function initializes a signal set to be
     empty.  The _s_i_g_f_i_l_l_s_e_t function initializes a signal set to
     contain all of the known signals.	One of these routines
     must be used to initialize a signal set before its use by
     the other functions.

     The _s_i_g_a_d_d_s_e_t function adds a specified signal _s_i_g_n_o to a
     signal set.  The _s_i_g_d_e_l_s_e_t function deletes a specified sig-
     nal _s_i_g_n_o from a signal set.

     The _s_i_g_i_s_m_e_m_b_e_r function tests whether a specified signal
     _s_i_g_n_o is contained in a signal set.

RREETTUURRNN VVAALLUUEE
     The _s_i_g_i_s_m_e_m_b_e_r function returnes 1 if the signal is a
     member of the set, a 0 otherwise.	The other functions
     return 0 upon success.  A -1 return value indicates an error
     occurred and _e_r_r_n_o is set to indicated the reason.  The
     current implementation does not detect any errors.





Printed 7/27/90               July				1






SIGSETOPS(3)		      1990		     SIGSETOPS(3)



EERRRROORRSS
     These functions could fail if one of the following occurs:

     [EINVAL]	    _s_i_g_n_o has an invalid value.

SSTTAANNDDAARRDDSS
     These functions are defined by POSIX.1.

SSEEEE AALLSSOO
     kill(2), sigaction(2), sigsetops(2), sigsuspend(2)













































Printed 7/27/90               July				2