lib.rs 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. pub type wchar_t = libc::c_int;
  2. pub type wint_t = libc::c_uint;
  3. #[no_mangle]
  4. pub extern "C" fn btowc(c: libc::c_int) -> wint_t {
  5. unimplemented!();
  6. }
  7. #[no_mangle]
  8. pub extern "C" fn fwprintf(stream: *mut FILE, format: *const wchar_t, ...)
  9. -> libc::c_int {
  10. unimplemented!();
  11. }
  12. #[no_mangle]
  13. pub extern "C" fn fwscanf(stream: *mut FILE, format: *const wchar_t, ...)
  14. -> libc::c_int {
  15. unimplemented!();
  16. }
  17. #[no_mangle]
  18. pub extern "C" fn iswalnum(wc: wint_t) -> libc::c_int {
  19. unimplemented!();
  20. }
  21. #[no_mangle]
  22. pub extern "C" fn iswalpha(wc: wint_t) -> libc::c_int {
  23. unimplemented!();
  24. }
  25. #[no_mangle]
  26. pub extern "C" fn iswcntrl(wc: wint_t) -> libc::c_int {
  27. unimplemented!();
  28. }
  29. #[no_mangle]
  30. pub extern "C" fn iswdigit(wc: wint_t) -> libc::c_int {
  31. unimplemented!();
  32. }
  33. #[no_mangle]
  34. pub extern "C" fn iswgraph(wc: wint_t) -> libc::c_int {
  35. unimplemented!();
  36. }
  37. #[no_mangle]
  38. pub extern "C" fn iswlower(wc: wint_t) -> libc::c_int {
  39. unimplemented!();
  40. }
  41. #[no_mangle]
  42. pub extern "C" fn iswprint(wc: wint_t) -> libc::c_int {
  43. unimplemented!();
  44. }
  45. #[no_mangle]
  46. pub extern "C" fn iswpunct(wc: wint_t) -> libc::c_int {
  47. unimplemented!();
  48. }
  49. #[no_mangle]
  50. pub extern "C" fn iswspace(wc: wint_t) -> libc::c_int {
  51. unimplemented!();
  52. }
  53. #[no_mangle]
  54. pub extern "C" fn iswupper(wc: wint_t) -> libc::c_int {
  55. unimplemented!();
  56. }
  57. #[no_mangle]
  58. pub extern "C" fn iswxdigit(wc: wint_t) -> libc::c_int {
  59. unimplemented!();
  60. }
  61. #[no_mangle]
  62. pub extern "C" fn fgetwc(stream: *mut FILE) -> wint_t {
  63. unimplemented!();
  64. }
  65. #[no_mangle]
  66. pub extern "C" fn fgetws(ws: *mut wchar_t, n: libc::c_int,
  67. stream: *mut FILE) -> *mut wchar_t {
  68. unimplemented!();
  69. }
  70. #[no_mangle]
  71. pub extern "C" fn fputwc(wc: wchar_t, stream: *mut FILE) -> wint_t {
  72. unimplemented!();
  73. }
  74. #[no_mangle]
  75. pub extern "C" fn fputws(ws: *const wchar_t, stream: *mut FILE)
  76. -> libc::c_int {
  77. unimplemented!();
  78. }
  79. #[no_mangle]
  80. pub extern "C" fn fwide(stream: *mut FILE, mode: libc::c_int)
  81. -> libc::c_int {
  82. unimplemented!();
  83. }
  84. #[no_mangle]
  85. pub extern "C" fn getwc(stream: *mut FILE) -> wint_t {
  86. unimplemented!();
  87. }
  88. #[no_mangle]
  89. pub extern "C" fn getwchar() -> wint_t {
  90. unimplemented!();
  91. }
  92. #[no_mangle]
  93. pub extern "C" fn mbsinit(ps: *const mbstate_t) -> libc::c_int {
  94. unimplemented!();
  95. }
  96. #[no_mangle]
  97. pub extern "C" fn mbrlen(s: *const libc::c_char, n: usize,
  98. ps: *mut mbstate_t) -> usize {
  99. unimplemented!();
  100. }
  101. #[no_mangle]
  102. pub extern "C" fn mbrtowc(pwc: *mut wchar_t, s: *const libc::c_char,
  103. n: usize, ps: *mut mbstate_t) -> usize {
  104. unimplemented!();
  105. }
  106. #[no_mangle]
  107. pub extern "C" fn mbsrtowcs(dst: *mut wchar_t,
  108. src: *mut *const libc::c_char, len: usize,
  109. ps: *mut mbstate_t) -> usize {
  110. unimplemented!();
  111. }
  112. #[no_mangle]
  113. pub extern "C" fn putwc(wc: wchar_t, stream: *mut FILE) -> wint_t {
  114. unimplemented!();
  115. }
  116. #[no_mangle]
  117. pub extern "C" fn putwchar(wc: wchar_t) -> wint_t {
  118. unimplemented!();
  119. }
  120. #[no_mangle]
  121. pub extern "C" fn swprintf(s: *mut wchar_t, n: usize,
  122. format: *const wchar_t, ...) -> libc::c_int {
  123. unimplemented!();
  124. }
  125. #[no_mangle]
  126. pub extern "C" fn swscanf(s: *const wchar_t, format: *const wchar_t, ...)
  127. -> libc::c_int {
  128. unimplemented!();
  129. }
  130. #[no_mangle]
  131. pub extern "C" fn towlower(wc: wint_t) -> wint_t {
  132. unimplemented!();
  133. }
  134. #[no_mangle]
  135. pub extern "C" fn towupper(wc: wint_t) -> wint_t {
  136. unimplemented!();
  137. }
  138. #[no_mangle]
  139. pub extern "C" fn ungetwc(wc: wint_t, stream: *mut FILE) -> wint_t {
  140. unimplemented!();
  141. }
  142. #[no_mangle]
  143. pub extern "C" fn vfwprintf(stream: *mut FILE, format: *const wchar_t,
  144. arg: va_list) -> libc::c_int {
  145. unimplemented!();
  146. }
  147. #[no_mangle]
  148. pub extern "C" fn vwprintf(format: *const wchar_t, arg: va_list)
  149. -> libc::c_int {
  150. unimplemented!();
  151. }
  152. #[no_mangle]
  153. pub extern "C" fn vswprintf(s: *mut wchar_t, n: usize, format: *const wchar_t,
  154. arg: va_list) -> libc::c_int {
  155. unimplemented!();
  156. }
  157. #[no_mangle]
  158. pub extern "C" fn wcrtomb(s: *mut libc::c_char, wc: wchar_t,
  159. ps: *mut mbstate_t) -> usize {
  160. unimplemented!();
  161. }
  162. #[no_mangle]
  163. pub extern "C" fn wcscat(ws1: *mut wchar_t, ws2: *const wchar_t) -> *mut wchar_t {
  164. unimplemented!();
  165. }
  166. #[no_mangle]
  167. pub extern "C" fn wcschr(ws1: *const wchar_t, ws2: wchar_t)
  168. -> *mut libc::c_int {
  169. unimplemented!();
  170. }
  171. #[no_mangle]
  172. pub extern "C" fn wcscmp(ws1: *const wchar_t, ws2: *const wchar_t)
  173. -> libc::c_int {
  174. unimplemented!();
  175. }
  176. #[no_mangle]
  177. pub extern "C" fn wcscoll(ws1: *const wchar_t, ws2: *const wchar_t)
  178. -> libc::c_int {
  179. unimplemented!();
  180. }
  181. #[no_mangle]
  182. pub extern "C" fn wcscpy(ws1: *mut wchar_t, ws2: *const wchar_t) -> *mut wchar_t {
  183. unimplemented!();
  184. }
  185. #[no_mangle]
  186. pub extern "C" fn wcscspn(ws1: *const wchar_t, ws2: *const wchar_t) -> usize {
  187. unimplemented!();
  188. }
  189. #[no_mangle]
  190. pub extern "C" fn wcsftime(wcs: *mut wchar_t, maxsize: usize, format: *const wchar_t,
  191. timptr: *mut tm) -> usize {
  192. unimplemented!();
  193. }
  194. #[no_mangle]
  195. pub extern "C" fn wcslen(ws: *const wchar_t) -> libc::c_ulong {
  196. unimplemented!();
  197. }
  198. #[no_mangle]
  199. pub extern "C" fn wcsncat(ws1: *mut wchar_t, ws2: *const wchar_t, n: usize)
  200. -> *mut wchar_t {
  201. unimplemented!();
  202. }
  203. #[no_mangle]
  204. pub extern "C" fn wcsncmp(ws1: *const wchar_t, ws2: *const wchar_t, n: usize)
  205. -> libc::c_int {
  206. unimplemented!();
  207. }
  208. #[no_mangle]
  209. pub extern "C" fn wcsncpy(ws1: *mut wchar_t, ws2: *const wchar_t, n: usize)
  210. -> *mut wchar_t {
  211. unimplemented!();
  212. }
  213. #[no_mangle]
  214. pub extern "C" fn wcspbrk(ws1: *const wchar_t, ws2: *const wchar_t)
  215. -> *mut wchar_t {
  216. unimplemented!();
  217. }
  218. #[no_mangle]
  219. pub extern "C" fn wcsrchr(ws1: *const wchar_t, ws2: wchar_t) -> *mut wchar_t {
  220. unimplemented!();
  221. }
  222. #[no_mangle]
  223. pub extern "C" fn wcsrtombs(dst: *mut libc::c_char,
  224. src: *mut *const wchar_t, len: usize,
  225. ps: *mut mbstate_t) -> usize {
  226. unimplemented!();
  227. }
  228. #[no_mangle]
  229. pub extern "C" fn wcsspn(ws1: *const wchar_t, ws2: *const wchar_t) -> usize {
  230. unimplemented!();
  231. }
  232. #[no_mangle]
  233. pub extern "C" fn wcsstr(ws1: *const wchar_t, ws2: *const wchar_t) -> *mut wchar_t {
  234. unimplemented!();
  235. }
  236. #[no_mangle]
  237. pub extern "C" fn wcstod(nptr: *const wchar_t, endptr: *mut *mut wchar_t) -> f64 {
  238. unimplemented!();
  239. }
  240. #[no_mangle]
  241. pub extern "C" fn wcstok(ws1: *mut wchar_t, ws2: *const wchar_t,
  242. ptr: *mut *mut wchar_t) -> *mut wchar_t {
  243. unimplemented!();
  244. }
  245. #[no_mangle]
  246. pub extern "C" fn wcstol(nptr: *const wchar_t, endptr: *mut *mut wchar_t,
  247. base: libc::c_int) -> libc::c_long {
  248. unimplemented!();
  249. }
  250. #[no_mangle]
  251. pub extern "C" fn wcstoul(nptr: *const wchar_t, endptr: *mut *mut wchar_t,
  252. base: libc::c_int) -> libc::c_ulong {
  253. unimplemented!();
  254. }
  255. #[no_mangle]
  256. pub extern "C" fn wcswcs(ws1: *const wchar_t, ws2: *const wchar_t) -> *mut wchar_t {
  257. unimplemented!();
  258. }
  259. #[no_mangle]
  260. pub extern "C" fn wcswidth(pwcs: *const wchar_t, n: usize)
  261. -> libc::c_int {
  262. unimplemented!();
  263. }
  264. #[no_mangle]
  265. pub extern "C" fn wcsxfrm(ws1: *mut wchar_t, ws2: *const wchar_t, n: usize)
  266. -> usize {
  267. unimplemented!();
  268. }
  269. #[no_mangle]
  270. pub extern "C" fn wctob(c: wint_t) -> libc::c_int {
  271. unimplemented!();
  272. }
  273. #[no_mangle]
  274. pub extern "C" fn wcwidth(wc: wchar_t) -> libc::c_int {
  275. unimplemented!();
  276. }
  277. #[no_mangle]
  278. pub extern "C" fn wmemchr(ws: *const wchar_t, wc: wchar_t, n: usize)
  279. -> *mut libc::c_int {
  280. unimplemented!();
  281. }
  282. #[no_mangle]
  283. pub extern "C" fn wmemcmp(ws1: *const wchar_t, ws2: *const wchar_t, n: usize)
  284. -> libc::c_int {
  285. unimplemented!();
  286. }
  287. #[no_mangle]
  288. pub extern "C" fn wmemcpy(ws1: *mut wchar_t, ws2: *const wchar_t, n: usize)
  289. -> *mut wchar_t {
  290. unimplemented!();
  291. }
  292. #[no_mangle]
  293. pub extern "C" fn wmemmove(ws1: *mut wchar_t, ws2: *const wchar_t, n: usize)
  294. -> *mut wchar_t {
  295. unimplemented!();
  296. }
  297. #[no_mangle]
  298. pub extern "C" fn wmemset(ws1: *mut wchar_t, ws2: wchar_t, n: usize)
  299. -> *mut wchar_t {
  300. unimplemented!();
  301. }
  302. #[no_mangle]
  303. pub extern "C" fn wprintf(format: *const wchar_t, ...) -> libc::c_int {
  304. unimplemented!();
  305. }
  306. #[no_mangle]
  307. pub extern "C" fn wscanf(format: *const wchar_t, ...) -> libc::c_int {
  308. unimplemented!();
  309. }