2 #include <wcsmbs/wchar.h>
5 /* Now define the internal interfaces. */
6 extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2)
8 extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
11 extern int __wcscoll (__const wchar_t *__s1, __const wchar_t *__s2);
12 extern size_t __wcslen (__const wchar_t *__s) __attribute_pure__;
13 extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen)
15 extern wchar_t *__wcscat (wchar_t *dest, const wchar_t *src);
16 extern wint_t __btowc (int __c);
17 extern int __mbsinit (__const __mbstate_t *__ps);
18 extern size_t __mbrtowc (wchar_t *__restrict __pwc,
19 __const char *__restrict __s, size_t __n,
20 __mbstate_t *__restrict __p);
21 libc_hidden_proto (__mbrtowc)
22 libc_hidden_proto (__mbrlen)
23 extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc,
24 __mbstate_t *__restrict __ps);
25 extern size_t __mbsrtowcs (wchar_t *__restrict __dst,
26 __const char **__restrict __src,
27 size_t __len, __mbstate_t *__restrict __ps);
28 extern size_t __wcsrtombs (char *__restrict __dst,
29 __const wchar_t **__restrict __src,
30 size_t __len, __mbstate_t *__restrict __ps);
31 extern size_t __mbsnrtowcs (wchar_t *__restrict __dst,
32 __const char **__restrict __src, size_t __nmc,
33 size_t __len, __mbstate_t *__restrict __ps);
34 extern size_t __wcsnrtombs (char *__restrict __dst,
35 __const wchar_t **__restrict __src,
36 size_t __nwc, size_t __len,
37 __mbstate_t *__restrict __ps);
38 extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src);
39 extern wchar_t *__wcpncpy (wchar_t *__dest, __const wchar_t *__src,
41 extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2,
43 extern wchar_t *__wmempcpy (wchar_t *__restrict __s1,
44 __const wchar_t *__restrict __s2,
46 extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2,
48 extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc)
51 extern int __vfwscanf (__FILE *__restrict __s,
52 __const wchar_t *__restrict __format,
54 /* __attribute__ ((__format__ (__wscanf__, 2, 0)) */;
55 extern int __vswprintf (wchar_t *__restrict __s, size_t __n,
56 __const wchar_t *__restrict __format,
58 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
59 extern int __fwprintf (__FILE *__restrict __s,
60 __const wchar_t *__restrict __format, ...)
61 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
62 extern int __vfwprintf (__FILE *__restrict __s,
63 __const wchar_t *__restrict __format,
65 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;