home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c500 / 1.ddi / H_SYS.WPK / TIMEB.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-28  |  608 b   |  23 lines

  1. /*
  2.  *  sys/timeb.h     timeb structure used with ftime()
  3.  *
  4.  *  Copyright (C) by WATCOM Systems Inc. 1988-1992.  All rights reserved.
  5.  */
  6. #ifndef __TIMEB_H_INCLUDED
  7. #ifndef _TIME_T_DEFINED_
  8.  #define _TIME_T_DEFINED_
  9.  typedef unsigned long time_t;     /* time value */
  10. #endif
  11.  
  12. struct timeb {
  13.     time_t        time;        /* seconds since Jan 1, 1970 UTC */
  14.     unsigned short     millitm;    /* milliseconds */
  15.     short        timezone;    /* difference in minutes from UTC */
  16.     short        dstflag;    /* nonzero if daylight savings time */
  17. };
  18.  
  19. void ftime( struct timeb *__timeptr );
  20.  
  21. #define __TIMEB_H_INCLUDED
  22. #endif
  23.