lib.rs 6.5 KB

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