Remove "[Add new features here]" for 2.27
[glibc.git] / conform / data / wchar.h-data
blob0beae8957dc47983dcd6149eed937d662098a9e1
1 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42
2 type wchar_t
3 type wint_t
4 # if !defined ISO99 && !defined ISO11 && !defined POSIX2008
5 type wctype_t
6 # endif
7 type mbstate_t
8 # if !defined ISO99 && !defined ISO11
9 type FILE
10 # else
11 #  define FILE __FILE
12 # endif
13 type size_t
14 # if defined XOPEN2K8 || defined POSIX2008
15 type locale_t
16 # endif
17 tag {struct tm}
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)
35 # endif
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*)
48 # endif
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*)
52 # endif
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)
60 # endif
61 function wint_t ungetwc (wint_t, FILE*)
62 function int vfwprintf (FILE*, const wchar_t*, __gnuc_va_list)
63 # ifndef UNIX98
64 function int vfwscanf (FILE*, const wchar_t*, __gnuc_va_list)
65 # endif
66 function int vwprintf (const wchar_t*, __gnuc_va_list)
67 # ifndef UNIX98
68 function int vwscanf (const wchar_t*, __gnuc_va_list)
69 # endif
70 function int vswprintf (wchar_t*, size_t, const wchar_t*, __gnuc_va_list)
71 # ifndef UNIX98
72 function int vswscanf (const wchar_t*, const wchar_t*, __gnuc_va_list)
73 # endif
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)
77 # endif
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)
82 # endif
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)
89 # endif
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*)
94 # endif
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)
100 # endif
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*)
107 # endif
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**)
114 # ifndef UNIX98
115 function float wcstof (const wchar_t*, wchar_t**)
116 function {long double} wcstold (const wchar_t*, wchar_t**)
117 # endif
118 function {wchar_t*} wcstok (wchar_t*, const wchar_t*, wchar_t**)
119 function {long int} wcstol (const wchar_t*, wchar_t**, int)
120 # ifndef UNIX98
121 function {long long int} wcstoll (const wchar_t*, wchar_t**, int)
122 # endif
123 function {unsigned long int} wcstoul (const wchar_t*, wchar_t**, int)
124 # ifndef UNIX98
125 function {unsigned long long int} wcstoull (const wchar_t*, wchar_t**, int)
126 # endif
127 # if defined UNIX98 || defined XOPEN2K
128 function {wchar_t*} wcswcs (const wchar_t*, const wchar_t*)
129 # endif
130 # if !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
131 function int wcswidth (const wchar_t*, size_t)
132 # endif
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)
136 # endif
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)
141 # endif
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
156 allow-header ctype.h
157 allow-header stdio.h
158 allow-header stdarg.h
159 allow-header stdlib.h
160 allow-header string.h
161 allow-header stddef.h
162 allow-header time.h
163 #endif
165 allow wcs[abcdefghijklmnopqrstuvwxyz]*
166 #if !defined ISO && !defined ISO99 && !defined ISO11
167 allow *_t
168 #endif
169 #endif