home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c040 / 6.ddi / INCLUDE / SYS / TIMEB.H$ / TIMEB.bin
Encoding:
Text File  |  1989-09-27  |  827 b   |  43 lines

  1. /***
  2. *sys\timeb.h - definition/declarations for ftime()
  3. *
  4. *    Copyright (c) 1985-1990, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *    This file define the ftime() function and the types it uses.
  8. *    [System V]
  9. *
  10. *******************************************************************************/
  11.  
  12. #if defined(_DLL) && !defined(_MT)
  13. #error Cannot define _DLL without _MT
  14. #endif
  15.  
  16. #ifdef _MT
  17. #define _FAR_ _far
  18. #else
  19. #define _FAR_
  20. #endif
  21.  
  22. #ifndef _TIME_T_DEFINED
  23. typedef long time_t;
  24. #define _TIME_T_DEFINED
  25. #endif
  26.  
  27. /* structure returned by ftime system call */
  28.  
  29. #ifndef _TIMEB_DEFINED
  30. struct timeb {
  31.     time_t time;
  32.     unsigned short millitm;
  33.     short timezone;
  34.     short dstflag;
  35.     };
  36. #define _TIMEB_DEFINED
  37. #endif
  38.  
  39.  
  40. /* function prototypes */
  41.  
  42. void _FAR_ _cdecl ftime(struct timeb _FAR_ *);
  43.