timeb.h 356 B

12345678910111213141516171819202122232425262728
  1. #ifndef _SYS_TIMEB_H
  2. #define _SYS_TIMEB_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include <features.h>
  7. #define __NEED_time_t
  8. #include <bits/alltypes.h>
  9. struct timeb {
  10. time_t time;
  11. unsigned short millitm;
  12. short timezone, dstflag;
  13. };
  14. int ftime(struct timeb *);
  15. #if _REDIR_TIME64
  16. __REDIR(ftime, __ftime64);
  17. #endif
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif