lib.rs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. /* automatically generated by rust-bindgen */
  2. pub type wchar_t = libc::c_int;
  3. #[repr(C)]
  4. #[derive(Debug, Copy)]
  5. pub struct div_t {
  6. pub quot: libc::c_int,
  7. pub rem: libc::c_int,
  8. }
  9. impl Clone for div_t {
  10. fn clone(&self) -> Self { *self }
  11. }
  12. #[repr(C)]
  13. #[derive(Debug, Copy)]
  14. pub struct ldiv_t {
  15. pub quot: libc::c_long,
  16. pub rem: libc::c_long,
  17. }
  18. impl Clone for ldiv_t {
  19. fn clone(&self) -> Self { *self }
  20. }
  21. pub extern "C" fn abort() {
  22. unimplemented!();
  23. }
  24. pub extern "C" fn abs(arg1: libc::c_int) -> libc::c_int {
  25. unimplemented!();
  26. }
  27. pub extern "C" fn atexit(arg1: ::std::option::Option<unsafe extern "C" fn()>)
  28. -> libc::c_int {
  29. unimplemented!();
  30. }
  31. pub extern "C" fn atof(arg1: *const libc::c_char) -> f64 {
  32. unimplemented!();
  33. }
  34. pub extern "C" fn atoi(arg1: *const libc::c_char) -> libc::c_int {
  35. unimplemented!();
  36. }
  37. pub extern "C" fn atol(arg1: *const libc::c_char)
  38. -> libc::c_long {
  39. unimplemented!();
  40. }
  41. pub extern "C" fn bsearch(arg1: *const libc::c_void,
  42. arg2: *const libc::c_void, arg3: usize,
  43. arg4: usize,
  44. arg5:
  45. ::std::option::Option<unsafe extern "C" fn(arg1:
  46. *const libc::c_void,
  47. arg2:
  48. *const libc::c_void)
  49. -> libc::c_int>)
  50. -> *mut libc::c_void {
  51. unimplemented!();
  52. }
  53. pub extern "C" fn calloc(arg1: usize, arg2: usize) -> *mut libc::c_void {
  54. unimplemented!();
  55. }
  56. pub extern "C" fn div(arg1: libc::c_int, arg2: libc::c_int)
  57. -> div_t {
  58. unimplemented!();
  59. }
  60. pub extern "C" fn drand48() -> f64 {
  61. unimplemented!();
  62. }
  63. pub extern "C" fn ecvt(arg1: f64, arg2: libc::c_int,
  64. arg3: *mut libc::c_int,
  65. arg4: *mut libc::c_int)
  66. -> *mut libc::c_char {
  67. unimplemented!();
  68. }
  69. pub extern "C" fn erand48(arg1: *mut libc::c_ushort) -> f64 {
  70. unimplemented!();
  71. }
  72. pub extern "C" fn exit(arg1: libc::c_int) {
  73. unimplemented!();
  74. }
  75. pub extern "C" fn fcvt(arg1: f64, arg2: libc::c_int,
  76. arg3: *mut libc::c_int,
  77. arg4: *mut libc::c_int)
  78. -> *mut libc::c_char {
  79. unimplemented!();
  80. }
  81. pub extern "C" fn free(arg1: *mut libc::c_void) {
  82. unimplemented!();
  83. }
  84. pub extern "C" fn gcvt(arg1: f64, arg2: libc::c_int,
  85. arg3: *mut libc::c_char)
  86. -> *mut libc::c_char {
  87. unimplemented!();
  88. }
  89. pub extern "C" fn getenv(arg1: *const libc::c_char)
  90. -> *mut libc::c_char {
  91. unimplemented!();
  92. }
  93. pub extern "C" fn getsubopt(arg1: *mut *mut libc::c_char,
  94. arg2: *const *const libc::c_char,
  95. arg3: *mut *mut libc::c_char)
  96. -> libc::c_int {
  97. unimplemented!();
  98. }
  99. pub extern "C" fn grantpt(arg1: libc::c_int) -> libc::c_int {
  100. unimplemented!();
  101. }
  102. pub extern "C" fn initstate(arg1: libc::c_uint,
  103. arg2: *mut libc::c_char, arg3: usize)
  104. -> *mut libc::c_char {
  105. unimplemented!();
  106. }
  107. pub extern "C" fn jrand48(arg1: *mut libc::c_ushort)
  108. -> libc::c_long {
  109. unimplemented!();
  110. }
  111. pub extern "C" fn l64a(arg1: libc::c_long) -> *mut libc::c_char {
  112. unimplemented!();
  113. }
  114. pub extern "C" fn labs(arg1: libc::c_long) -> libc::c_long {
  115. unimplemented!();
  116. }
  117. pub extern "C" fn lcong48(arg1: *mut libc::c_ushort) {
  118. unimplemented!();
  119. }
  120. pub extern "C" fn ldiv(arg1: libc::c_long, arg2: libc::c_long)
  121. -> ldiv_t {
  122. unimplemented!();
  123. }
  124. pub extern "C" fn lrand48() -> libc::c_long {
  125. unimplemented!();
  126. }
  127. pub extern "C" fn malloc(arg1: usize) -> *mut libc::c_void {
  128. unimplemented!();
  129. }
  130. pub extern "C" fn mblen(arg1: *const libc::c_char, arg2: usize)
  131. -> libc::c_int {
  132. unimplemented!();
  133. }
  134. pub extern "C" fn mbstowcs(arg1: *mut wchar_t, arg2: *const libc::c_char,
  135. arg3: usize) -> usize {
  136. unimplemented!();
  137. }
  138. pub extern "C" fn mbtowc(arg1: *mut wchar_t, arg2: *const libc::c_char,
  139. arg3: usize) -> libc::c_int {
  140. unimplemented!();
  141. }
  142. pub extern "C" fn mktemp(arg1: *mut libc::c_char)
  143. -> *mut libc::c_char {
  144. unimplemented!();
  145. }
  146. pub extern "C" fn mkstemp(arg1: *mut libc::c_char)
  147. -> libc::c_int {
  148. unimplemented!();
  149. }
  150. pub extern "C" fn mrand48() -> libc::c_long {
  151. unimplemented!();
  152. }
  153. pub extern "C" fn nrand48(arg1: *mut libc::c_ushort)
  154. -> libc::c_long {
  155. unimplemented!();
  156. }
  157. pub extern "C" fn ptsname(arg1: libc::c_int)
  158. -> *mut libc::c_char {
  159. unimplemented!();
  160. }
  161. pub extern "C" fn putenv(arg1: *mut libc::c_char) -> libc::c_int {
  162. unimplemented!();
  163. }
  164. pub extern "C" fn qsort(arg1: *mut libc::c_void, arg2: usize, arg3: usize,
  165. arg4:
  166. ::std::option::Option<unsafe extern "C" fn(arg1:
  167. *const libc::c_void,
  168. arg2:
  169. *const libc::c_void)
  170. -> libc::c_int>) {
  171. unimplemented!();
  172. }
  173. pub extern "C" fn rand() -> libc::c_int {
  174. unimplemented!();
  175. }
  176. pub extern "C" fn rand_r(arg1: *mut libc::c_uint) -> libc::c_int {
  177. unimplemented!();
  178. }
  179. pub extern "C" fn random() -> libc::c_long {
  180. unimplemented!();
  181. }
  182. pub extern "C" fn realloc(arg1: *mut libc::c_void, arg2: usize)
  183. -> *mut libc::c_void {
  184. unimplemented!();
  185. }
  186. pub extern "C" fn realpath(arg1: *const libc::c_char,
  187. arg2: *mut libc::c_char)
  188. -> *mut libc::c_char {
  189. unimplemented!();
  190. }
  191. pub extern "C" fn seed48(arg1: *mut libc::c_ushort)
  192. -> libc::c_ushort {
  193. unimplemented!();
  194. }
  195. pub extern "C" fn setkey(arg1: *const libc::c_char) {
  196. unimplemented!();
  197. }
  198. pub extern "C" fn setstate(arg1: *const libc::c_char)
  199. -> *mut libc::c_char {
  200. unimplemented!();
  201. }
  202. pub extern "C" fn srand(arg1: libc::c_uint) {
  203. unimplemented!();
  204. }
  205. pub extern "C" fn srand48(arg1: libc::c_long) {
  206. unimplemented!();
  207. }
  208. pub extern "C" fn srandom(arg1: libc::c_uint) {
  209. unimplemented!();
  210. }
  211. pub extern "C" fn strtod(arg1: *const libc::c_char,
  212. arg2: *mut *mut libc::c_char) -> f64 {
  213. unimplemented!();
  214. }
  215. pub extern "C" fn strtol(arg1: *const libc::c_char,
  216. arg2: *mut *mut libc::c_char,
  217. arg3: libc::c_int) -> libc::c_long {
  218. unimplemented!();
  219. }
  220. pub extern "C" fn strtoul(arg1: *const libc::c_char,
  221. arg2: *mut *mut libc::c_char,
  222. arg3: libc::c_int) -> libc::c_ulong {
  223. unimplemented!();
  224. }
  225. pub extern "C" fn system(arg1: *const libc::c_char)
  226. -> libc::c_int {
  227. unimplemented!();
  228. }
  229. pub extern "C" fn ttyslot() -> libc::c_int {
  230. unimplemented!();
  231. }
  232. pub extern "C" fn unlockpt(arg1: libc::c_int) -> libc::c_int {
  233. unimplemented!();
  234. }
  235. pub extern "C" fn valloc(arg1: usize) -> *mut libc::c_void {
  236. unimplemented!();
  237. }
  238. pub extern "C" fn wcstombs(arg1: *mut libc::c_char, arg2: *const wchar_t,
  239. arg3: usize) -> usize {
  240. unimplemented!();
  241. }
  242. pub extern "C" fn wctomb(arg1: *mut libc::c_char, arg2: wchar_t)
  243. -> libc::c_int {
  244. unimplemented!();
  245. }