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