Author: Not specified Language: text
Description: Not specified Timestamp: 2018-04-15 15:21:04 +0000
View raw paste Reply
  1. pub const wchar_t = c_int;
  2. pub const div_t = extern struct {
  3.     quot: c_int,
  4.     rem: c_int,
  5. };
  6. pub const ldiv_t = extern struct {
  7.     quot: c_long,
  8.     rem: c_long,
  9. };
  10. pub const lldiv_t = extern struct {
  11.     quot: c_longlong,
  12.     rem: c_longlong,
  13. };
  14. pub extern fn __ctype_get_mb_cur_max() usize;
  15. pub extern fn atof(__nptr: ?&const u8) f64;
  16. pub extern fn atoi(__nptr: ?&const u8) c_int;
  17. pub extern fn atol(__nptr: ?&const u8) c_long;
  18. pub extern fn atoll(__nptr: ?&const u8) c_longlong;
  19. pub extern fn strtod(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8)) f64;
  20. pub extern fn strtof(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8)) f32;
  21. pub extern fn strtold(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8)) c_longdouble;
  22. pub extern fn strtol(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8), __base: c_int) c_long;
  23. pub extern fn strtoul(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8), __base: c_int) c_ulong;
  24. pub extern fn strtoq(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8), __base: c_int) c_longlong;
  25. pub extern fn strtouq(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8), __base: c_int) c_ulonglong;
  26. pub extern fn strtoll(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8), __base: c_int) c_longlong;
  27. pub extern fn strtoull(noalias __nptr: ?&const u8, noalias __endptr: ?&(?&u8), __base: c_int) c_ulonglong;
  28. pub extern fn l64a(__n: c_long) ?&u8;
  29. pub extern fn a64l(__s: ?&const u8) c_long;
  30. pub const __u_char = u8;
  31. pub const __u_short = c_ushort;
  32. pub const __u_int = c_uint;
  33. pub const __u_long = c_ulong;
  34. pub const __int8_t = i8;
  35. pub const __uint8_t = u8;
  36. pub const __int16_t = c_short;
  37. pub const __uint16_t = c_ushort;
  38. pub const __int32_t = c_int;
  39. pub const __uint32_t = c_uint;
  40. pub const __int64_t = c_long;
  41. pub const __uint64_t = c_ulong;
  42. pub const __quad_t = c_long;
  43. pub const __u_quad_t = c_ulong;
  44. pub const __intmax_t = c_long;
  45. pub const __uintmax_t = c_ulong;
  46. pub const __dev_t = c_ulong;
  47. pub const __uid_t = c_uint;
  48. pub const __gid_t = c_uint;
  49. pub const __ino_t = c_ulong;
  50. pub const __ino64_t = c_ulong;
  51. pub const __mode_t = c_uint;
  52. pub const __nlink_t = c_ulong;
  53. pub const __off_t = c_long;
  54. pub const __off64_t = c_long;
  55. pub const __pid_t = c_int;
  56. pub const __fsid_t = extern struct {
  57.     __val: [2]c_int,
  58. };
  59. pub const __clock_t = c_long;
  60. pub const __rlim_t = c_ulong;
  61. pub const __rlim64_t = c_ulong;
  62. pub const __id_t = c_uint;
  63. pub const __time_t = c_long;
  64. pub const __useconds_t = c_uint;
  65. pub const __suseconds_t = c_long;
  66. pub const __daddr_t = c_int;
  67. pub const __key_t = c_int;
  68. pub const __clockid_t = c_int;
  69. pub const __timer_t = ?&c_void;
  70. pub const __blksize_t = c_long;
  71. pub const __blkcnt_t = c_long;
  72. pub const __blkcnt64_t = c_long;
  73. pub const __fsblkcnt_t = c_ulong;
  74. pub const __fsblkcnt64_t = c_ulong;
  75. pub const __fsfilcnt_t = c_ulong;
  76. pub const __fsfilcnt64_t = c_ulong;
  77. pub const __fsword_t = c_long;
  78. pub const __ssize_t = c_long;
  79. pub const __syscall_slong_t = c_long;
  80. pub const __syscall_ulong_t = c_ulong;
  81. pub const __loff_t = __off64_t;
  82. pub const __qaddr_t = ?&__quad_t;
  83. pub const __caddr_t = ?&u8;
  84. pub const __intptr_t = c_long;
  85. pub const __socklen_t = c_uint;
  86. pub const __sig_atomic_t = c_int;
  87. pub const u_char = __u_char;
  88. pub const u_short = __u_short;
  89. pub const u_int = __u_int;
  90. pub const u_long = __u_long;
  91. pub const quad_t = __quad_t;
  92. pub const u_quad_t = __u_quad_t;
  93. pub const fsid_t = __fsid_t;
  94. pub const loff_t = __loff_t;
  95. pub const ino_t = __ino_t;
  96. pub const dev_t = __dev_t;
  97. pub const gid_t = __gid_t;
  98. pub const mode_t = __mode_t;
  99. pub const nlink_t = __nlink_t;
  100. pub const uid_t = __uid_t;
  101. pub const off_t = __off_t;
  102. pub const pid_t = __pid_t;
  103. pub const id_t = __id_t;
  104. pub const daddr_t = __daddr_t;
  105. pub const caddr_t = __caddr_t;
  106. pub const key_t = __key_t;
  107. pub const clock_t = __clock_t;
  108. pub const clockid_t = __clockid_t;
  109. pub const time_t = __time_t;
  110. pub const timer_t = __timer_t;
  111. pub const ulong = c_ulong;
  112. pub const ushort = c_ushort;
  113. pub const uint = c_uint;
  114. pub const u_int8_t = u8;
  115. pub const u_int16_t = c_ushort;
  116. pub const u_int32_t = c_uint;
  117. pub const u_int64_t = c_ulong;
  118. pub const register_t = c_long;
  119. pub fn __uint16_identity(__x: __uint16_t) __uint16_t {
  120.     return __x;
  121. }
  122. pub fn __uint32_identity(__x: __uint32_t) __uint32_t {
  123.     return __x;
  124. }
  125. pub fn __uint64_identity(__x: __uint64_t) __uint64_t {
  126.     return __x;
  127. }
  128. pub const __sigset_t = extern struct {
  129.     __val: [16]c_ulong,
  130. };
  131. pub const sigset_t = __sigset_t;
  132. pub const struct_timeval = extern struct {
  133.     tv_sec: __time_t,
  134.     tv_usec: __suseconds_t,
  135. };
  136. pub const struct_timespec = extern struct {
  137.     tv_sec: __time_t,
  138.     tv_nsec: __syscall_slong_t,
  139. };
  140. pub const suseconds_t = __suseconds_t;
  141. pub const __fd_mask = c_long;
  142. pub const fd_set = extern struct {
  143.     __fds_bits: [16]__fd_mask,
  144. };
  145. pub const fd_mask = __fd_mask;
  146. pub extern fn select(__nfds: c_int, noalias __readfds: ?&fd_set, noalias __writefds: ?&fd_set, noalias __exceptfds: ?&fd_set, noalias __timeout: ?&struct_timeval) c_int;
  147. pub extern fn pselect(__nfds: c_int, noalias __readfds: ?&fd_set, noalias __writefds: ?&fd_set, noalias __exceptfds: ?&fd_set, noalias __timeout: ?&const struct_timespec, noalias __sigmask: ?&const __sigset_t) c_int;

This paste is large and only partially shown.
View full paste

View raw paste Reply