lib.rs 7.2 KB

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