home *** CD-ROM | disk | FTP | other *** search
-
- SIGSETOPS(3) UNIX Programmer's Manual SIGSETOPS(3)
-
- NNAAMMEE
- ssiiggsseettooppss, ssiiggeemmppttyysseett, ssiiggffiillllsseett, ssiiggaaddddsseett, ssiiggddeellsseett, ssiiggiissmmeemmbbeerr -
- manipulate signal masks
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssiiggnnaall..hh>>
-
- 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 mask stored in a _s_i_g_s_e_t___t. They are
- provided as macros, but actual functions are available if their names are
- undefined (with #undef _n_a_m_e).
-
- The ssiiggeemmppttyysseett() function initializes a signal set to be empty. The
- ssiiggffiillllsseett() 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 ssiiggaaddddsseett() function adds a specified signal _s_i_g_n_o to a signal set.
- The ssiiggddeellsseett() function deletes a specified signal _s_i_g_n_o from a signal
- set.
-
- The ssiiggiissmmeemmbbeerr() function tests whether a specified signal _s_i_g_n_o is con
- tained in a signal set.
-
- RREETTUURRNN VVAALLUUEESS
- The ssiiggiissmmeemmbbeerr() function returnes 1 if the signal is a member of the
- set, a 0 otherwise. The other functions return 0 upon success. A -1 re
- turn value indicates an error occurred and the global variable _e_r_r_n_o is
- set to indicated the reason. The current implementation does not detect
- any errors.
-
- EERRRROORRSS
- These functions could fail if one of the following occurs:
-
- [EINVAL] _s_i_g_n_o has an invalid value.
-
- SSEEEE AALLSSOO
- kill(2), sigaction(2), sigsetops(2), sigsuspend(2)
-
- SSTTAANNDDAARRDDSS
- The These functions are defined by IEEE Std1003.11988 (``POSIX'').
-
- HHIISSTTOORRYY
- These functions are currently under development.
-
- BSD Experimental April 19, 1991 1
-
-
-
-
-
-
-
-