Update.
[glibc.git] / include / wchar.h
blob33166edfdd1179d7b94225189b8aefe4054bcdbd
1 #ifndef _WCHAR_H
2 #include <wcsmbs/wchar.h>
4 /* Now define the internal interfaces. */
5 extern int __wcscasecmp __P ((__const wchar_t *__s1, __const wchar_t *__s2));
6 extern int __wcsncasecmp __P ((__const wchar_t *__s1, __const wchar_t *__s2,
7 size_t __n));
8 extern size_t __wcsnlen __P ((__const wchar_t *__s, size_t __maxlen));
9 extern wint_t __btowc __P ((int __c));
10 extern int __mbsinit __P ((__const mbstate_t *__ps));
11 extern size_t __mbrtowc __P ((wchar_t *__restrict __pwc,
12 __const char *__restrict __s, size_t __n,
13 mbstate_t *__restrict __p));
14 extern size_t __wcrtomb __P ((char *__restrict __s, wchar_t __wc,
15 mbstate_t *__restrict __ps));
16 extern size_t __mbsrtowcs __P ((wchar_t *__restrict __dst,
17 __const char **__restrict __src,
18 size_t __len, mbstate_t *__restrict __ps));
19 extern size_t __wcsrtombs __P ((char *__restrict __dst,
20 __const wchar_t **__restrict __src,
21 size_t __len, mbstate_t *__restrict __ps));
22 extern size_t __mbsnrtowcs __P ((wchar_t *__restrict __dst,
23 __const char **__restrict __src, size_t __nmc,
24 size_t __len, mbstate_t *__restrict __ps));
25 extern size_t __wcsnrtombs __P ((char *__restrict __dst,
26 __const wchar_t **__restrict __src,
27 size_t __nwc, size_t __len,
28 mbstate_t *__restrict __ps));
29 extern wchar_t *__wcpcpy __P ((wchar_t *__dest, __const wchar_t *__src));
30 extern wchar_t *__wcpncpy __P ((wchar_t *__dest, __const wchar_t *__src,
31 size_t __n));
32 #endif