kernel_types.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef _BITS_KERNEL_TYPES_H
  2. #define _BITS_KERNEL_TYPES_H
  3. /* Sigh. We need to carefully wrap this one... No guarantees
  4. * that the asm/posix_types.h kernel header is working. Many
  5. * arches have broken headers that introduce tons of gratuitous
  6. * conflicts with uClibc's namespace. See bits/kernel_types.h
  7. * for i386, arm, etc for examples... */
  8. typedef unsigned short __kernel_dev_t;
  9. typedef unsigned long __kernel_ino_t;
  10. typedef unsigned short __kernel_mode_t;
  11. typedef unsigned short __kernel_nlink_t;
  12. typedef long __kernel_off_t;
  13. typedef int __kernel_pid_t;
  14. typedef unsigned short __kernel_ipc_pid_t;
  15. typedef unsigned short __kernel_uid_t;
  16. typedef unsigned short __kernel_gid_t;
  17. typedef unsigned int __kernel_size_t;
  18. typedef int __kernel_ssize_t;
  19. typedef int __kernel_ptrdiff_t;
  20. typedef long __kernel_time_t;
  21. typedef long __kernel_suseconds_t;
  22. typedef long __kernel_clock_t;
  23. typedef int __kernel_daddr_t;
  24. typedef char * __kernel_caddr_t;
  25. typedef unsigned short __kernel_uid16_t;
  26. typedef unsigned short __kernel_gid16_t;
  27. typedef unsigned int __kernel_uid32_t;
  28. typedef unsigned int __kernel_gid32_t;
  29. typedef unsigned short __kernel_old_uid_t;
  30. typedef unsigned short __kernel_old_gid_t;
  31. typedef long long __kernel_loff_t;
  32. typedef __kernel_dev_t __kernel_old_dev_t;
  33. typedef struct {
  34. #ifdef __USE_ALL
  35. int val[2];
  36. #else
  37. int __val[2];
  38. #endif
  39. } __kernel_fsid_t;
  40. #endif /* _BITS_KERNEL_TYPES_H */