home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c081_11 / 2.ddi / INCLUDE.ZIP / TIMEB.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-13  |  684 b   |  47 lines

  1. /*  timeb.h
  2.  
  3.     Struct and function declarations for ftime().
  4.  
  5.         Copyright (c) Borland International 1987,1988,1990,1991
  6.     All Rights Reserved.
  7. */
  8.  
  9. #if !defined( __TIMEB_H )
  10. #define __TIMEB_H
  11.  
  12. #ifdef __DLL__
  13. #define _FAR far
  14. #else
  15. #define _FAR
  16. #endif
  17.  
  18. #if __STDC__
  19. #define _Cdecl
  20. #else
  21. #define _Cdecl cdecl
  22. #endif
  23.  
  24. #ifndef __PAS__
  25. #define _CType _Cdecl
  26. #else
  27. #define _CType pascal
  28. #endif
  29.  
  30. struct timeb {
  31.       long  time;
  32.       short millitm;
  33.       short timezone;
  34.       short dstflag;
  35.       };
  36.  
  37. #ifdef __cplusplus
  38. extern "C" {
  39. #endif
  40. void _Cdecl ftime(struct timeb _FAR *);
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44.  
  45. #endif  /* __TIMEB_H */
  46.  
  47.