types.h 283 B

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