home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 5.ddi / MWHC.005 / X1 < prev    next >
Encoding:
Text File  |  1992-01-07  |  638 b   |  40 lines

  1. /*
  2.  *   timeb.h -- non-ANSI
  3.  *
  4.  *   Definitions needed by the ftime function.
  5.  *
  6.  *           Copyright (c) 1990, MetaWare Incorporated
  7.  */
  8.  
  9. #ifndef _TIMEB_H
  10. #define _TIMEB_H
  11.  
  12. #ifndef _TIME_T_DEFINED
  13. #define _TIME_T_DEFINED
  14. typedef long time_t;
  15. #endif
  16.  
  17. #ifndef _TIMEB_DEFINED_
  18. #define _TIMEB_DEFINED_
  19. #ifdef __HIGHC__
  20. #define _timeb timeb
  21. #endif
  22. struct _timeb {
  23.     time_t time;
  24.     unsigned short millitm;
  25.     short timezone;
  26.     short dstflag;
  27.     };
  28. #endif
  29.  
  30. extern void _ftime(struct _timeb * __tptr);
  31.  
  32. #ifdef __HIGHC__
  33.  
  34.  
  35. extern void ftime(struct timeb * __tptr);
  36.  
  37. #endif /* __HIGHC__ */
  38.  
  39. #endif /* _TIMEB_H */
  40.