home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / unix / unixlib_1 / !UnixLib37_src_clib_sys_h_timeb < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-09  |  966 b   |  36 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /unixb/home/unixlib/source/unixlib37/src/clib/sys/h/RCS/timeb,v $
  4.  * $Date: 1996/10/30 22:02:46 $
  5.  * $Revision: 1.1 $
  6.  * $State: Rel $
  7.  * $Author: unixlib $
  8.  *
  9.  * $Log: timeb,v $
  10.  * Revision 1.1  1996/10/30 22:02:46  unixlib
  11.  * Initial revision
  12.  *
  13.  ***************************************************************************/
  14.  
  15. #ifndef __SYS_TIMEB_H
  16. #define __SYS_TIMEB_H 1
  17.  
  18. #ifndef __TIME_H
  19. #include <time.h>
  20. #endif
  21.  
  22. /* Structure returned by the `ftime' function.  */
  23.  
  24. struct timeb
  25.   {
  26.     time_t time;        /* Seconds since epoch, as from `time'.  */
  27.     unsigned short int millitm;    /* Additional milliseconds.  */
  28.     short int timezone;        /* Minutes west of GMT.  */
  29.     short int dstflag;        /* Nonzero if Daylight Savings Time used.  */
  30.   };
  31.  
  32. /* Fill in TIMEBUF with information about the current time.  */
  33. extern int ftime (struct timeb *timebuf);
  34.  
  35. #endif    /* sys/timeb.h */
  36.