155 using std::iswalnum;
156 using std::iswspace;
157 using std::iswpunct;
158 using std::iswprint;
159 using std::iswgraph;
160 using std::iswcntrl;
161 using std::iswctype;
162 using std::towlower;
163 using std::towupper;
164 using std::wcswcs;
165 using std::wcswidth;
166 using std::wcwidth;
167 using std::wctype;
168 #endif
169 #endif /* !defined(_STRICT_STDC) || defined(_XOPEN_SOURCE)... */
170
171 #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
172
173 #ifndef _LOCALE_T
174 #define _LOCALE_T
175 typedef struct locale *locale_t;
176 #endif
177
178 extern size_t wcsnlen(const wchar_t *, size_t);
179 extern wchar_t *wcpcpy(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD);
180 extern wchar_t *wcpncpy(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
181 size_t);
182 extern size_t wcsxfrm_l(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
183 size_t, locale_t);
184 extern int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
185 extern wchar_t *wcsdup(const wchar_t *);
186 extern int wcscasecmp(const wchar_t *, const wchar_t *);
187 extern int wcscasecmp_l(const wchar_t *, const wchar_t *, locale_t);
188 extern int wcsncasecmp(const wchar_t *, const wchar_t *, size_t);
189 extern int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t, locale_t);
190 extern size_t mbsnrtowcs(wchar_t *_RESTRICT_KYWD, const char **_RESTRICT_KYWD,
191 size_t, size_t, mbstate_t *_RESTRICT_KYWD);
192
193 #endif /* defined(_XPG7) || !defined(_STRICT_SYMBOLS) */
194
195 #else /* __STDC__ */
|
155 using std::iswalnum;
156 using std::iswspace;
157 using std::iswpunct;
158 using std::iswprint;
159 using std::iswgraph;
160 using std::iswcntrl;
161 using std::iswctype;
162 using std::towlower;
163 using std::towupper;
164 using std::wcswcs;
165 using std::wcswidth;
166 using std::wcwidth;
167 using std::wctype;
168 #endif
169 #endif /* !defined(_STRICT_STDC) || defined(_XOPEN_SOURCE)... */
170
171 #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
172
173 #ifndef _LOCALE_T
174 #define _LOCALE_T
175 typedef struct _locale *locale_t;
176 #endif
177
178 extern size_t wcsnlen(const wchar_t *, size_t);
179 extern wchar_t *wcpcpy(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD);
180 extern wchar_t *wcpncpy(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
181 size_t);
182 extern size_t wcsxfrm_l(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
183 size_t, locale_t);
184 extern int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
185 extern wchar_t *wcsdup(const wchar_t *);
186 extern int wcscasecmp(const wchar_t *, const wchar_t *);
187 extern int wcscasecmp_l(const wchar_t *, const wchar_t *, locale_t);
188 extern int wcsncasecmp(const wchar_t *, const wchar_t *, size_t);
189 extern int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t, locale_t);
190 extern size_t mbsnrtowcs(wchar_t *_RESTRICT_KYWD, const char **_RESTRICT_KYWD,
191 size_t, size_t, mbstate_t *_RESTRICT_KYWD);
192
193 #endif /* defined(_XPG7) || !defined(_STRICT_SYMBOLS) */
194
195 #else /* __STDC__ */
|