types.h 308 B

12345678910111213141516171819202122
  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 uint16_t mode_t;
  12. #define INVALID_DEVICE (~(dev_t)0)
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif