types.h 475 B

12345678910111213141516171819202122
  1. /* Basic POSIX types for the ring-3 libc. */
  2. #ifndef LIBC_SYS_TYPES_H
  3. #define LIBC_SYS_TYPES_H
  4. #include <stddef.h>
  5. #include <stdint.h>
  6. typedef int ssize_t;
  7. typedef long off_t;
  8. typedef long long time_t;
  9. typedef int pid_t;
  10. typedef unsigned int uid_t;
  11. typedef unsigned int gid_t;
  12. typedef unsigned int mode_t;
  13. typedef unsigned int dev_t;
  14. typedef unsigned int ino_t;
  15. typedef unsigned int nlink_t;
  16. typedef long blksize_t;
  17. typedef long blkcnt_t;
  18. typedef long suseconds_t;
  19. #endif