SIGSETOPS(3) UNIX Programmer's Manual SIGSETOPS(3) NAME sigemptyset, sigfillset, sigaddset, sigdelset, sigismember - manipulate signal sets SYNOPSIS #include sigemptyset(set) _s_i_g_s_e_t__t *_s_e_t; sigfillset(set) _s_i_g_s_e_t__t *_s_e_t; sigaddset(set, signo) _s_i_g_s_e_t__t *_s_e_t; _i_n_t _s_i_g_n_o; sigdelset(set, signo) _s_i_g_s_e_t__t *_s_e_t; _i_n_t _s_i_g_n_o; sigismember(set, signo) _s_i_g_s_e_t__t *_s_e_t; _i_n_t _s_i_g_n_o; DESCRIPTION These functions manipulate signal sets stored in a _s_i_g_s_e_t__t . Either sigemptyset or sigfillset must be called for every object of type _s_i_g_s_e_t__t before any other use of the object. The sigemptyset function initializes a signal set to be empty. The sigfillset function initializes a signal set to contain all signals. The sigaddset function adds the specified signal _s_i_g_n_o to the signal set. The sigdelset function deletes the specified signal _s_i_g_n_o from the signal set. The sigismember 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 <_s_i_g_n_a_l._h>. Actual functions are available if their names are undefined (with #undef name). RETURN VALUES The sigismember function returns 1 if the signal is a member of the set, 0 otherwise. The other functions return 0. Printed 11/26/99 September 3, 1997 1 SIGSETOPS(3) UNIX Programmer's Manual SIGSETOPS(3) ERRORS Currently no errors are detected. SEE ALSO kill(2), sigaction(2), sigsuspend(2) STANDARDS These functions are defined by IEEE Std1003.1-1988 (``POSIX''). Printed 11/26/99 September 3, 1997 2