2 #include <wcsmbs/wchar.h>
6 extern __typeof (wcscasecmp_l
) __wcscasecmp_l
;
7 extern __typeof (wcsncasecmp_l
) __wcsncasecmp_l
;
8 extern __typeof (wcscoll_l
) __wcscoll_l
;
9 extern __typeof (wcsxfrm_l
) __wcsxfrm_l
;
10 extern __typeof (wcstol_l
) __wcstol_l
;
11 extern __typeof (wcstoul_l
) __wcstoul_l
;
12 extern __typeof (wcstoll_l
) __wcstoll_l
;
13 extern __typeof (wcstoull_l
) __wcstoull_l
;
14 extern __typeof (wcstod_l
) __wcstod_l
;
15 extern __typeof (wcstof_l
) __wcstof_l
;
16 extern __typeof (wcstold_l
) __wcstold_l
;
17 extern __typeof (wcsftime_l
) __wcsftime_l
;
20 libc_hidden_proto (__wcstof_internal
)
21 libc_hidden_proto (__wcstod_internal
)
22 libc_hidden_proto (__wcstold_internal
)
23 libc_hidden_proto (__wcstol_internal
)
24 libc_hidden_proto (__wcstoll_internal
)
25 libc_hidden_proto (__wcstoul_internal
)
26 libc_hidden_proto (__wcstoull_internal
)
28 libc_hidden_proto (__wcscasecmp_l
)
29 libc_hidden_proto (__wcsncasecmp_l
)
31 libc_hidden_proto (fputws_unlocked
)
32 libc_hidden_proto (putwc_unlocked
)
33 libc_hidden_proto (putwc
)
35 libc_hidden_proto (vswscanf
)
37 libc_hidden_proto (mbrtowc
)
38 libc_hidden_proto (wcrtomb
)
39 libc_hidden_proto (wcscmp
)
40 libc_hidden_proto (wcsftime
)
41 libc_hidden_proto (wcsspn
)
42 libc_hidden_proto (wcschr
)
43 libc_hidden_proto (wcscoll
)
44 libc_hidden_proto (wcspbrk
)
46 libc_hidden_proto (wmemchr
)
47 libc_hidden_proto (wmemset
)
49 /* Now define the internal interfaces. */
50 extern int __wcscasecmp (__const
wchar_t *__s1
, __const
wchar_t *__s2
)
52 extern int __wcsncasecmp (__const
wchar_t *__s1
, __const
wchar_t *__s2
,
55 extern int __wcscoll (__const
wchar_t *__s1
, __const
wchar_t *__s2
);
56 extern size_t __wcslen (__const
wchar_t *__s
) __attribute_pure__
;
57 extern size_t __wcsnlen (__const
wchar_t *__s
, size_t __maxlen
)
59 extern wchar_t *__wcscat (wchar_t *dest
, const wchar_t *src
);
60 extern wint_t __btowc (int __c
);
61 extern int __mbsinit (__const __mbstate_t
*__ps
);
62 extern size_t __mbrtowc (wchar_t *__restrict __pwc
,
63 __const
char *__restrict __s
, size_t __n
,
64 __mbstate_t
*__restrict __p
);
65 libc_hidden_proto (__mbrtowc
)
66 libc_hidden_proto (__mbrlen
)
67 extern size_t __wcrtomb (char *__restrict __s
, wchar_t __wc
,
68 __mbstate_t
*__restrict __ps
);
69 extern size_t __mbsrtowcs (wchar_t *__restrict __dst
,
70 __const
char **__restrict __src
,
71 size_t __len
, __mbstate_t
*__restrict __ps
);
72 extern size_t __wcsrtombs (char *__restrict __dst
,
73 __const
wchar_t **__restrict __src
,
74 size_t __len
, __mbstate_t
*__restrict __ps
);
75 extern size_t __mbsnrtowcs (wchar_t *__restrict __dst
,
76 __const
char **__restrict __src
, size_t __nmc
,
77 size_t __len
, __mbstate_t
*__restrict __ps
);
78 extern size_t __wcsnrtombs (char *__restrict __dst
,
79 __const
wchar_t **__restrict __src
,
80 size_t __nwc
, size_t __len
,
81 __mbstate_t
*__restrict __ps
);
82 extern wchar_t *__wcpcpy (wchar_t *__dest
, __const
wchar_t *__src
);
83 extern wchar_t *__wcpncpy (wchar_t *__dest
, __const
wchar_t *__src
,
85 extern wchar_t *__wmemcpy (wchar_t *__s1
, __const
wchar_t *s2
,
87 extern wchar_t *__wmempcpy (wchar_t *__restrict __s1
,
88 __const
wchar_t *__restrict __s2
,
90 extern wchar_t *__wmemmove (wchar_t *__s1
, __const
wchar_t *__s2
,
92 extern wchar_t *__wcschrnul (__const
wchar_t *__s
, wchar_t __wc
)
95 extern int __vfwscanf (__FILE
*__restrict __s
,
96 __const
wchar_t *__restrict __format
,
98 /* __attribute__ ((__format__ (__wscanf__, 2, 0)) */;
99 extern int __vswprintf (wchar_t *__restrict __s
, size_t __n
,
100 __const
wchar_t *__restrict __format
,
101 __gnuc_va_list __arg
)
102 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
103 extern int __fwprintf (__FILE
*__restrict __s
,
104 __const
wchar_t *__restrict __format
, ...)
105 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;
106 extern int __vfwprintf (__FILE
*__restrict __s
,
107 __const
wchar_t *__restrict __format
,
108 __gnuc_va_list __arg
)
109 /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */;