16#pragma warning(disable: _UCRT_DISABLED_WARNINGS)
36#define stdin (__acrt_iob_func(0))
37#define stdout (__acrt_iob_func(1))
38#define stderr (__acrt_iob_func(2))
40#define WEOF ((wint_t)(0xFFFF))
44#if _CRT_FUNCTIONS_REQUIRED
60 _In_ wchar_t _Character,
65 _In_ wchar_t _Character
106 _In_ wchar_t _Character,
112 _In_ wchar_t _Character
172 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
176 _In_z_ wchar_t const* _Command,
177 _In_z_ wchar_t const* _Mode
186 #pragma push_macro("_wtempnam")
195 #pragma pop_macro("_wtempnam")
230 _In_ wchar_t _Character,
241 _In_ wchar_t _Character,
251 #if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL
252 #define fgetwc(stream) _getwc_nolock(stream)
253 #define fputwc(c, stream) _putwc_nolock(c, stream)
254 #define ungetwc(c, stream) _ungetwc_nolock(c, stream)
261 #pragma managed(push, off)
305 #if defined _NO_CRT_STDIO_INLINE
319 #if defined _NO_CRT_STDIO_INLINE
334 #if defined _NO_CRT_STDIO_INLINE
342 #if __STDC_WANT_SECURE_LIB__
350 #if defined _NO_CRT_STDIO_INLINE
367 #if defined _NO_CRT_STDIO_INLINE
381 #if defined _NO_CRT_STDIO_INLINE
395 #if defined _NO_CRT_STDIO_INLINE
408 #if defined _NO_CRT_STDIO_INLINE
422 #if defined _NO_CRT_STDIO_INLINE
430 #if __STDC_WANT_SECURE_LIB__
437 #if defined _NO_CRT_STDIO_INLINE
453 #if defined _NO_CRT_STDIO_INLINE
466 #if defined _NO_CRT_STDIO_INLINE
480 #if defined _NO_CRT_STDIO_INLINE
498 #if defined _NO_CRT_STDIO_INLINE
517 #if defined _NO_CRT_STDIO_INLINE
530 #if __STDC_WANT_SECURE_LIB__
537 #if defined _NO_CRT_STDIO_INLINE
558 #if defined _NO_CRT_STDIO_INLINE
576 #if defined _NO_CRT_STDIO_INLINE
594 #if defined _NO_CRT_STDIO_INLINE
611 #if defined _NO_CRT_STDIO_INLINE
629 #if defined _NO_CRT_STDIO_INLINE
642 #if __STDC_WANT_SECURE_LIB__
648 #if defined _NO_CRT_STDIO_INLINE
668 #if defined _NO_CRT_STDIO_INLINE
685 #if defined _NO_CRT_STDIO_INLINE
720 #if defined _NO_CRT_STDIO_INLINE
736 #if defined _NO_CRT_STDIO_INLINE
751 #if defined _NO_CRT_STDIO_INLINE
761 #if __STDC_WANT_SECURE_LIB__
769 #if defined _NO_CRT_STDIO_INLINE
784 #if defined _NO_CRT_STDIO_INLINE
797 #if defined _NO_CRT_STDIO_INLINE
811 #if defined _NO_CRT_STDIO_INLINE
819 #if __STDC_WANT_SECURE_LIB__
826 #if defined _NO_CRT_STDIO_INLINE
842 #if defined _NO_CRT_STDIO_INLINE
860 #if defined _NO_CRT_STDIO_INLINE
879 #if defined _NO_CRT_STDIO_INLINE
892 #if __STDC_WANT_SECURE_LIB__
899 #if defined _NO_CRT_STDIO_INLINE
919 #if defined _NO_CRT_STDIO_INLINE
936 #if defined _NO_CRT_STDIO_INLINE
954 #if defined _NO_CRT_STDIO_INLINE
967 #if __STDC_WANT_SECURE_LIB__
973 #if defined _NO_CRT_STDIO_INLINE
995 #ifndef _CRT_NON_CONFORMING_SWPRINTFS
996 #define _SWPRINTFS_DEPRECATED _CRT_DEPRECATE_TEXT( \
997 "function has been changed to conform with the ISO C standard, " \
998 "adding an extra character count parameter. To use the traditional " \
999 "Microsoft version, set _CRT_NON_CONFORMING_SWPRINTFS.")
1001 #define _SWPRINTFS_DEPRECATED
1058 #if defined _NO_CRT_STDIO_INLINE
1080 #if defined _NO_CRT_STDIO_INLINE
1101 #if defined _NO_CRT_STDIO_INLINE
1126 #if defined _NO_CRT_STDIO_INLINE
1152 #if defined _NO_CRT_STDIO_INLINE
1172 #if defined _NO_CRT_STDIO_INLINE
1189 #if defined _NO_CRT_STDIO_INLINE
1205 #if defined _NO_CRT_STDIO_INLINE
1220 #if defined _NO_CRT_STDIO_INLINE
1236 #if defined _NO_CRT_STDIO_INLINE
1253 #if defined _NO_CRT_STDIO_INLINE
1265 #if __STDC_WANT_SECURE_LIB__
1274 #if defined _NO_CRT_STDIO_INLINE
1301 #if defined _NO_CRT_STDIO_INLINE
1321 #if defined _NO_CRT_STDIO_INLINE
1336 #if defined _NO_CRT_STDIO_INLINE
1354 #if defined _NO_CRT_STDIO_INLINE
1369 #if defined _NO_CRT_STDIO_INLINE
1387 #if defined _NO_CRT_STDIO_INLINE
1402 #if defined _NO_CRT_STDIO_INLINE
1423 #if defined _NO_CRT_STDIO_INLINE
1442 #if defined _NO_CRT_STDIO_INLINE
1462 #if defined _NO_CRT_STDIO_INLINE
1499 #if defined _NO_CRT_STDIO_INLINE
1512 #if __STDC_WANT_SECURE_LIB__
1520 #if defined _NO_CRT_STDIO_INLINE
1550 #if defined _NO_CRT_STDIO_INLINE
1570 #if defined _NO_CRT_STDIO_INLINE
1591 #if defined _NO_CRT_STDIO_INLINE
1611 #if defined _NO_CRT_STDIO_INLINE
1632 #if defined _NO_CRT_STDIO_INLINE
1654 #if defined _NO_CRT_STDIO_INLINE
1678 #if defined _NO_CRT_STDIO_INLINE
1699 #if defined _NO_CRT_STDIO_INLINE
1725 #if defined _NO_CRT_STDIO_INLINE
1743 #if defined _NO_CRT_STDIO_INLINE
1762 #if defined _NO_CRT_STDIO_INLINE
1780 #if defined _NO_CRT_STDIO_INLINE
1794 #if !defined RC_INVOKED && !defined __midl && !defined _INC_SWPRINTF_INL_
1797 #pragma warning(push)
1798 #pragma warning(disable: 4141 6054)
1827 inline int _swprintf_l(
1854 #pragma warning(pop)
1857 #if defined _CRT_NON_CONFORMING_SWPRINTFS && !defined __cplusplus
1858 #define swprintf _swprintf
1859 #define vswprintf _vswprintf
1860 #define _swprintf_l __swprintf_l
1861 #define _vswprintf_l __vswprintf_l
1888 #if defined _NO_CRT_STDIO_INLINE
1905 #if defined _NO_CRT_STDIO_INLINE
1921 #if defined _NO_CRT_STDIO_INLINE
1931 #if __STDC_WANT_SECURE_LIB__
1940 #if defined _NO_CRT_STDIO_INLINE
1967 #if defined _NO_CRT_STDIO_INLINE
1986 #if defined _NO_CRT_STDIO_INLINE
2003 #if defined _NO_CRT_STDIO_INLINE
2022 #if defined _NO_CRT_STDIO_INLINE
2042 #if defined _NO_CRT_STDIO_INLINE
2055 #if __STDC_WANT_SECURE_LIB__
2063 #if defined _NO_CRT_STDIO_INLINE
2086 #if defined _NO_CRT_STDIO_INLINE
2108 #if defined _NO_CRT_STDIO_INLINE
2131 #if defined _NO_CRT_STDIO_INLINE
2151 #if defined _NO_CRT_STDIO_INLINE
2165 #pragma managed(pop)
result_buffer_count char *const _In_ int const _In_ bool const _In_ unsigned const _In_ STRFLT const _In_ bool const _Inout_ __crt_cached_ptd_host &ptd throw()
int CDECL _vfwprintf_s_l(FILE *file, const wchar_t *format, _locale_t locale, va_list valist)
int WINAPIV _fwprintf_p(FILE *file, const wchar_t *format,...)
int CDECL _vfwprintf_p(FILE *file, const wchar_t *format, va_list valist)
int WINAPIV _fwprintf_s_l(FILE *file, const wchar_t *format, _locale_t locale,...)
int WINAPIV _fwprintf_l(FILE *file, const wchar_t *format, _locale_t locale,...)
int WINAPIV _fwprintf_p_l(FILE *file, const wchar_t *format, _locale_t locale,...)
int CDECL _vfwprintf_l(FILE *file, const wchar_t *format, _locale_t locale, va_list valist)
int CDECL _wfreopen_s(FILE **pFile, const wchar_t *path, const wchar_t *mode, FILE *file)
int CDECL _vfwprintf_p_l(FILE *file, const wchar_t *format, _locale_t locale, va_list valist)
int CDECL _wtmpnam_s(wchar_t *s, size_t size)
#define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION
#define _CRT_INTERNAL_SCANF_SECURECRT
#define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR
#define _CRT_INTERNAL_LOCAL_SCANF_OPTIONS
#define _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
_ACRTIMP wint_t __cdecl ungetwc(wint_t, FILE *)
_ACRTIMP FILE *__cdecl _wpopen(const wchar_t *, const wchar_t *)
_ACRTIMP int __cdecl swscanf_s(const wchar_t *, const wchar_t *,...)
_ACRTIMP wint_t __cdecl fgetwc(FILE *)
_ACRTIMP int __cdecl vwprintf(const wchar_t *, va_list)
_ACRTIMP int __cdecl _putws(const wchar_t *)
_ACRTIMP int __cdecl swprintf_s(wchar_t *, size_t, const wchar_t *,...)
_ACRTIMP int __cdecl _vsnwprintf_s(wchar_t *, size_t, size_t, const wchar_t *, va_list)
_ACRTIMP int __cdecl _wremove(const wchar_t *)
_ACRTIMP int __cdecl vswprintf_s(wchar_t *, size_t, const wchar_t *, va_list)
_ACRTIMP FILE *__cdecl _wfreopen(const wchar_t *, const wchar_t *, FILE *)
_ACRTIMP wchar_t *__cdecl _wtempnam(const wchar_t *, const wchar_t *)
_ACRTIMP int __cdecl vfwprintf_s(FILE *, const wchar_t *, va_list)
_ACRTIMP FILE *__cdecl _wfsopen(const wchar_t *, const wchar_t *, int)
_ACRTIMP int __cdecl _snwprintf_s(wchar_t *, size_t, size_t, const wchar_t *,...)
_ACRTIMP int __cdecl _vscwprintf(const wchar_t *, va_list)
_ACRTIMP int __cdecl fputws(const wchar_t *, FILE *)
_ACRTIMP wint_t __cdecl _fgetwc_nolock(FILE *)
_ACRTIMP FILE *__cdecl _wfdopen(int, const wchar_t *)
_ACRTIMP int __cdecl fwscanf(FILE *, const wchar_t *,...)
_ACRTIMP wint_t __cdecl _fgetwchar(void)
_ACRTIMP wint_t __cdecl _ungetwc_nolock(wint_t, FILE *)
_ACRTIMP wchar_t *__cdecl _wtmpnam(wchar_t *)
_ACRTIMP int __cdecl _vscwprintf_p_l(const wchar_t *, _locale_t, va_list)
_ACRTIMP FILE *__cdecl _wfopen(const wchar_t *, const wchar_t *)
static int __cdecl vswprintf(wchar_t *buffer, size_t size, const wchar_t *format, va_list args)
_ACRTIMP void __cdecl _wperror(const wchar_t *)
_ACRTIMP wint_t __cdecl _fputwchar(wint_t)
_ACRTIMP int __cdecl swscanf(const wchar_t *, const wchar_t *,...)
_ACRTIMP int __cdecl fwprintf(FILE *, const wchar_t *,...)
_ACRTIMP int __cdecl fwprintf_s(FILE *, const wchar_t *,...)
_ACRTIMP int __cdecl fwscanf_s(FILE *, const wchar_t *,...)
_ACRTIMP errno_t __cdecl _wfopen_s(FILE **, const wchar_t *, const wchar_t *)
_ACRTIMP int __cdecl vfwprintf(FILE *, const wchar_t *, va_list)
_ACRTIMP int __cdecl _scwprintf(const wchar_t *,...)
_ACRTIMP int __cdecl wscanf_s(const wchar_t *,...)
_ACRTIMP wint_t __cdecl _fputwc_nolock(wint_t, FILE *)
_ACRTIMP int __cdecl wprintf_s(const wchar_t *,...)
_ACRTIMP int __cdecl vwprintf_s(const wchar_t *, va_list)
_ACRTIMP int __cdecl wscanf(const wchar_t *,...)
_ACRTIMP int __cdecl _vswprintf_p_l(wchar_t *, size_t, const wchar_t *, _locale_t, va_list)
_ACRTIMP wint_t __cdecl fputwc(wint_t, FILE *)
_ACRTIMP wchar_t *__cdecl fgetws(wchar_t *, int, FILE *)
_ACRTIMP wint_t __cdecl getwchar(void)
_ACRTIMP int __cdecl _snwprintf(wchar_t *, size_t, const wchar_t *,...)
#define __acrt_iob_func(idx)
int CDECL __stdio_common_vswscanf(unsigned __int64 options, const wchar_t *input, size_t length, const wchar_t *format, _locale_t locale, va_list valist)
int WINAPIV _fwscanf_s_l(FILE *file, const wchar_t *format, _locale_t locale,...)
int WINAPIV _swscanf_s_l(const wchar_t *str, const wchar_t *format, _locale_t locale,...)
int WINAPIV _snwscanf_s(wchar_t *input, size_t length, const wchar_t *format,...)
int CDECL __stdio_common_vfwscanf(unsigned __int64 options, FILE *file, const wchar_t *format, _locale_t locale, va_list valist)
int WINAPIV _snwscanf_l(wchar_t *input, size_t length, const wchar_t *format, _locale_t locale,...)
int WINAPIV _wscanf_s_l(const wchar_t *format, _locale_t locale,...)
int WINAPIV _fwscanf_l(FILE *file, const wchar_t *format, _locale_t locale,...)
int WINAPIV _swscanf_l(const wchar_t *str, const wchar_t *format, _locale_t locale,...)
int WINAPIV _wscanf_l(const wchar_t *format, _locale_t locale,...)
int WINAPIV _snwscanf_s_l(wchar_t *input, size_t length, const wchar_t *format, _locale_t locale,...)
int WINAPIV _snwscanf(wchar_t *input, size_t length, const wchar_t *format,...)
int CDECL _vswprintf(wchar_t *str, const wchar_t *format, va_list args)
int CDECL _vsnwprintf_s_l(wchar_t *str, size_t sizeOfBuffer, size_t count, const wchar_t *format, _locale_t locale, va_list valist)
int WINAPIV _scwprintf_p_l(const wchar_t *format, _locale_t locale,...)
int CDECL _vsnwprintf_l(wchar_t *str, size_t len, const wchar_t *format, _locale_t locale, va_list valist)
int CDECL _vswprintf_c(wchar_t *str, size_t len, const wchar_t *format, va_list valist)
int CDECL _vswprintf_l(wchar_t *str, const wchar_t *format, _locale_t locale, va_list args)
int WINAPIV __swprintf_l(wchar_t *str, const wchar_t *format, _locale_t locale,...)
int WINAPIV _snwprintf_s_l(wchar_t *str, size_t len, size_t count, const wchar_t *format, _locale_t locale,...)
int CDECL _vswprintf_c_l(wchar_t *str, size_t len, const wchar_t *format, _locale_t locale, va_list valist)
int WINAPIV _swprintf_p(wchar_t *buffer, size_t length, const wchar_t *format,...)
int WINAPIV _scwprintf_l(const wchar_t *format, _locale_t locale,...)
int CDECL _vscwprintf_l(const wchar_t *format, _locale_t locale, va_list args)
int WINAPIV _swprintf_c_l(wchar_t *str, size_t len, const wchar_t *format, _locale_t locale,...)
int WINAPIV _snwprintf_l(wchar_t *str, size_t len, const wchar_t *format, _locale_t locale,...)
int CDECL _vswprintf_s_l(wchar_t *str, size_t numberOfElements, const wchar_t *format, _locale_t locale, va_list args)
int WINAPIV _swprintf_p_l(wchar_t *buffer, size_t length, const wchar_t *format, _locale_t locale,...)
int WINAPIV _swprintf(wchar_t *str, const wchar_t *format,...)
int WINAPIV _swprintf_c(wchar_t *str, size_t len, const wchar_t *format,...)
int WINAPIV _swprintf_s_l(wchar_t *str, size_t numberOfElements, const wchar_t *format, _locale_t locale,...)
__crt_va_start(_ArgList, _Format)
_In_z_ _Printf_format_string_ char const *const _Format
_In_z_ _Printf_format_string_ char const *const va_list _ArgList
wchar_t *__cdecl _getws_s(wchar_t *const result, size_t const result_size_in_characters)
#define _Out_writes_z_(s)
#define _Outptr_result_maybenull_
#define _Scanf_s_format_string_params_(x)
#define _Out_writes_opt_(s)
#define _Scanf_format_string_params_(x)
#define _Scanf_s_format_string_
#define _Out_writes_opt_z_(s)
#define _Printf_format_string_params_(x)
#define _Scanf_format_string_
#define _Printf_format_string_
int __cdecl __stdio_common_vswprintf(unsigned __int64 const options, wchar_t *const buffer, size_t const buffer_count, wchar_t const *const format, _locale_t const locale, va_list const arglist)
int __cdecl __stdio_common_vfwprintf_s(unsigned __int64 const options, FILE *const stream, wchar_t const *const format, _locale_t const locale, va_list const arglist)
int __cdecl __stdio_common_vfwprintf_p(unsigned __int64 const options, FILE *const stream, wchar_t const *const format, _locale_t const locale, va_list const arglist)
int __cdecl __stdio_common_vfwprintf(unsigned __int64 const options, FILE *const stream, wchar_t const *const format, _locale_t const locale, va_list const arglist)
int __cdecl __stdio_common_vswprintf_s(unsigned __int64 const options, wchar_t *const buffer, size_t const buffer_count, wchar_t const *const format, _locale_t const locale, va_list const arglist)
int __cdecl __stdio_common_vswprintf_p(unsigned __int64 const options, wchar_t *const buffer, size_t const buffer_count, wchar_t const *const format, _locale_t const locale, va_list const arglist)
int __cdecl __stdio_common_vsnwprintf_s(unsigned __int64 const options, wchar_t *const buffer, size_t const buffer_count, size_t const max_count, wchar_t const *const format, _locale_t const locale, va_list const arglist)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(_ReturnType, _FuncName, _VFuncName, _DstType, _Dst, _TType1, _TArg1)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(_ReturnType, _FuncName, _VFuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_ReturnType, _FuncName, _DstType, _Dst)
#define _getwc_nolock(_stm)
#define _putwc_nolock(_c, _stm)
_CRTIMP int __cdecl vswscanf(const wchar_t *, const wchar_t *, va_list)
_CRTIMP int __cdecl vfwscanf(FILE *, const wchar_t *, va_list)
_CRTIMP int __cdecl vwscanf(const wchar_t *, va_list)
_In_ size_t _In_z_ _Printf_format_string_ const char _In_ const struct tm _In_opt_ _locale_t _Locale
_Check_return_opt_ _CRTIMP int __cdecl _wprintf_p_l(_In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_p(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _wprintf_l(_In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _vwprintf_l(_In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _vwprintf_p_l(_In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_ _CRTIMP int __cdecl _vscwprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _vwprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _wprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_CRTIMP int __cdecl __vswprintf_l(wchar_t *_Dest, const wchar_t *_Format, _locale_t _Plocinfo, va_list _Args)
_Check_return_ _CRTIMP int __cdecl _scwprintf_p(_In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_UCRT_DISABLE_CLANG_WARNINGS _CRT_BEGIN_C_HEADER _Check_return_wat_ _In_ size_t _BufferCount
#define _Check_return_opt_
#define __RETURN_POLICY_DST(_FunctionCall)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_ARGLIST_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _CC, _FuncName, _SecureFuncName, _VFuncName, _SecureVFuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_ARGLIST_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _CC, _FuncName, _VFuncName, _SecureVFuncName, _SecureDstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
#define _UCRT_DISABLE_CLANG_WARNINGS
#define _UCRT_RESTORE_CLANG_WARNINGS
#define _Check_return_wat_
#define __RETURN_POLICY_SAME(_FunctionCall)
#define __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_ARGLIST_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _CC, _FuncName, _VFuncName, _SecureDstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
#define _CRT_STDIO_INLINE
_In_ _Pre_notnull_ _Buffer
#define _CRT_END_C_HEADER
#define _CRT_BEGIN_C_HEADER
#define _CRT_INSECURE_DEPRECATE(_Replacement)