1 #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
4 # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
8 # if !defined ISO99 && !defined ISO11
14 # if defined XOPEN2K8 || defined POSIX2008
19 function wint_t btowc (int)
20 function int fwprintf (FILE*, const wchar_t*, ...)
21 function int fwscanf (FILE*, const wchar_t*, ...)
22 # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
23 function int iswalnum (wint_t)
24 function int iswalpha (wint_t)
25 function int iswcntrl (wint_t)
26 function int iswdigit (wint_t)
27 function int iswgraph (wint_t)
28 function int iswlower (wint_t)
29 function int iswprint (wint_t)
30 function int iswpunct (wint_t)
31 function int iswspace (wint_t)
32 function int iswupper (wint_t)
33 function int iswxdigit (wint_t)
34 function int iswctype (wint_t, wctype_t)
36 function wint_t fgetwc (FILE*)
37 function {wchar_t*} fgetws (wchar_t*, int, FILE*)
38 function wint_t fputwc (wchar_t, FILE*)
39 function int fputws (const wchar_t*, FILE*)
40 function int fwide (FILE*, int)
41 function wint_t getwc (FILE*)
42 function wint_t getwchar (void)
43 function int mbsinit (const mbstate_t*)
44 function size_t mbrlen (const char*, size_t, mbstate_t*)
45 function size_t mbrtowc (wchar_t*, const char*, size_t, mbstate_t*)
46 # if defined XOPEN2K8 || defined POSIX2008
47 function size_t mbsnrtowcs (wchar_t*, const char**, size_t, size_t, mbstate_t*)
49 function size_t mbsrtowcs (wchar_t*, const char**, size_t, mbstate_t*)
50 # if defined XOPEN2K8 || defined POSIX2008
51 function {FILE*} open_wmemstream (wchar_t**, size_t*)
53 function wint_t putwc (wchar_t, FILE*)
54 function wint_t putwchar (wchar_t)
55 function int swprintf (wchar_t*, size_t, const wchar_t*, ...)
56 function int swscanf (const wchar_t*, const wchar_t*, ...)
57 # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
58 function wint_t towlower (wint_t)
59 function wint_t towupper (wint_t)
61 function wint_t ungetwc (wint_t, FILE*)
62 function int vfwprintf (FILE*, const wchar_t*, __gnuc_va_list)
64 function int vfwscanf (FILE*, const wchar_t*, __gnuc_va_list)
66 function int vwprintf (const wchar_t*, __gnuc_va_list)
68 function int vwscanf (const wchar_t*, __gnuc_va_list)
70 function int vswprintf (wchar_t*, size_t, const wchar_t*, __gnuc_va_list)
72 function int vswscanf (const wchar_t*, const wchar_t*, __gnuc_va_list)
74 # if defined XOPEN2K8 || defined POSIX2008
75 function {wchar_t*} wcpcpy (wchar_t*, const wchar_t*)
76 function {wchar_t*} wcpncpy (wchar_t*, const wchar_t*, size_t)
78 function size_t wcrtomb (char*, wchar_t, mbstate_t*)
79 # if defined XOPEN2K8 || defined POSIX2008
80 function int wcscasecmp(const wchar_t*, const wchar_t*)
81 function int wcscasecmp_l(const wchar_t*, const wchar_t*, locale_t)
83 function {wchar_t*} wcscat (wchar_t*, const wchar_t*)
84 function {wchar_t*} wcschr (const wchar_t*, wchar_t)
85 function int wcscmp (const wchar_t*, const wchar_t*)
86 function int wcscoll (const wchar_t*, const wchar_t*)
87 # if defined XOPEN2K8 || defined POSIX2008
88 function int wcscoll_l (const wchar_t*, const wchar_t*, locale_t)
90 function {wchar_t*} wcscpy (wchar_t*, const wchar_t*)
91 function size_t wcscspn (const wchar_t*, const wchar_t*)
92 # if defined XOPEN2K8 || defined POSIX2008
93 function {wchar_t*} wcsdup (const wchar_t*)
95 function size_t wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*)
96 function size_t wcslen (const wchar_t*)
97 # if defined XOPEN2K8 || defined POSIX2008
98 function int wcsncasecmp (const wchar_t*, const wchar_t*, size_t)
99 function int wcsncasecmp_l (const wchar_t*, const wchar_t*, size_t, locale_t)
101 function {wchar_t*} wcsncat (wchar_t*, const wchar_t*, size_t)
102 function int wcsncmp (const wchar_t*, const wchar_t*, size_t)
103 function {wchar_t*} wcsncpy (wchar_t*, const wchar_t*, size_t)
104 # if defined XOPEN2K8 || defined POSIX2008
105 function size_t wcsnlen (const wchar_t*, size_t)
106 function size_t wcsnrtombs (char*, const wchar_t**, size_t, size_t, mbstate_t*)
108 function {wchar_t*} wcspbrk (const wchar_t*, const wchar_t*)
109 function {wchar_t*} wcsrchr (const wchar_t*, wchar_t)
110 function size_t wcsrtombs (char*, const wchar_t**, size_t, mbstate_t*)
111 function size_t wcsspn (const wchar_t*, const wchar_t*)
112 function {wchar_t*} wcsstr (const wchar_t*, const wchar_t*)
113 function double wcstod (const wchar_t*, wchar_t**)
115 function float wcstof (const wchar_t*, wchar_t**)
116 function {long double} wcstold (const wchar_t*, wchar_t**)
118 function {wchar_t*} wcstok (wchar_t*, const wchar_t*, wchar_t**)
119 function {long int} wcstol (const wchar_t*, wchar_t**, int)
121 function {long long int} wcstoll (const wchar_t*, wchar_t**, int)
123 function {unsigned long int} wcstoul (const wchar_t*, wchar_t**, int)
125 function {unsigned long long int} wcstoull (const wchar_t*, wchar_t**, int)
127 # if defined UNIX98 || defined XOPEN2K
128 function {wchar_t*} wcswcs (const wchar_t*, const wchar_t*)
130 # if !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
131 function int wcswidth (const wchar_t*, size_t)
133 function size_t wcsxfrm (wchar_t*, const wchar_t*, size_t)
134 # if defined XOPEN2K8 || defined POSIX2008
135 function size_t wcsxfrm_l (wchar_t*, const wchar_t*, size_t, locale_t)
137 function int wctob (wint_t)
138 # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
139 function wctype_t wctype (const char*)
140 function int wcwidth (wchar_t)
142 function {wchar_t*} wmemchr (const wchar_t*, wchar_t, size_t)
143 function int wmemcmp (const wchar_t*, const wchar_t*, size_t)
144 function {wchar_t*} wmemcpy (wchar_t*, const wchar_t*, size_t)
145 function {wchar_t*} wmemmove (wchar_t*, const wchar_t*, size_t)
146 function {wchar_t*} wmemset (wchar_t*, wchar_t, size_t)
147 function int wprintf (const wchar_t*, ...)
148 function int wscanf (const wchar_t*, ...)
150 macro-int-constant WCHAR_MIN {promoted:wchar_t}
151 macro-int-constant WCHAR_MAX {promoted:wchar_t} >= 127
152 macro-constant WEOF {wint_t}
153 macro-constant NULL == 0
155 #if !defined ISO && !defined ISO99 && !defined ISO11
158 allow-header stdarg.h
159 allow-header stdlib.h
160 allow-header string.h
161 allow-header stddef.h
165 allow wcs[abcdefghijklmnopqrstuvwxyz]*
166 #if !defined ISO && !defined ISO99 && !defined ISO11