X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/1c15e88899094343f75aeba04122cd96a96b428e..be8ee4f021b43684944d8fe26d3d979714531f2b:/usr/share/man/cat3/sigaddset.0 diff --git a/usr/share/man/cat3/sigaddset.0 b/usr/share/man/cat3/sigaddset.0 index 087f85523b..ed9483c78d 100644 --- a/usr/share/man/cat3/sigaddset.0 +++ b/usr/share/man/cat3/sigaddset.0 @@ -1,132 +1,56 @@ - - - -SIGSETOPS(3) 1990 SIGSETOPS(3) - - +SIGSETOPS(3) BSD Programmer's Manual SIGSETOPS(3) NNAAMMEE - sigsetops, sigemptyset, sigfillset, sigaddset, sigdelset, - sigismember - manipulate signal masks + ssiiggeemmppttyysseett, ssiiggffiillllsseett, ssiiggaaddddsseett, ssiiggddeellsseett, ssiiggiissmmeemmbbeerr - manipulate + signal sets SSYYNNOOPPSSIISS ##iinncclluuddee <> - ssiiggeemmppttyysseett((sseett));; - ssiiggsseett__tt **sseett;; + ssiiggeemmppttyysseett(_s_i_g_s_e_t___t _*_s_e_t); - ssiiggffiillllsseett((sseett));; - ssiiggsseett__tt **sseett;; + ssiiggffiillllsseett(_s_i_g_s_e_t___t _*_s_e_t); - ssiiggaaddddsseett((sseett,, ssiiggnnoo));; - ssiiggsseett__tt **sseett;; - iinntt ssiiggnnoo;; + ssiiggaaddddsseett(_s_i_g_s_e_t___t _*_s_e_t, _i_n_t _s_i_g_n_o); - ssiiggddeellsseett((sseett,, ssiiggnnoo));; - ssiiggsseett__tt **sseett;; - iinntt ssiiggnnoo;; - - ssiiggiissmmeemmbbeerr((sseett,, ssiiggnnoo));; - ssiiggsseett__tt **sseett;; - iinntt ssiiggnnoo;; + 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 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. + 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. -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. + 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. -Printed 7/27/90 July 1 - - - - - - -SIGSETOPS(3) 1990 SIGSETOPS(3) - + 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 - 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. + Currently no errors are detected. SSEEEE AALLSSOO - kill(2), sigaction(2), sigsetops(2), sigsuspend(2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Printed 7/27/90 July 2 - + kill(2), sigaction(2), sigsuspend(2) +SSTTAANNDDAARRDDSS + These functions are defined by IEEE Std1003.1-1988 (``POSIX''). +4.4BSD June 4, 1993 1