33 #define stdin (__acrt_iob_func(0))
34 #define stdout (__acrt_iob_func(1))
35 #define stderr (__acrt_iob_func(2))
37 #define WEOF ((wint_t)(0xFFFF))
41 #if _CRT_FUNCTIONS_REQUIRED
57 _In_ wchar_t _Character,
62 _In_ wchar_t _Character
84 _In_z_ wchar_t const* _Buffer,
92 _In_ size_t _BufferCount
103 _In_ wchar_t _Character,
109 _In_ wchar_t _Character
114 _In_z_ wchar_t const* _Buffer
125 _In_ int _FileHandle,
132 _In_z_ wchar_t const* _Mode
138 _In_z_ wchar_t const* _FileName,
139 _In_z_ wchar_t const* _Mode
145 _In_z_ wchar_t const* _FileName,
146 _In_z_ wchar_t const* _Mode,
153 _In_z_ wchar_t const* _FileName,
154 _In_z_ wchar_t const* _Mode,
160 _In_z_ wchar_t const* _FileName,
161 _In_z_ wchar_t const* _Mode,
169 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
173 _In_z_ wchar_t const* _Command,
174 _In_z_ wchar_t const* _Mode
180 _In_z_ wchar_t const* _FileName
183 #pragma push_macro("_wtempnam")
192 #pragma pop_macro("_wtempnam")
198 _In_ size_t _BufferCount
227 _In_ wchar_t _Character,
238 _In_ wchar_t _Character,
248 #if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL
249 #define fgetwc(stream) _getwc_nolock(stream)
250 #define fputwc(c, stream) _putwc_nolock(c, stream)
251 #define ungetwc(c, stream) _ungetwc_nolock(c, stream)
258 #pragma managed(push, off)
270 _In_ unsigned __int64 _Options,
279 _In_ unsigned __int64 _Options,
288 _In_ unsigned __int64 _Options,
302 #if defined _NO_CRT_STDIO_INLINE
316 #if defined _NO_CRT_STDIO_INLINE
331 #if defined _NO_CRT_STDIO_INLINE
339 #if __STDC_WANT_SECURE_LIB__
347 #if defined _NO_CRT_STDIO_INLINE
364 #if defined _NO_CRT_STDIO_INLINE
378 #if defined _NO_CRT_STDIO_INLINE
392 #if defined _NO_CRT_STDIO_INLINE
405 #if defined _NO_CRT_STDIO_INLINE
419 #if defined _NO_CRT_STDIO_INLINE
427 #if __STDC_WANT_SECURE_LIB__
434 #if defined _NO_CRT_STDIO_INLINE
450 #if defined _NO_CRT_STDIO_INLINE
463 #if defined _NO_CRT_STDIO_INLINE
477 #if defined _NO_CRT_STDIO_INLINE
484 _Result =
_vfwprintf_l(_Stream, _Format, _Locale, _ArgList);
495 #if defined _NO_CRT_STDIO_INLINE
514 #if defined _NO_CRT_STDIO_INLINE
527 #if __STDC_WANT_SECURE_LIB__
534 #if defined _NO_CRT_STDIO_INLINE
555 #if defined _NO_CRT_STDIO_INLINE
573 #if defined _NO_CRT_STDIO_INLINE
591 #if defined _NO_CRT_STDIO_INLINE
608 #if defined _NO_CRT_STDIO_INLINE
626 #if defined _NO_CRT_STDIO_INLINE
639 #if __STDC_WANT_SECURE_LIB__
645 #if defined _NO_CRT_STDIO_INLINE
665 #if defined _NO_CRT_STDIO_INLINE
682 #if defined _NO_CRT_STDIO_INLINE
703 _In_ unsigned __int64 _Options,
717 #if defined _NO_CRT_STDIO_INLINE
723 _Stream, _Format, _Locale, _ArgList);
733 #if defined _NO_CRT_STDIO_INLINE
748 #if defined _NO_CRT_STDIO_INLINE
754 _Stream, _Format, _Locale, _ArgList);
758 #if __STDC_WANT_SECURE_LIB__
766 #if defined _NO_CRT_STDIO_INLINE
781 #if defined _NO_CRT_STDIO_INLINE
794 #if defined _NO_CRT_STDIO_INLINE
808 #if defined _NO_CRT_STDIO_INLINE
816 #if __STDC_WANT_SECURE_LIB__
823 #if defined _NO_CRT_STDIO_INLINE
839 #if defined _NO_CRT_STDIO_INLINE // SCANF
857 #if defined _NO_CRT_STDIO_INLINE // SCANF
876 #if defined _NO_CRT_STDIO_INLINE // SCANF
883 _Result =
_vfwscanf_s_l(_Stream, _Format, _Locale, _ArgList);
889 #if __STDC_WANT_SECURE_LIB__
896 #if defined _NO_CRT_STDIO_INLINE // SCANF
916 #if defined _NO_CRT_STDIO_INLINE // SCANF
933 #if defined _NO_CRT_STDIO_INLINE // SCANF
951 #if defined _NO_CRT_STDIO_INLINE // SCANF
964 #if __STDC_WANT_SECURE_LIB__
970 #if defined _NO_CRT_STDIO_INLINE // SCANF
992 #ifndef _CRT_NON_CONFORMING_SWPRINTFS
993 #define _SWPRINTFS_DEPRECATED _CRT_DEPRECATE_TEXT( \
994 "function has been changed to conform with the ISO C standard, " \
995 "adding an extra character count parameter. To use the traditional " \
996 "Microsoft version, set _CRT_NON_CONFORMING_SWPRINTFS.")
998 #define _SWPRINTFS_DEPRECATED
1003 _ACRTIMP int __cdecl __stdio_common_vswprintf(
1004 _In_ unsigned __int64 _Options,
1006 _In_ size_t _BufferCount,
1014 _ACRTIMP int __cdecl __stdio_common_vswprintf_s(
1015 _In_ unsigned __int64 _Options,
1017 _In_ size_t _BufferCount,
1025 _ACRTIMP int __cdecl __stdio_common_vsnwprintf_s(
1026 _In_ unsigned __int64 _Options,
1037 _ACRTIMP int __cdecl __stdio_common_vswprintf_p(
1038 _In_ unsigned __int64 _Options,
1040 _In_ size_t _BufferCount,
1050 _In_ size_t const _BufferCount,
1055 #if defined _NO_CRT_STDIO_INLINE
1059 int const _Result = __stdio_common_vswprintf(
1061 _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1063 return _Result < 0 ? -1 :
_Result;
1067 #pragma warning(push)
1068 #pragma warning(disable: 4793)
1074 _In_ size_t const _BufferCount,
1075 _In_ size_t const _MaxCount,
1080 #if defined _NO_CRT_STDIO_INLINE
1084 int const _Result = __stdio_common_vsnwprintf_s(
1086 _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);
1088 return _Result < 0 ? -1 :
_Result;
1096 _In_ size_t const _BufferCount,
1097 _In_ size_t const _MaxCount,
1101 #if defined _NO_CRT_STDIO_INLINE
1105 return _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,
NULL, _ArgList);
1114 _In_ size_t, _BufferCount,
1118 #pragma warning(pop)
1124 _In_ size_t _BufferCount,
1128 #if defined _NO_CRT_STDIO_INLINE
1132 #pragma warning(push)
1133 #pragma warning(disable: 4996) // Deprecation
1134 return _vsnwprintf_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1135 #pragma warning(pop)
1142 _Always_(_Post_z_)
wchar_t, _Buffer,
1143 _In_ size_t, _BufferCount,
1152 _In_ size_t const _BufferCount,
1157 #if defined _NO_CRT_STDIO_INLINE
1161 int const _Result = __stdio_common_vswprintf(
1163 _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1165 return _Result < 0 ? -1 :
_Result;
1173 _In_ size_t const _BufferCount,
1177 #if defined _NO_CRT_STDIO_INLINE
1181 return _vswprintf_c_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1189 _In_ size_t const _BufferCount,
1194 #if defined _NO_CRT_STDIO_INLINE
1198 #pragma warning(push)
1199 #pragma warning(disable: 4996) // Deprecation
1200 return _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1201 #pragma warning(pop)
1213 #if defined _NO_CRT_STDIO_INLINE
1217 return _vswprintf_l(_Buffer, (
size_t)-1, _Format, _Locale, _ArgList);
1228 #if defined _NO_CRT_STDIO_INLINE
1232 return _vswprintf_l(_Buffer, (
size_t)-1, _Format,
NULL, _ArgList);
1240 _In_ size_t const _BufferCount,
1244 #if defined _NO_CRT_STDIO_INLINE
1248 return _vswprintf_c_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1256 _In_ size_t const _BufferCount,
1261 #if defined _NO_CRT_STDIO_INLINE
1265 int const _Result = __stdio_common_vswprintf_s(
1267 _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1269 return _Result < 0 ? -1 :
_Result;
1273 #if __STDC_WANT_SECURE_LIB__
1278 _In_ size_t const _BufferCount,
1282 #if defined _NO_CRT_STDIO_INLINE
1286 return _vswprintf_s_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1295 _Always_(_Post_z_)
wchar_t, _Buffer,
1304 _In_ size_t const _BufferCount,
1309 #if defined _NO_CRT_STDIO_INLINE
1313 int const _Result = __stdio_common_vswprintf_p(
1315 _Buffer, _BufferCount, _Format, _Locale, _ArgList);
1317 return _Result < 0 ? -1 :
_Result;
1325 _In_ size_t const _BufferCount,
1329 #if defined _NO_CRT_STDIO_INLINE
1333 return _vswprintf_p_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1344 #if defined _NO_CRT_STDIO_INLINE
1348 int const _Result = __stdio_common_vswprintf(
1350 NULL, 0, _Format, _Locale, _ArgList);
1352 return _Result < 0 ? -1 :
_Result;
1362 #if defined _NO_CRT_STDIO_INLINE
1366 return _vscwprintf_l(_Format,
NULL, _ArgList);
1377 #if defined _NO_CRT_STDIO_INLINE
1381 int const _Result = __stdio_common_vswprintf_p(
1383 NULL, 0, _Format, _Locale, _ArgList);
1385 return _Result < 0 ? -1 :
_Result;
1395 #if defined _NO_CRT_STDIO_INLINE
1399 return _vscwprintf_p_l(_Format,
NULL, _ArgList);
1410 #if defined _NO_CRT_STDIO_INLINE
1417 _Result = __vswprintf_l(_Buffer, _Format, _Locale, _ArgList);
1427 _In_ size_t const _BufferCount,
1431 #if defined _NO_CRT_STDIO_INLINE
1438 _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1450 #if defined _NO_CRT_STDIO_INLINE
1457 _Result = __vswprintf_l(_Buffer, _Format,
NULL, _ArgList);
1467 _In_ size_t const _BufferCount,
1470 #if defined _NO_CRT_STDIO_INLINE
1477 _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1483 #pragma warning(push)
1486 #pragma warning(disable:4793 4996)
1504 #pragma warning(pop)
1508 _CRT_STDIO_INLINE
int __CRTDECL _swprintf_s_l(
1510 _In_ size_t const _BufferCount,
1514 #if defined _NO_CRT_STDIO_INLINE
1521 _Result = _vswprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1527 #if __STDC_WANT_SECURE_LIB__
1530 _CRT_STDIO_INLINE
int __CRTDECL swprintf_s(
1532 _In_ size_t const _BufferCount,
1535 #if defined _NO_CRT_STDIO_INLINE
1542 _Result = _vswprintf_s_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1552 int, swprintf_s, vswprintf_s,
1553 _Always_(_Post_z_)
wchar_t, _Buffer,
1559 _CRT_STDIO_INLINE
int __CRTDECL _swprintf_p_l(
1561 _In_ size_t const _BufferCount,
1565 #if defined _NO_CRT_STDIO_INLINE
1572 _Result = _vswprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1580 _CRT_STDIO_INLINE
int __CRTDECL _swprintf_p(
1582 _In_ size_t const _BufferCount,
1585 #if defined _NO_CRT_STDIO_INLINE
1592 _Result = _vswprintf_p_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1600 _CRT_STDIO_INLINE
int __CRTDECL _swprintf_c_l(
1602 _In_ size_t const _BufferCount,
1606 #if defined _NO_CRT_STDIO_INLINE
1613 _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1621 _CRT_STDIO_INLINE
int __CRTDECL _swprintf_c(
1623 _In_ size_t const _BufferCount,
1626 #if defined _NO_CRT_STDIO_INLINE
1633 _Result = _vswprintf_c_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1641 _CRT_STDIO_INLINE
int __CRTDECL _snwprintf_l(
1643 _In_ size_t const _BufferCount,
1647 #if defined _NO_CRT_STDIO_INLINE
1655 #pragma warning(push)
1656 #pragma warning(disable: 4996) // Deprecation
1657 _Result = _vsnwprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
1658 #pragma warning(pop)
1667 _CRT_STDIO_INLINE
int __CRTDECL _snwprintf(
1669 _In_ size_t _BufferCount,
1672 #if defined _NO_CRT_STDIO_INLINE
1680 #pragma warning(push)
1681 #pragma warning(disable: 4996) // Deprecation
1682 _Result = _vsnwprintf_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
1683 #pragma warning(pop)
1692 _CRT_STDIO_INLINE
int __CRTDECL _snwprintf_s_l(
1694 _In_ size_t const _BufferCount,
1695 _In_ size_t const _MaxCount,
1699 #if defined _NO_CRT_STDIO_INLINE
1706 _Result = _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);
1714 _CRT_STDIO_INLINE
int __CRTDECL _snwprintf_s(
1716 _In_ size_t const _BufferCount,
1717 _In_ size_t const _MaxCount,
1720 #if defined _NO_CRT_STDIO_INLINE
1727 _Result = _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,
NULL, _ArgList);
1735 int, _snwprintf_s, _vsnwprintf_s,
1736 _Always_(_Post_z_)
wchar_t, _Buffer,
1737 _In_ size_t, _BufferCount,
1742 _CRT_STDIO_INLINE
int __CRTDECL _scwprintf_l(
1746 #if defined _NO_CRT_STDIO_INLINE
1753 _Result = _vscwprintf_l(_Format, _Locale, _ArgList);
1761 _CRT_STDIO_INLINE
int __CRTDECL _scwprintf(
1764 #if defined _NO_CRT_STDIO_INLINE
1771 _Result = _vscwprintf_l(_Format,
NULL, _ArgList);
1779 _CRT_STDIO_INLINE
int __CRTDECL _scwprintf_p_l(
1783 #if defined _NO_CRT_STDIO_INLINE
1790 _Result = _vscwprintf_p_l(_Format, _Locale, _ArgList);
1798 _CRT_STDIO_INLINE
int __CRTDECL _scwprintf_p(
1801 #if defined _NO_CRT_STDIO_INLINE
1808 _Result = _vscwprintf_p_l(_Format,
NULL, _ArgList);
1815 #if !defined RC_INVOKED && !defined __midl && !defined _INC_SWPRINTF_INL_
1816 #pragma warning(push)
1817 #pragma warning(disable: 4141 4412 4793 4996 6054)
1822 inline
int swprintf(
1830 #pragma warning(suppress: 28719)
1831 _Result = vswprintf(_Buffer,
_CRT_INT_MAX, _Format, _ArgList);
1837 inline
int __CRTDECL vswprintf(
1843 #pragma warning(suppress: 28719)
1844 return vswprintf(_Buffer,
_CRT_INT_MAX, _Format, _ArgList);
1848 inline
int _swprintf_l(
1857 _Result = _vswprintf_l(_Buffer, (
size_t)-1, _Format, _Locale, _ArgList);
1863 inline
int __CRTDECL _vswprintf_l(
1870 return _vswprintf_l(_Buffer, (
size_t)-1, _Format, _Locale, _ArgList);
1873 #endif // __cplusplus
1875 #pragma warning(pop)
1876 #endif // !_INC_SWPRINTF_INL_
1878 #if defined _CRT_NON_CONFORMING_SWPRINTFS && !defined __cplusplus
1879 #define swprintf _swprintf
1880 #define vswprintf _vswprintf
1881 #define _swprintf_l __swprintf_l
1882 #define _vswprintf_l __vswprintf_l
1892 _ACRTIMP int __cdecl __stdio_common_vswscanf(
1893 _In_ unsigned __int64 _Options,
1895 _In_ size_t _BufferCount,
1903 _CRT_STDIO_INLINE
int __CRTDECL _vswscanf_l(
1904 _In_z_ wchar_t const* const _Buffer,
1909 #if defined _NO_CRT_STDIO_INLINE
1913 return __stdio_common_vswscanf(
1915 _Buffer, (
size_t)-1, _Format, _Locale, _ArgList);
1921 _CRT_STDIO_INLINE
int __CRTDECL vswscanf(
1922 _In_z_ wchar_t const* _Buffer,
1926 #if defined _NO_CRT_STDIO_INLINE
1930 return _vswscanf_l(_Buffer, _Format,
NULL, _ArgList);
1936 _CRT_STDIO_INLINE
int __CRTDECL _vswscanf_s_l(
1937 _In_z_ wchar_t const* const _Buffer,
1942 #if defined _NO_CRT_STDIO_INLINE
1946 return __stdio_common_vswscanf(
1948 _Buffer, (
size_t)-1, _Format, _Locale, _ArgList);
1952 #if __STDC_WANT_SECURE_LIB__
1956 _CRT_STDIO_INLINE
int __CRTDECL vswscanf_s(
1957 _In_z_ wchar_t const* const _Buffer,
1961 #if defined _NO_CRT_STDIO_INLINE
1965 return _vswscanf_s_l(_Buffer, _Format,
NULL, _ArgList);
1981 _CRT_STDIO_INLINE
int __CRTDECL _vsnwscanf_l(
1983 _In_ size_t const _BufferCount,
1988 #if defined _NO_CRT_STDIO_INLINE
1992 return __stdio_common_vswscanf(
1994 _Buffer, _BufferCount, _Format, _Locale, _ArgList);
2000 _CRT_STDIO_INLINE
int __CRTDECL _vsnwscanf_s_l(
2002 _In_ size_t const _BufferCount,
2007 #if defined _NO_CRT_STDIO_INLINE
2011 return __stdio_common_vswscanf(
2013 _Buffer, _BufferCount, _Format, _Locale, _ArgList);
2019 _CRT_STDIO_INLINE
int __CRTDECL _swscanf_l(
2020 _In_z_ wchar_t const* const _Buffer,
2024 #if defined _NO_CRT_STDIO_INLINE // SCANF
2031 _Result = _vswscanf_l(_Buffer, _Format, _Locale, _ArgList);
2039 _CRT_STDIO_INLINE
int __CRTDECL swscanf(
2040 _In_z_ wchar_t const* const _Buffer,
2043 #if defined _NO_CRT_STDIO_INLINE // SCANF
2050 _Result = _vswscanf_l(_Buffer, _Format,
NULL, _ArgList);
2058 _CRT_STDIO_INLINE
int __CRTDECL _swscanf_s_l(
2059 _In_z_ wchar_t const* const _Buffer,
2063 #if defined _NO_CRT_STDIO_INLINE // SCANF
2070 _Result = _vswscanf_s_l(_Buffer, _Format, _Locale, _ArgList);
2076 #if __STDC_WANT_SECURE_LIB__
2080 _CRT_STDIO_INLINE
int __CRTDECL swscanf_s(
2081 _In_z_ wchar_t const* const _Buffer,
2084 #if defined _NO_CRT_STDIO_INLINE // SCANF
2091 _Result = _vswscanf_s_l(_Buffer, _Format,
NULL, _ArgList);
2101 _CRT_STDIO_INLINE
int __CRTDECL _snwscanf_l(
2103 _In_ size_t const _BufferCount,
2107 #if defined _NO_CRT_STDIO_INLINE // SCANF
2115 #pragma warning(push)
2116 #pragma warning(disable: 4996) // Deprecation
2117 _Result = _vsnwscanf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
2118 #pragma warning(pop)
2127 _CRT_STDIO_INLINE
int __CRTDECL _snwscanf(
2129 _In_ size_t const _BufferCount,
2132 #if defined _NO_CRT_STDIO_INLINE // SCANF
2140 #pragma warning(push)
2141 #pragma warning(disable: 4996) // Deprecation
2142 _Result = _vsnwscanf_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
2143 #pragma warning(pop)
2152 _CRT_STDIO_INLINE
int __CRTDECL _snwscanf_s_l(
2154 _In_ size_t const _BufferCount,
2158 #if defined _NO_CRT_STDIO_INLINE // SCANF
2165 _Result = _vsnwscanf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);
2173 _CRT_STDIO_INLINE
int __CRTDECL _snwscanf_s(
2175 _In_ size_t const _BufferCount,
2178 #if defined _NO_CRT_STDIO_INLINE // SCANF
2185 _Result = _vsnwscanf_s_l(_Buffer, _BufferCount, _Format,
NULL, _ArgList);
2192 #pragma managed(pop)
2194 #endif // _CRT_FUNCTIONS_REQUIRED
return
Definition: corecrt_memcpy_s.h:60
#define __RETURN_POLICY_SAME(_FunctionCall)
Definition: corecrt.h:1782
#define stdout
Definition: corecrt_wstdio.h:34
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vfwprintf_p_l(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_params_(2) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:358
Definition: corecrt.h:489
__crt_va_start(_ArgList, _Locale)
#define _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
Definition: corecrt_stdio_config.h:104
_Check_return_opt_ _In_z_ _Scanf_format_string_params_(0) wchar_t const *const _Format
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(_ReturnType, _FuncName, _VFuncName, _DstType, _Dst, _TType1, _TArg1)
Definition: corecrt.h:700
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3)
Definition: corecrt.h:694
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL fwprintf(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format,...)
Definition: corecrt_wstdio.h:491
_ACRTIMP
Definition: corecrt_wstdio.h:209
_Out_writes_opt_(_MaxCount)
_ACRTIMP_ALT FILE *__cdecl __acrt_iob_func(unsigned _Ix)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _fwprintf_s_l(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_params_(0) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale,...)
Definition: corecrt_wstdio.h:509
void * _Placeholder
Definition: corecrt_wstdio.h:27
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL vfwscanf(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:728
#define _CRT_STDIO_INLINE
Definition: corecrt_stdio_config.h:22
#define _Check_return_opt_
Definition: corecrt.h:96
unsigned short wint_t
Definition: corecrt.h:477
_Check_return_opt_ _ACRTIMP int __cdecl fputws(_In_z_ wchar_t const *_Buffer, _Inout_ FILE *_Stream)
_ACRTIMP void __cdecl _wperror(_In_opt_z_ wchar_t const *_ErrorMessage)
_Check_return_opt_ _ACRTIMP wint_t __cdecl _ungetwc_nolock(_In_ wint_t _Character, _Inout_ FILE *_Stream)
_Out_writes_z_(_BufferCount) wchar_t *_Buffer
int errno_t
Definition: corecrt.h:476
#define _Check_return_wat_
Definition: corecrt.h:102
#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)
Definition: corecrt.h:1817
#define _Scanf_s_format_string_
Definition: sal.h:560
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _wscanf_s_l(_In_z_ _Scanf_s_format_string_params_(0) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale,...)
Definition: corecrt_wstdio.h:947
_In_ size_t _In_ size_t _MaxCount
Definition: corecrt_wstdio.h:1028
#define __DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_ARGLIST_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _CC, _FuncName, _VFuncName, _SecureDstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: corecrt.h:1859
#define _CRT_BEGIN_C_HEADER
Definition: vcruntime.h:73
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_Success_(return!=0) wchar_t *, _getws_s, _Always_(_Post_z_) wchar_t, _Buffer) _Check_return_opt_ _ACRTIMP wint_t __cdecl putwc(_In_ wchar_t _Character
_Check_return_opt_ _In_z_ _In_opt_ _locale_t const _Locale
Definition: corecrt_wstdio.h:837
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vwprintf_l(_In_z_ _Printf_format_string_params_(2) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:387
#define _Outptr_result_maybenull_
Definition: sal.h:425
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL wprintf(_In_z_ _Printf_format_string_ wchar_t const *const _Format,...)
Definition: corecrt_wstdio.h:605
_Check_return_ _In_z_ _Scanf_format_string_ wchar_t const *const _Format
Definition: corecrt_wstdio.h:855
_Check_return_opt_ _ACRTIMP wint_t __cdecl ungetwc(_In_ wint_t _Character, _Inout_ FILE *_Stream)
_Pre_maybenull_ _Buffer _Check_return_opt_ _ACRTIMP wint_t __cdecl _fgetwc_nolock(_Inout_ FILE *_Stream)
_Check_return_opt_ _ACRTIMP int __cdecl __stdio_common_vfwprintf(_In_ unsigned __int64 _Options, _Inout_ FILE *_Stream, _In_z_ _Printf_format_string_params_(2) wchar_t const *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL fwscanf_s(_Inout_ FILE *const _Stream, _In_z_ _Scanf_s_format_string_ wchar_t const *const _Format,...)
Definition: corecrt_wstdio.h:892
#define __CRTDECL
Definition: vcruntime.h:156
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _fwprintf_l(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_params_(0) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale,...)
Definition: corecrt_wstdio.h:472
#define _Post_z_
Definition: sal.h:688
#define _Pre_maybenull_
Definition: sal.h:678
#define _In_opt_z_
Definition: sal.h:311
_Check_return_opt_ _In_ int _BufferCount
Definition: corecrt_wstdio.h:78
_Check_return_ _ACRTIMP FILE *__cdecl _wfdopen(_In_ int _FileHandle, _In_z_ wchar_t const *_Mode)
#define _Check_return_
Definition: sal.h:554
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _wprintf_l(_In_z_ _Printf_format_string_params_(0) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale,...)
Definition: corecrt_wstdio.h:587
#define _In_z_
Definition: sal.h:310
_Check_return_opt_ _ACRTIMP wint_t __cdecl _getwc_nolock(_Inout_ FILE *_Stream)
#define _In_
Definition: sal.h:305
_Check_return_opt_ _Success_(return==_Buffer) _ACRTIMP wchar_t *__cdecl fgetws(_Out_writes_z_(_BufferCount) wchar_t *_Buffer
#define _CRT_INTERNAL_LOCAL_SCANF_OPTIONS
Definition: corecrt_stdio_config.h:105
#define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR
Definition: corecrt_stdio_config.h:110
#define _In_opt_
Definition: sal.h:306
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vfwprintf_p(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:373
_Check_return_ _ACRTIMP _CRTALLOCATOR wchar_t *__cdecl _wtempnam(_In_opt_z_ wchar_t const *_Directory, _In_opt_z_ wchar_t const *_FilePrefix)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vfwprintf_l(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_params_(2) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:296
#define _DCRTIMP
Definition: corecrt.h:43
_Check_return_ _ACRTIMP wint_t __cdecl getwc(_Inout_ FILE *_Stream)
_Check_return_ _CRT_INSECURE_DEPRECATE(_wfopen_s) _ACRTIMP FILE *__cdecl _wfopen(_In_z_ wchar_t const *_FileName
_Check_return_ _In_z_ wchar_t const * _Mode
Definition: corecrt_wstdio.h:133
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vwprintf_s_l(_In_z_ _Printf_format_string_params_(2) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:414
_Check_return_wat_ *_SizeRead wchar_t * _Buffer
Definition: corecrt_wconio.h:27
_Check_return_opt_ _ACRTIMP wint_t __cdecl fputwc(_In_ wchar_t _Character, _Inout_ FILE *_Stream)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL vwprintf(_In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:401
#define _Scanf_s_format_string_params_(x)
Definition: sal.h:565
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _fwscanf_s_l(_Inout_ FILE *const _Stream, _In_z_ _Scanf_s_format_string_params_(0) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale,...)
Definition: corecrt_wstdio.h:871
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _wprintf_p_l(_In_z_ _Printf_format_string_params_(0) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale,...)
Definition: corecrt_wstdio.h:661
#define _ACRTIMP_ALT
Definition: corecrt.h:34
_Out_writes_opt_z_(_BufferCount) wchar_t *_Buffer
Definition: corecrt_wstdio.h:25
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL vfwprintf(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:311
_Check_return_opt_ _In_z_ _In_opt_ _locale_t const va_list _ArgList
Definition: corecrt_wstdio.h:842
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vfwscanf_l(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:711
_ACRTIMP int __cdecl _wremove(_In_z_ wchar_t const *_FileName)
#define _CRTALLOCATOR
Definition: corecrt.h:56
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vwscanf_s_l(_In_z_ _Printf_format_string_ wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:803
_Check_return_ _ACRTIMP wint_t __cdecl getwchar(void)
_CRT_STDIO_INLINE int __CRTDECL _vwscanf_l(_In_z_ _Printf_format_string_ wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:776
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vfwprintf_s_l(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_params_(2) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:325
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL wscanf_s(_In_z_ _Scanf_s_format_string_ wchar_t const *const _Format,...)
Definition: corecrt_wstdio.h:967
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vwprintf_p_l(_In_z_ _Printf_format_string_params_(2) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:445
_Check_return_opt_ _ACRTIMP int __cdecl __stdio_common_vfwscanf(_In_ unsigned __int64 _Options, _Inout_ FILE *_Stream, _In_z_ _Scanf_format_string_params_(2) wchar_t const *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
#define _Printf_format_string_
Definition: sal.h:558
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _fwprintf_p(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format,...)
Definition: corecrt_wstdio.h:569
_In_reads_(_N) wchar_t const *_S2
#define _CRT_INT_MAX
Definition: corecrt.h:144
_Check_return_opt_ _ACRTIMP wint_t __cdecl _fputwchar(_In_ wchar_t _Character)
_Result
Definition: corecrt_wstdio.h:846
_Check_return_opt_ _ACRTIMP int __cdecl __stdio_common_vfwprintf_s(_In_ unsigned __int64 _Options, _Inout_ FILE *_Stream, _In_z_ _Printf_format_string_params_(2) wchar_t const *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL vfwprintf_s(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:342
_Check_return_wat_ _ACRTIMP errno_t __cdecl _wfopen_s(_Outptr_result_maybenull_ FILE **_Stream, _In_z_ wchar_t const *_FileName, _In_z_ wchar_t const *_Mode)
_In_opt_z_ wchar_t const _In_opt_z_ wchar_t const * _FileName
Definition: corecrt.h:253
#define _SWPRINTFS_DEPRECATED
Definition: corecrt_wstdio.h:993
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: corecrt.h:693
#define _CRT_END_C_HEADER
Definition: vcruntime.h:76
_Check_return_opt_ _ACRTIMP int __cdecl __stdio_common_vfwprintf_p(_In_ unsigned __int64 _Options, _Inout_ FILE *_Stream, _In_z_ _Printf_format_string_params_(2) wchar_t const *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
#define _Scanf_format_string_
Definition: sal.h:559
#define _Out_writes_(size)
Definition: sal.h:345
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _wprintf_p(_In_z_ _Printf_format_string_ wchar_t const *const _Format,...)
Definition: corecrt_wstdio.h:679
_Check_return_opt_ _ACRTIMP wint_t __cdecl putwchar(_In_ wchar_t _Character)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL wprintf_s(_In_z_ _Printf_format_string_ wchar_t const *const _Format,...)
Definition: corecrt_wstdio.h:642
_Check_return_opt_ _ACRTIMP wint_t __cdecl _putwc_nolock(_In_ wchar_t _Character, _Inout_ FILE *_Stream)
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst)
Definition: corecrt.h:709
_Check_return_opt_ _ACRTIMP wint_t __cdecl fgetwc(_Inout_ FILE *_Stream)
#define _CRT_INTERNAL_SCANF_SECURECRT
Definition: corecrt_stdio_config.h:116
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(_ReturnType, _FuncName, _VFuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: corecrt.h:701
_Check_return_ _ACRTIMP FILE *__cdecl _wfreopen(_In_z_ wchar_t const *_FileName, _In_z_ wchar_t const *_Mode, _Inout_ FILE *_OldStream)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL vwprintf_s(_In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:430
#define stdin
Definition: corecrt_wstdio.h:33
__RETURN_POLICY_DST
Definition: corecrt_wstdio.h:209
_wtmpnam
Definition: corecrt_wstdio.h:209
_Pre_maybenull_ _Always_(_Post_z_)
#define _Inout_
Definition: sal.h:375
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _fwprintf_p_l(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_params_(0) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale,...)
Definition: corecrt_wstdio.h:550
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL vfwscanf_s(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:761
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vfwscanf_s_l(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format, _In_opt_ _locale_t const _Locale, va_list _ArgList)
Definition: corecrt_wstdio.h:742
_In_ size_t _In_z_ _Printf_format_string_params_(2) wchar_t const *_Format
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_ARGLIST_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _CC, _FuncName, _SecureFuncName, _VFuncName, _SecureVFuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
Definition: corecrt.h:1813
_Check_return_ _DCRTIMP FILE *__cdecl _wpopen(_In_z_ wchar_t const *_Command, _In_z_ wchar_t const *_Mode)
#define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION
Definition: corecrt_stdio_config.h:109
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL fwprintf_s(_Inout_ FILE *const _Stream, _In_z_ _Printf_format_string_ wchar_t const *const _Format,...)
Definition: corecrt_wstdio.h:530
#define _Pre_z_
Definition: sal.h:665
_Check_return_opt_ _ACRTIMP int __cdecl _putws(_In_z_ wchar_t const *_Buffer)
char * va_list
Definition: vadefs.h:39
_Check_return_opt_ _ACRTIMP wint_t __cdecl _fgetwchar(void)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL vwscanf_s(_In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:819
_Check_return_wat_ _ACRTIMP errno_t __cdecl _wfreopen_s(_Outptr_result_maybenull_ FILE **_Stream, _In_z_ wchar_t const *_FileName, _In_z_ wchar_t const *_Mode, _Inout_ FILE *_OldStream)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _wprintf_s_l(_In_z_ _Printf_format_string_params_(0) wchar_t const *const _Format, _In_opt_ _locale_t const _Locale,...)
Definition: corecrt_wstdio.h:622
#define _Pre_notnull_
Definition: sal.h:677
_Check_return_ _ACRTIMP FILE *__cdecl _wfsopen(_In_z_ wchar_t const *_FileName, _In_z_ wchar_t const *_Mode, _In_ int _ShFlag)
_Check_return_opt_ _ACRTIMP wint_t __cdecl _fputwc_nolock(_In_ wchar_t _Character, _Inout_ FILE *_Stream)
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL vwscanf(_In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:790
_Check_return_opt_ _In_ int _Inout_ FILE * _Stream
Definition: corecrt_wstdio.h:78
_Check_return_opt_ _CRT_STDIO_INLINE int __CRTDECL _vwprintf_p(_In_z_ _Printf_format_string_ wchar_t const *const _Format, va_list _ArgList)
Definition: corecrt_wstdio.h:459
#define NULL
Definition: corecrt.h:158
#define _Post_maybez_
Definition: sal.h:1369