home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat3 / sigsetops.0 < prev    next >
Text File  |  1993-12-07  |  3KB  |  67 lines

  1.  
  2. SIGSETOPS(3)               UNIX Programmer's Manual               SIGSETOPS(3)
  3.  
  4. NNAAMMEE
  5.      ssiiggsseettooppss, ssiiggeemmppttyysseett, ssiiggffiillllsseett, ssiiggaaddddsseett, ssiiggddeellsseett, ssiiggiissmmeemmbbeerr -
  6.      manipulate signal masks
  7.  
  8. SSYYNNOOPPSSIISS
  9.      ##iinncclluuddee <<ssiiggnnaall..hh>>
  10.  
  11.      ssiiggeemmppttyysseett(_s_i_g_s_e_t___t _*_s_e_t)
  12.  
  13.      ssiiggffiillllsseett(_s_i_g_s_e_t___t _*_s_e_t)
  14.  
  15.      ssiiggaaddddsseett(_s_i_g_s_e_t___t _*_s_e_t, _i_n_t _s_i_g_n_o)
  16.  
  17.      ssiiggddeellsseett(_s_i_g_s_e_t___t _*_s_e_t, _i_n_t _s_i_g_n_o)
  18.  
  19.      ssiiggiissmmeemmbbeerr(_s_i_g_s_e_t___t _*_s_e_t, _i_n_t _s_i_g_n_o)
  20.  
  21. DDEESSCCRRIIPPTTIIOONN
  22.      These functions manipulate signal mask stored in a _s_i_g_s_e_t___t. They are
  23.      provided as macros, but actual functions are available if their names are
  24.      undefined (with #undef _n_a_m_e).
  25.  
  26.      The ssiiggeemmppttyysseett() function initializes a signal set to be empty.  The
  27.      ssiiggffiillllsseett() function initializes a signal set to contain all of the
  28.      known signals.  One of these routines must be used to initialize a signal
  29.      set before its use by the other functions.
  30.  
  31.      The ssiiggaaddddsseett() function adds a specified signal _s_i_g_n_o to a signal set.
  32.      The ssiiggddeellsseett() function deletes a specified signal _s_i_g_n_o from a signal
  33.      set.
  34.  
  35.      The ssiiggiissmmeemmbbeerr() function tests whether a specified signal _s_i_g_n_o is con­
  36.      tained in a signal set.
  37.  
  38. RREETTUURRNN VVAALLUUEESS
  39.      The ssiiggiissmmeemmbbeerr() function returnes 1 if the signal is a member of the
  40.      set, a 0 otherwise.  The other functions return 0 upon success.  A -1 re­
  41.      turn value indicates an error occurred and the global variable _e_r_r_n_o is
  42.      set to indicated the reason.  The current implementation does not detect
  43.      any errors.
  44.  
  45. EERRRROORRSS
  46.      These functions could fail if one of the following occurs:
  47.  
  48.      [EINVAL]  _s_i_g_n_o has an invalid value.
  49.  
  50. SSEEEE AALLSSOO
  51.      kill(2),  sigaction(2),  sigsetops(2),  sigsuspend(2)
  52.  
  53. SSTTAANNDDAARRDDSS
  54.      The These functions are defined by IEEE Std1003.1­1988 (``POSIX'').
  55.  
  56. HHIISSTTOORRYY
  57.      These functions are currently under development.
  58.  
  59. BSD Experimental                April 19, 1991                               1
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.