(output_hostent): Don't crash if h_aliases is NULL.
[glibc.git] / include / wchar.h
blobf000331a6fb36e230d0781b9d9f730b1518d95e8
1 #ifndef _WCHAR_H
2 #include <wcsmbs/wchar.h>
4 # ifdef _WCHAR_H
5 /* Now define the internal interfaces. */
6 extern int __wcscasecmp __P ((__const wchar_t *__s1, __const wchar_t *__s2));
7 extern int __wcsncasecmp __P ((__const wchar_t *__s1, __const wchar_t *__s2,
8 size_t __n));
9 extern size_t __wcsnlen __P ((__const wchar_t *__s, size_t __maxlen));
10 extern wint_t __btowc __P ((int __c));
11 extern int __mbsinit __P ((__const __mbstate_t *__ps));
12 extern size_t __mbrtowc __P ((wchar_t *__restrict __pwc,
13 __const char *__restrict __s, size_t __n,
14 __mbstate_t *__restrict __p));
15 extern size_t __wcrtomb __P ((char *__restrict __s, wchar_t __wc,
16 __mbstate_t *__restrict __ps));
17 extern size_t __mbsrtowcs __P ((wchar_t *__restrict __dst,
18 __const char **__restrict __src,
19 size_t __len, __mbstate_t *__restrict __ps));
20 extern size_t __wcsrtombs __P ((char *__restrict __dst,
21 __const wchar_t **__restrict __src,
22 size_t __len, __mbstate_t *__restrict __ps));
23 extern size_t __mbsnrtowcs __P ((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 __P ((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 __P ((wchar_t *__dest, __const wchar_t *__src));
31 extern wchar_t *__wcpncpy __P ((wchar_t *__dest, __const wchar_t *__src,
32 size_t __n));
33 extern wchar_t *__wmemcpy __P ((wchar_t *__s1, __const wchar_t *s2,
34 size_t __n));
35 extern wchar_t *__wmempcpy __P ((wchar_t *__restrict __s1,
36 __const wchar_t *__restrict __s2,
37 size_t __n));
38 extern wchar_t *__wmemmove __P ((wchar_t *__s1, __const wchar_t *__s2,
39 size_t __n));
40 extern wchar_t *__wcschrnul __P ((__const wchar_t *__s, wchar_t __wc));
42 extern int __vfwscanf __P ((FILE *__restrict __s,
43 __const wchar_t *__restrict __format,
44 __gnuc_va_list __arg))
45 /* __attribute__ ((__format__ (__wscanf__, 2, 0))) */;
46 # endif
47 #endif