types.h 614 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #ifdef __linux__
  22. #define _SC_PAGE_SIZE 30
  23. #endif
  24. #ifdef __redox__
  25. #define _SC_PAGE_SIZE 8
  26. #endif
  27. #endif /* _SYS_TYPES_H */