alltypes.h.in 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. TYPEDEF unsigned _Addr size_t;
  2. TYPEDEF unsigned _Addr uintptr_t;
  3. TYPEDEF _Addr ptrdiff_t;
  4. TYPEDEF _Addr ssize_t;
  5. TYPEDEF _Addr intptr_t;
  6. TYPEDEF _Addr regoff_t;
  7. TYPEDEF _Reg register_t;
  8. TYPEDEF signed char int8_t;
  9. TYPEDEF signed short int16_t;
  10. TYPEDEF signed int int32_t;
  11. TYPEDEF signed _Int64 int64_t;
  12. TYPEDEF signed _Int64 intmax_t;
  13. TYPEDEF unsigned char uint8_t;
  14. TYPEDEF unsigned short uint16_t;
  15. TYPEDEF unsigned int uint32_t;
  16. TYPEDEF unsigned _Int64 uint64_t;
  17. TYPEDEF unsigned _Int64 u_int64_t;
  18. TYPEDEF unsigned _Int64 uintmax_t;
  19. TYPEDEF unsigned mode_t;
  20. TYPEDEF unsigned _Reg nlink_t;
  21. TYPEDEF _Int64 off_t;
  22. TYPEDEF unsigned _Int64 ino_t;
  23. TYPEDEF unsigned _Int64 dev_t;
  24. TYPEDEF long blksize_t;
  25. TYPEDEF _Int64 blkcnt_t;
  26. TYPEDEF unsigned _Int64 fsblkcnt_t;
  27. TYPEDEF unsigned _Int64 fsfilcnt_t;
  28. TYPEDEF unsigned wint_t;
  29. TYPEDEF unsigned long wctype_t;
  30. TYPEDEF void * timer_t;
  31. TYPEDEF int clockid_t;
  32. TYPEDEF long clock_t;
  33. STRUCT timeval { time_t tv_sec; suseconds_t tv_usec; };
  34. STRUCT timespec { time_t tv_sec; long tv_nsec; };
  35. TYPEDEF int pid_t;
  36. TYPEDEF unsigned id_t;
  37. TYPEDEF unsigned uid_t;
  38. TYPEDEF unsigned gid_t;
  39. TYPEDEF int key_t;
  40. TYPEDEF unsigned useconds_t;
  41. #ifdef __cplusplus
  42. TYPEDEF unsigned long pthread_t;
  43. #else
  44. TYPEDEF struct __pthread * pthread_t;
  45. #endif
  46. TYPEDEF int pthread_once_t;
  47. TYPEDEF unsigned pthread_key_t;
  48. TYPEDEF int pthread_spinlock_t;
  49. TYPEDEF struct { unsigned __attr; } pthread_mutexattr_t;
  50. TYPEDEF struct { unsigned __attr; } pthread_condattr_t;
  51. TYPEDEF struct { unsigned __attr; } pthread_barrierattr_t;
  52. TYPEDEF struct { unsigned __attr[2]; } pthread_rwlockattr_t;
  53. TYPEDEF struct _IO_FILE FILE;
  54. TYPEDEF struct __mbstate_t { unsigned __opaque1, __opaque2; } mbstate_t;
  55. TYPEDEF struct __locale_struct * locale_t;
  56. TYPEDEF struct __sigset_t { unsigned long __bits[128/sizeof(long)]; } sigset_t;
  57. STRUCT iovec { void *iov_base; size_t iov_len; };
  58. TYPEDEF unsigned socklen_t;
  59. TYPEDEF unsigned short sa_family_t;
  60. #undef _Addr
  61. #undef _Int64
  62. #undef _Reg