types.h 448 B

12345678910111213141516171819202122232425262728
  1. #ifndef __GBLIBC_SYS_TYPES_H
  2. #define __GBLIBC_SYS_TYPES_H
  3. #include <stdint.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. typedef int pid_t;
  8. typedef unsigned long ino_t;
  9. typedef long off_t;
  10. typedef unsigned dev_t;
  11. typedef unsigned uid_t;
  12. typedef unsigned gid_t;
  13. typedef unsigned short mode_t;
  14. typedef unsigned long nlink_t;
  15. typedef unsigned long long ino64_t;
  16. typedef long long off64_t;
  17. typedef off64_t loff_t;
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif