timeb.h 280 B

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