types.h 829 B

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