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

  1.  
  2. UALARM(3)                  UNIX Programmer's Manual                  UALARM(3)
  3.  
  4. NNAAMMEE
  5.      uuaallaarrmm - schedule signal after specified time
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<uunniissttdd..hh>>
  9.  
  10.      _u___i_n_t
  11.      uuaallaarrmm(_u___i_n_t _m_i_c_r_o_s_e_c_o_n_d_s, _u___i_n_t _i_n_t_e_r_v_a_l)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      TThhiiss iiss aa ssiimmpplliiffiieedd iinntteerrffaaccee ttoo sseettiittiimmeerr((22))..
  15.  
  16.      The uuaallaarrmm() function waits a count of _m_i_c_r_o_s_e_c_o_n_d_s before asserting the
  17.      terminating signal SIGALRM. System activity or time used in processing
  18.      the call may cause a slight delay.
  19.  
  20.      If the _i_n_t_e_r_v_a_l argument is non­zero, the SIGALRM signal will be sent to
  21.      the process every _i_n_t_e_r_v_a_l microseconds after the timer expires (e.g. af­
  22.      ter _v_a_l_u_e microseconds have passed).
  23.  
  24. RREETTUURRNN VVAALLUUEESS
  25.      When the signal has successfully been caught, aallaarrmm() returns the amount
  26.      of time left on the clock.  The maximum mumber of _m_i_c_r_o_s_e_c_o_n_d_s allowed is
  27.      2147483647.
  28.  
  29. SSEEEE AALLSSOO
  30.      getitimer(2),  setitimer(2),  sigpause(2),  sigvec(2),  signal(3),
  31.      sleep(3),  alarm(3),  usleep(3)
  32.  
  33. HHIISSTTOORRYY
  34.      The uuaallaarrmm() function appeared in 4.3BSD.
  35.  
  36. 4.3 Berkeley Distribution       April 19, 1991                               1
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.