2 #include <wcsmbs/wchar.h>
6 libc_hidden_proto (__wcstof_internal)
7 libc_hidden_proto (__wcstod_internal)
8 libc_hidden_proto (__wcstold_internal)
9 libc_hidden_proto (__wcstol_internal)
10 libc_hidden_proto (__wcstoll_internal)
11 libc_hidden_proto (__wcstoul_internal)
12 libc_hidden_proto (__wcstoull_internal)
14 libc_hidden_proto (__wcscasecmp_l)
15 libc_hidden_proto (__wcsncasecmp_l)
17 libc_hidden_proto (fputws_unlocked)
18 libc_hidden_proto (putwc_unlocked)
20 libc_hidden_proto (vswscanf)
23 /* Now define the internal interfaces. */
24 extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2)
26 extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
29 extern int __wcscoll (__const wchar_t *__s1, __const wchar_t *__s2);
30 extern size_t __wcslen (__const wchar_t *__s) __attribute_pure__;
31 extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen)
33 extern wchar_t *__wcscat (wchar_t *dest, const wchar_t *src);
34 extern wint_t __btowc (int __c);
35 extern int __mbsinit (__const __mbstate_t *__ps);
36 extern size_t __mbrtowc (wchar_t *__restrict __pwc,
37 __const char *__restrict __s, size_t __n,
38 __mbstate_t *__restrict __p);
39 libc_hidden_proto (__mbrtowc)
40 libc_hidden_proto (__mbrlen)
41 extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc,
42 __mbstate_t *__restrict __ps);
43 extern size_t __mbsrtowcs (wchar_t *__restrict __dst,
44 __const char **__restrict __src,
45 size_t __len, __mbstate_t *__restrict __ps);
46 extern size_t __wcsrtombs (char *__restrict __dst,
47 __const wchar_t **__restrict __src,
48 size_t __len, __mbstate_t *__restrict __ps);
49 extern size_t __mbsnrtowcs (wchar_t *__restrict __dst,
50 __const char **__restrict __src, size_t __nmc,
51 size_t __len, __mbstate_t *__restrict __ps);
52 extern size_t __wcsnrtombs (char *__restrict __dst,
53 __const wchar_t **__restrict __src,
54 size_t __nwc, size_t __len,
55 __mbstate_t *__restrict __ps);
56 extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src);
57 extern wchar_t *__wcpncpy (wchar_t *__dest, __const wchar_t *__src,
59 extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2,
61 extern wchar_t *__wmempcpy (wchar_t *__restrict __s1,
62 __const wchar_t *__restrict __s2,
64 extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2,
66 extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc)
69 extern int __vfwscanf (__FILE *__restrict __s,
70 __const wchar_t *__restrict __format,
72 /* __attribute__ ((__format__ (__wscanf__, 2, 0)) */;
73 extern int __vswprintf (wchar_t *__restrict __s, size_t __n,
74 __const wchar_t *__restrict __format,
76 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
77 extern int __fwprintf (__FILE *__restrict __s,
78 __const wchar_t *__restrict __format, ...)
79 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
80 extern int __vfwprintf (__FILE *__restrict __s,
81 __const wchar_t *__restrict __format,
83 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;