home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c495 / watcm951.arj / H_SYS.WPK / TIMEB.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-16  |  684 b   |  29 lines

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