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)
18 /* Now define the internal interfaces. */
19 extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2)
21 extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
24 extern int __wcscoll (__const wchar_t *__s1, __const wchar_t *__s2);
25 extern size_t __wcslen (__const wchar_t *__s) __attribute_pure__;
26 extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen)
28 extern wchar_t *__wcscat (wchar_t *dest, const wchar_t *src);
29 extern wint_t __btowc (int __c);
30 extern int __mbsinit (__const __mbstate_t *__ps);
31 extern size_t __mbrtowc (wchar_t *__restrict __pwc,
32 __const char *__restrict __s, size_t __n,
33 __mbstate_t *__restrict __p);
34 libc_hidden_proto (__mbrtowc)
35 libc_hidden_proto (__mbrlen)
36 extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc,
37 __mbstate_t *__restrict __ps);
38 extern size_t __mbsrtowcs (wchar_t *__restrict __dst,
39 __const char **__restrict __src,
40 size_t __len, __mbstate_t *__restrict __ps);
41 extern size_t __wcsrtombs (char *__restrict __dst,
42 __const wchar_t **__restrict __src,
43 size_t __len, __mbstate_t *__restrict __ps);
44 extern size_t __mbsnrtowcs (wchar_t *__restrict __dst,
45 __const char **__restrict __src, size_t __nmc,
46 size_t __len, __mbstate_t *__restrict __ps);
47 extern size_t __wcsnrtombs (char *__restrict __dst,
48 __const wchar_t **__restrict __src,
49 size_t __nwc, size_t __len,
50 __mbstate_t *__restrict __ps);
51 extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src);
52 extern wchar_t *__wcpncpy (wchar_t *__dest, __const wchar_t *__src,
54 extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2,
56 extern wchar_t *__wmempcpy (wchar_t *__restrict __s1,
57 __const wchar_t *__restrict __s2,
59 extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2,
61 extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc)
64 extern int __vfwscanf (__FILE *__restrict __s,
65 __const wchar_t *__restrict __format,
67 /* __attribute__ ((__format__ (__wscanf__, 2, 0)) */;
68 extern int __vswprintf (wchar_t *__restrict __s, size_t __n,
69 __const wchar_t *__restrict __format,
71 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
72 extern int __fwprintf (__FILE *__restrict __s,
73 __const wchar_t *__restrict __format, ...)
74 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
75 extern int __vfwprintf (__FILE *__restrict __s,
76 __const wchar_t *__restrict __format,
78 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;