Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #ifndef __dj_include_sys_timeb_h_
  3. #define __dj_include_sys_timeb_h_
  4.  
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8.  
  9. #ifndef __dj_ENFORCE_ANSI_FREESTANDING
  10.  
  11. #ifndef __STRICT_ANSI__
  12.  
  13. #ifndef _POSIX_SOURCE
  14.  
  15. #include <sys/djtypes.h>
  16.  
  17. __DJ_time_t
  18. #undef __DJ_time_t
  19. #define __DJ_time_t
  20.  
  21. struct timeb
  22. {
  23.     time_t              time;           /* Seconds since the epoch      */
  24.     unsigned short      millitm;
  25.     short               timezone;
  26.     short               dstflag;
  27. };
  28.  
  29. extern int      ftime(struct timeb *);
  30.  
  31. #endif /* !_POSIX_SOURCE */
  32. #endif /* !__STRICT_ANSI__ */
  33. #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
  34.  
  35. #ifndef __dj_ENFORCE_FUNCTION_CALLS
  36. #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
  37.  
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41.  
  42. #endif /* !__dj_include_sys_timeb_h_ */
  43.