types.h 428 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 uint32_t ino_t;
  9. typedef int32_t off_t;
  10. typedef uint32_t dev_t;
  11. typedef unsigned uid_t;
  12. typedef unsigned gid_t;
  13. typedef unsigned mode_t;
  14. typedef unsigned long nlink_t;
  15. typedef uint64_t ino64_t;
  16. typedef int64_t off64_t;
  17. typedef off64_t loff_t;
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif