2 #include <wcsmbs/wchar.h>
5 /* Now define the internal interfaces. */
6 extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2);
7 extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
9 extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen);
10 extern wint_t __btowc (int __c);
11 extern int __mbsinit (__const __mbstate_t *__ps);
12 extern size_t __mbrtowc (wchar_t *__restrict __pwc,
13 __const char *__restrict __s, size_t __n,
14 __mbstate_t *__restrict __p);
15 extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc,
16 __mbstate_t *__restrict __ps);
17 extern size_t __mbsrtowcs (wchar_t *__restrict __dst,
18 __const char **__restrict __src,
19 size_t __len, __mbstate_t *__restrict __ps);
20 extern size_t __wcsrtombs (char *__restrict __dst,
21 __const wchar_t **__restrict __src,
22 size_t __len, __mbstate_t *__restrict __ps);
23 extern size_t __mbsnrtowcs (wchar_t *__restrict __dst,
24 __const char **__restrict __src, size_t __nmc,
25 size_t __len, __mbstate_t *__restrict __ps);
26 extern size_t __wcsnrtombs (char *__restrict __dst,
27 __const wchar_t **__restrict __src,
28 size_t __nwc, size_t __len,
29 __mbstate_t *__restrict __ps);
30 extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src);
31 extern wchar_t *__wcpncpy (wchar_t *__dest, __const wchar_t *__src,
33 extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2,
35 extern wchar_t *__wmempcpy (wchar_t *__restrict __s1,
36 __const wchar_t *__restrict __s2,
38 extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2,
40 extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc);
42 extern int __vfwscanf (FILE *__restrict __s,
43 __const wchar_t *__restrict __format,
45 /* __attribute__ ((__format__ (__wscanf__, 2, 0)) */;