home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / ixemul-39.47-env-bin.lha / man / cat3 / time.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. TIME(3)                    UNIX Programmer's Manual                    TIME(3)
  3.  
  4. NNAAMMEE
  5.      ttiimmee - get time of day
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssyyss//ttyyppeess..hh>>
  9.  
  10.      _t_i_m_e___t
  11.      ttiimmee(_t_i_m_e___t _*_t_l_o_c)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      The ttiimmee() function returns the value of time in seconds since 0 hours, 0
  15.      minutes, 0 seconds, January 1, 1970, Coordinated Universal Time.
  16.  
  17.      A copy of the time value may be saved to the area indicated by the point­
  18.      er _t_l_o_c. If _t_l_o_c is a NULL pointer, no value is stored.
  19.  
  20.      Upon successful completion, ttiimmee() returns the value of time.  Otherwise
  21.      a value of ((_t_i_m_e___t) -1) is returned and the global variable _e_r_r_n_o is set
  22.      to indicate the error.
  23.  
  24. EERRRROORRSS
  25.      The following error codes may be set in _e_r_r_n_o:
  26.  
  27.      [EFAULT]  An argument address referenced invalid memory.
  28.  
  29. SSEEEE AALLSSOO
  30.      gettimeofday(2),  ctime(3)
  31.  
  32. HHIISSTTOORRYY
  33.      A ttiimmee() function appeared in Version 6 AT&T UNIX.
  34.  
  35. 4th Berkeley Distribution        June 29, 1991                               1
  36.  
  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.