alltypes.h 403 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __GBLIBC_BITS_ALLTYPES_H_
  2. #define __GBLIBC_BITS_ALLTYPES_H_
  3. #include <time.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. typedef size_t blksize_t;
  8. typedef size_t blkcnt_t;
  9. struct timespec {
  10. time_t tv_sec;
  11. size_t tv_nsec;
  12. };
  13. struct timeval {
  14. time_t tv_sec;
  15. size_t tv_usec;
  16. };
  17. struct timezone {
  18. int tz_minuteswest;
  19. int tz_dsttime;
  20. };
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif