31#ifndef _RWSTD_NO_DEPRECATED_C_HEADERS
32# ifndef _RWSTD_WCHAR_H_INCLUDED
33# define _RWSTD_WCHAR_H_INCLUDED
37# ifndef _RWSTD_NO_NAMESPACE
39#ifndef _RWSTD_NO_MBSTATE_T
42#ifndef _RWSTD_NO_WINT_T
46#ifndef _RWSTD_NO_BTOWC
49#ifndef _RWSTD_NO_FGETWC
52#ifndef _RWSTD_NO_FGETWS
55#ifndef _RWSTD_NO_FPUTWC
58#ifndef _RWSTD_NO_FPUTWS
61#ifndef _RWSTD_NO_FWPRINTF
64#ifndef _RWSTD_NO_FWSCANF
67#ifndef _RWSTD_NO_GETWC
70#ifndef _RWSTD_NO_GETWCHAR
73#ifndef _RWSTD_NO_MBRLEN
76#ifndef _RWSTD_NO_MBRTOWC
79#ifndef _RWSTD_NO_MBSINIT
82#ifndef _RWSTD_NO_MBSRTOWCS
85#ifndef _RWSTD_NO_PUTWC
88#ifndef _RWSTD_NO_PUTWCHAR
91#ifndef _RWSTD_NO_SWPRINTF
94#ifndef _RWSTD_NO_SWSCANF
97#ifndef _RWSTD_NO_UNGETWC
100#ifndef _RWSTD_NO_VFWPRINTF
103#ifndef _RWSTD_NO_VWPRINTF
106#ifndef _RWSTD_NO_WCRTOMB
109#ifndef _RWSTD_NO_WCSCAT
112#ifndef _RWSTD_NO_WCSCHR
115#ifndef _RWSTD_NO_WCSCMP
118#ifndef _RWSTD_NO_WCSCOLL
121#ifndef _RWSTD_NO_WCSCPY
124#ifndef _RWSTD_NO_WCSCSPN
127#ifndef _RWSTD_NO_WCSLEN
130#ifndef _RWSTD_NO_WCSNCAT
133#ifndef _RWSTD_NO_WCSNCMP
136#ifndef _RWSTD_NO_WCSNCPY
139#ifndef _RWSTD_NO_WCSPBRK
142#ifndef _RWSTD_NO_WCSRCHR
145#ifndef _RWSTD_NO_WCSRTOMBS
148#ifndef _RWSTD_NO_WCSSPN
151#ifndef _RWSTD_NO_WCSSTR
154#ifndef _RWSTD_NO_WCSTOD
157#ifndef _RWSTD_NO_WCSTOK
160#ifndef _RWSTD_NO_WCSTOL
163#ifndef _RWSTD_NO_WCSTOUL
166#ifndef _RWSTD_NO_WCSXFRM
169#ifndef _RWSTD_NO_WCTOB
172#ifndef _RWSTD_NO_WMEMCHR
175#ifndef _RWSTD_NO_WMEMCMP
178#ifndef _RWSTD_NO_WMEMCPY
181#ifndef _RWSTD_NO_WMEMMOVE
184#ifndef _RWSTD_NO_WMEMSET
187#ifndef _RWSTD_NO_WPRINTF
190#ifndef _RWSTD_NO_WSCANF
199# include _RWSTD_ANSI_C_WCHAR_H
204# define WCHAR_MAX _RWSTD_WCHAR_MAX
208# define WCHAR_MIN _RWSTD_WCHAR_MIN
216# if defined (_RWSTD_NO_MBSTATE_T) && defined (_RWSTD_MBSTATE_T)
220# if defined (_RWSTD_NO_FWPRINTF) && !defined (_RWSTD_NO_FWPRINTF_IN_LIBC)
221int fwprintf (
FILE*,
const wchar_t*, ...);
222# undef _RWSTD_NO_FWPRINTF
225# if defined (_RWSTD_NO_FWSCANF) && !defined (_RWSTD_NO_FWSCANF_IN_LIBC)
226int fwscanf (
FILE*,
const wchar_t*, ...);
227# undef _RWSTD_NO_FWSCANF
230# if defined (_RWSTD_NO_SWPRINTF) && !defined (_RWSTD_NO_SWPRINTF_IN_LIBC)
231# if !defined (_MSC_VER)
234int swprintf (
wchar_t*, _RWSTD_SIZE_T,
const wchar_t*, ...);
237# undef _RWSTD_NO_SWPRINTF
240# if defined (_RWSTD_NO_SWSCANF) && !defined (_RWSTD_NO_SWSCANF_IN_LIBC)
241int swscanf (
const wchar_t*,
const wchar_t*, ...);
242# undef _RWSTD_NO_SWSCANF
245# ifdef _RWSTD_VA_LIST
246# if defined (_RWSTD_NO_VFWPRINTF) && !defined (_RWSTD_NO_VFWPRINTF_IN_LIBC)
247int vfwprintf (
FILE*,
const wchar_t*, _RWSTD_VA_LIST);
248# undef _RWSTD_NO_VFWPRINTF
251# if defined (_RWSTD_NO_VFWSCANF) && !defined (_RWSTD_NO_VFWSCANF_IN_LIBC)
252int vfwscanf (
FILE*,
const wchar_t*, _RWSTD_VA_LIST);
253# undef _RWSTD_NO_VFWSCANF
256# if defined (_RWSTD_NO_VWPRINTF) && !defined (_RWSTD_NO_VWPRINTF_IN_LIBC)
257int vwprintf (
const wchar_t*, _RWSTD_VA_LIST);
258# undef _RWSTD_NO_VWPRINTF
261# if defined (_RWSTD_NO_VWSCANF) && !defined (_RWSTD_NO_VWSCANF_IN_LIBC)
262int vwscanf (
const wchar_t*, _RWSTD_VA_LIST);
263# undef _RWSTD_NO_VWSCANF
267# if defined (_RWSTD_NO_MBRLEN) && !defined (_RWSTD_NO_MBRLEN_IN_LIBC)
269# undef _RWSTD_NO_MBRLEN
272# if defined (_RWSTD_NO_MBRTOWC) && !defined (_RWSTD_NO_MBRTOWC_IN_LIBC)
273_RWSTD_SIZE_T mbrtowc (
wchar_t*,
const char*, _RWSTD_SIZE_T,
_RWSTD_MBSTATE_T*);
274# undef _RWSTD_NO_MBRTOWC
277# if defined (_RWSTD_NO_MBSINIT) && !defined (_RWSTD_NO_MBSINIT_IN_LIBC)
279# undef _RWSTD_NO_MBSINIT
282# if defined (_RWSTD_NO_MBSRTOWCS) && !defined (_RWSTD_NO_MBSRTOWCS_IN_LIBC)
283_RWSTD_SIZE_T mbsrtowcs (
const wchar_t*,
const char**, _RWSTD_SIZE_T,
285# undef _RWSTD_NO_MBSRTOWCS
288# if defined (_RWSTD_NO_WCRTOMB) && !defined (_RWSTD_NO_WCRTOMB_IN_LIBC)
290# undef _RWSTD_NO_WCRTOMB
293# if defined (_RWSTD_NO_WCSRTOMBS) && !defined (_RWSTD_NO_WCSRTOMBS_IN_LIBC)
294_RWSTD_SIZE_T wcsrtombs (
char*,
const char**, _RWSTD_SIZE_T,
296# undef _RWSTD_NO_WCSRTOMBS
300# if defined (_RWSTD_NO_WCSCHR) && !defined (_RWSTD_NO_WCSCHR_IN_LIBC)
302wchar_t* wcschr (
wchar_t*,
wchar_t);
307wcschr (
const wchar_t *__s,
wchar_t __c)
314# undef _RWSTD_NO_WCSCHR
318# if defined (_RWSTD_NO_WCSRCHR) && !defined (_RWSTD_NO_WCSRCHR_IN_LIBC)
320wchar_t* wcsrchr (
wchar_t*,
wchar_t);
325wcsrchr (
const wchar_t *__s,
wchar_t __c)
332# undef _RWSTD_NO_WCSCHR
336# if defined (_RWSTD_NO_WCSSTR) && !defined (_RWSTD_NO_WCSSTR_IN_LIBC)
338wchar_t* wcsstr (
wchar_t*,
const wchar_t*);
343wcsstr (
const wchar_t *__s1,
const wchar_t *__s2)
350# undef _RWSTD_NO_WCSSTR
354# if defined (_RWSTD_NO_WMEMCHR) && !defined (_RWSTD_NO_WMEMCHR_IN_LIBC)
356wchar_t* wmemchr (
wchar_t*,
wchar_t, _RWSTD_SIZE_T);
361wmemchr (
const wchar_t *__s,
wchar_t __c, _RWSTD_SIZE_T __n)
368# undef _RWSTD_NO_WMEMCHR
372# if defined (_RWSTD_NO_WMEMCMP) && !defined (_RWSTD_NO_WMEMCMP_IN_LIBC)
373int wmemcmp (
const wchar_t*,
const wchar_t*, _RWSTD_SIZE_T);
374# undef _RWSTD_NO_WMEMCMP
377# if defined (_RWSTD_NO_WMEMCPY) && !defined (_RWSTD_NO_WMEMCPY_IN_LIBC)
378wchar_t* wmemcpy (
wchar_t*,
const wchar_t*, _RWSTD_SIZE_T);
379# undef _RWSTD_NO_WMEMCPY
382# if defined (_RWSTD_NO_WMEMMOVE) && !defined (_RWSTD_NO_WMEMMOVE_IN_LIBC)
383wchar_t* wmemmove (
wchar_t*,
const wchar_t*, _RWSTD_SIZE_T);
384# undef _RWSTD_NO_WMEMMOVE
387# if defined (_RWSTD_NO_WMEMSET) && !defined (_RWSTD_NO_WMEMSET_IN_LIBC)
388wchar_t* wmemset (
wchar_t*,
wchar_t, _RWSTD_SIZE_T);
389# undef _RWSTD_NO_WMEMSET
393# if defined (_RWSTD_NO_WPRINTF) && !defined (_RWSTD_NO_WPRINTF_IN_LIBC)
394int wprintf (
const wchar_t*, ...);
395# undef _RWSTD_NO_WPRINTF
398# if defined (_RWSTD_NO_WSCANF) && !defined (_RWSTD_NO_WSCANF_IN_LIBC)
399int wscanf (
const wchar_t*, ...);
400# undef _RWSTD_NO_WSCANF
403# if defined (_RWSTD_NO_WCTOB) && !defined (_RWSTD_NO_WCTOB_IN_LIBC)
405# undef _RWSTD_NO_WCTOB
#define _RWSTD_CONST_CAST(T, x)