types.h 809 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _SYS_TYPES_H
  2. #define _SYS_TYPES_H
  3. typedef long blksize_t;
  4. typedef long dev_t;
  5. typedef unsigned long ino_t;
  6. typedef int gid_t;
  7. typedef int uid_t;
  8. typedef int mode_t;
  9. typedef unsigned long nlink_t;
  10. typedef long off_t;
  11. typedef int pid_t;
  12. typedef unsigned id_t;
  13. typedef long ssize_t;
  14. typedef long time_t;
  15. typedef unsigned int useconds_t;
  16. typedef int suseconds_t;
  17. typedef long clock_t;
  18. typedef int clockid_t;
  19. typedef void* timer_t;
  20. typedef unsigned long int blkcnt_t;
  21. typedef unsigned char u_char, uchar;
  22. typedef unsigned short u_short, ushort;
  23. typedef unsigned int u_int, uint;
  24. typedef unsigned long u_long, ulong;
  25. typedef long long quad_t;
  26. typedef unsigned long long u_quad_t;
  27. #ifdef __linux__
  28. #define _SC_PAGE_SIZE 30
  29. #endif
  30. #ifdef __redox__
  31. #define _SC_PAGE_SIZE 8
  32. #endif
  33. #endif /* _SYS_TYPES_H */