ReactOS 0.4.16-dev-2122-g1628f5e
stdio.h
Go to the documentation of this file.
1//
2// stdio.h
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// The C Standard Library <stdio.h> header.
7//
8#pragma once
9#ifndef _INC_STDIO // include guard for 3rd party interop
10#define _INC_STDIO
11
12#include <corecrt.h>
13#include <corecrt_wstdio.h>
14
15#pragma warning(push)
16#pragma warning(disable: _UCRT_DISABLED_WARNINGS)
18
20
21/* Buffered I/O macros */
22
23#define BUFSIZ 512
24
25
26
27/*
28 * Default number of supported streams. _NFILE is confusing and obsolete, but
29 * supported anyway for backwards compatibility.
30 */
31#define _NFILE _NSTREAM_
32
33#define _NSTREAM_ 512
34
35/*
36 * Number of entries in _iob[] (declared below). Note that _NSTREAM_ must be
37 * greater than or equal to _IOB_ENTRIES.
38 */
39#define _IOB_ENTRIES 3
40
41#define EOF (-1)
42
43#define _IOFBF 0x0000
44#define _IOLBF 0x0040
45#define _IONBF 0x0004
46
47
48
49#define L_tmpnam 260 // _MAX_PATH
50#if __STDC_WANT_SECURE_LIB__
51 #define L_tmpnam_s L_tmpnam
52#endif
53
54
55
56/* Seek method constants */
57
58#define SEEK_CUR 1
59#define SEEK_END 2
60#define SEEK_SET 0
61
62
63#define FILENAME_MAX 260
64#define FOPEN_MAX 20
65#define _SYS_OPEN 20
66#define TMP_MAX _CRT_INT_MAX
67#if __STDC_WANT_SECURE_LIB__
68 #define TMP_MAX_S TMP_MAX
69 #define _TMP_MAX_S TMP_MAX
70#endif
71
72
74
75
76
77#if _CRT_FUNCTIONS_REQUIRED
78
82 _Out_opt_ char*** _Base,
83 _Out_opt_ char*** _Pointer,
84 _Out_opt_ int** _Count
85 );
86
87
88 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
89 //
90 // Narrow Character Stream I/O Functions
91 //
92 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
93 #if __STDC_WANT_SECURE_LIB__
94
98 );
99
101 _Success_(return == 0)
104 _In_z_ char const* _FileName,
105 _In_z_ char const* _Mode
106 );
107
109 _Success_(return != 0)
110 _ACRTIMP size_t __cdecl fread_s(
111 _Out_writes_bytes_to_(_BufferSize, _ElementSize * _ElementCount) void* _Buffer,
112 _In_range_(>=, _ElementSize * _ElementCount) size_t _BufferSize,
113 _In_ size_t _ElementSize,
114 _In_ size_t _ElementCount,
116 );
117
121 _In_z_ char const* _FileName,
122 _In_z_ char const* _Mode,
123 _Inout_ FILE* _OldStream
124 );
125
126 _Success_(return != 0)
127 _ACRTIMP char* __cdecl gets_s(
130 );
131
135 );
136
137 _Success_(return == 0)
142 );
143
144 #endif
145
148 );
149
150 _Success_(return != -1)
154 );
155
157 _ACRTIMP int __cdecl _fcloseall(void);
158
161 _In_ int _FileHandle,
162 _In_z_ char const* _Mode
163 );
164
168 );
169
173 );
174
178 );
179
184 );
185
187 _ACRTIMP int __cdecl _fgetchar(void);
188
193 _Out_ fpos_t* _Position
194 );
195
198 _ACRTIMP char* __cdecl fgets(
200 _In_ int _MaxCount,
202 );
203
207 );
208
210 _ACRTIMP int __cdecl _flushall(void);
211
214 _In_z_ char const* _FileName,
215 _In_z_ char const* _Mode
216 );
217
218
222 _In_ int _Character,
224 );
225
228 _In_ int _Character
229 );
230
234 _In_z_ char const* _Buffer,
236 );
237
239 _ACRTIMP size_t __cdecl fread(
240 _Out_writes_bytes_(_ElementSize * _ElementCount) void* _Buffer,
241 _In_ size_t _ElementSize,
242 _In_ size_t _ElementCount,
244 );
245
246 _Success_(return != 0)
249 _In_z_ char const* _FileName,
250 _In_z_ char const* _Mode,
252 );
253
256 _In_z_ char const* _FileName,
257 _In_z_ char const* _Mode,
258 _In_ int _ShFlag
259 );
260
261 _Success_(return == 0)
265 _In_ fpos_t const* _Position
266 );
267
268 _Success_(return == 0)
272 _In_ long _Offset,
273 _In_ int _Origin
274 );
275
276 _Success_(return == 0)
281 _In_ int _Origin
282 );
283
284 _Success_(return != -1)
288 );
289
290 _Success_(return != -1)
294 );
295
297 _ACRTIMP size_t __cdecl fwrite(
298 _In_reads_bytes_(_ElementSize * _ElementCount) void const* _Buffer,
299 _In_ size_t _ElementSize,
300 _In_ size_t _ElementCount,
302 );
303
308 );
309
311 _ACRTIMP int __cdecl getchar(void);
312
314 _ACRTIMP int __cdecl _getmaxstdio(void);
315
317 char*, gets_s,
318 char, _Buffer)
319
323 );
324
326 _In_opt_z_ char const* _ErrorMessage
327 );
328
329 #if defined _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
330
331 _Success_(return != -1)
335 );
336
339 _In_z_ char const* _Command,
340 _In_z_ char const* _Mode
341 );
342
343 #endif
344
345 _Success_(return != EOF)
348 _In_ int _Character,
350 );
351
354 _In_ int _Character
355 );
356
359 _In_z_ char const* _Buffer
360 );
361
362 _Success_(return != -1)
365 _In_ int _Word,
367 );
368
371 );
372
375 _In_z_ char const* _OldFileName,
376 _In_z_ char const* _NewFileName
377 );
378
381 );
382
383 #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
384
387 _In_z_ char const* _FileName
388 );
389
390 #endif
391
394 );
395
397 _ACRTIMP int __cdecl _rmtmp(void);
398
403 );
404
407 _In_ int _Maximum
408 );
409
410 _Success_(return == 0)
415 _In_ int _Mode,
416 _In_ size_t _Size
417 );
418
419 #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
420 #pragma push_macro("_tempnam")
421 #undef _tempnam
422 #endif
423
426 _In_opt_z_ char const* _DirectoryName,
427 _In_opt_z_ char const* _FilePrefix
428 );
429
430 #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
431 #pragma pop_macro("_tempnam")
432 #endif
433
436
438 _Success_(return == 0)
441 )
442
444 _Success_(return != 0)
447 )
448
449 _Success_(return != EOF)
452 _In_ int _Character,
454 );
455
456
457
458 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
459 //
460 // I/O Synchronization and _nolock family of I/O functions
461 //
462 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
465 );
466
469 );
470
471 _Success_(return != EOF)
475 );
476
477 _Success_(return != EOF)
481 );
482
483 _Success_(return != EOF)
487 );
488
489 _Success_(return != EOF)
492 _In_ int _Character,
494 );
495
498 _Out_writes_bytes_(_ElementSize * _ElementCount) void* _Buffer,
499 _In_ size_t _ElementSize,
500 _In_ size_t _ElementCount,
502 );
503
505 _Success_(return != 0)
507 _Out_writes_bytes_to_(_BufferSize, _ElementSize * _ElementCount) void* _Buffer,
508 _In_range_(>=, _ElementSize * _ElementCount) size_t _BufferSize,
509 _In_ size_t _ElementSize,
510 _In_ size_t _ElementCount,
512 );
513
517 _In_ long _Offset,
518 _In_ int _Origin
519 );
520
525 _In_ int _Origin
526 );
527
531 );
532
536 );
537
540 _In_reads_bytes_(_ElementSize * _ElementCount) void const* _Buffer,
541 _In_ size_t _ElementSize,
542 _In_ size_t _ElementCount,
544 );
545
549 );
550
553 _In_ int _Character,
555 );
556
559 _In_ int _Character,
561 );
562
563 #define _getchar_nolock() _getc_nolock(stdin)
564 #define _putchar_nolock(_Ch) _putc_nolock(_Ch, stdout)
565 #define _getwchar_nolock() _getwc_nolock(stdin)
566 #define _putwchar_nolock(_Ch) _putwc_nolock(_Ch, stdout)
567
568
569
570 #if defined _CRT_DISABLE_PERFCRIT_LOCKS && !defined _DLL
571 #define fclose(_Stream) _fclose_nolock(_Stream)
572 #define fflush(_Stream) _fflush_nolock(_Stream)
573 #define fgetc(_Stream) _fgetc_nolock(_Stream)
574 #define fputc(_Ch, _Stream) _fputc_nolock(_Ch, _Stream)
575 #define fread(_DstBuf, _ElementSize, _Count, _Stream) _fread_nolock(_DstBuf, _ElementSize, _Count, _Stream)
576 #define fread_s(_DstBuf, _DstSize, _ElementSize, _Count, _Stream) _fread_nolock_s(_DstBuf, _DstSize, _ElementSize, _Count, _Stream)
577 #define fseek(_Stream, _Offset, _Origin) _fseek_nolock(_Stream, _Offset, _Origin)
578 #define _fseeki64(_Stream, _Offset, _Origin) _fseeki64_nolock(_Stream, _Offset, _Origin)
579 #define ftell(_Stream) _ftell_nolock(_Stream)
580 #define _ftelli64(_Stream) _ftelli64_nolock(_Stream)
581 #define fwrite(_SrcBuf, _ElementSize, _Count, _Stream) _fwrite_nolock(_SrcBuf, _ElementSize, _Count, _Stream)
582 #define getc(_Stream) _getc_nolock(_Stream)
583 #define putc(_Ch, _Stream) _putc_nolock(_Ch, _Stream)
584 #define ungetc(_Ch, _Stream) _ungetc_nolock(_Ch, _Stream)
585 #endif
586
587
588
589 _ACRTIMP int* __cdecl __p__commode(void);
590
591 #ifdef _CRT_DECLARE_GLOBAL_VARIABLES_DIRECTLY
592 extern int _commode;
593 #else
594 #define _commode (*__p__commode())
595 #endif
596
597
598
599 // Variadic functions are not supported in managed code under /clr
600 #if defined _M_CEE_MIXED
601 #pragma managed(push, off)
602 #endif
603
604 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
605 //
606 // Narrow Character Formatted Output Functions (Stream)
607 //
608 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
610 _In_ unsigned __int64 _Options,
615 );
616
618 _In_ unsigned __int64 _Options,
623 );
624
625 _Success_(return >= 0)
627 _In_ unsigned __int64 _Options,
632 );
633
640 )
641 #if defined _NO_CRT_STDIO_INLINE
642 ;
643 #else
644 {
646 }
647 #endif
648
651 _Inout_ FILE* const _Stream,
652 _In_z_ _Printf_format_string_ char const* const _Format,
654 )
655 #if defined _NO_CRT_STDIO_INLINE
656 ;
657 #else
658 {
660 }
661 #endif
662
665 _Inout_ FILE* const _Stream,
666 _In_z_ char const* const _Format,
669 )
670 #if defined _NO_CRT_STDIO_INLINE
671 ;
672 #else
673 {
675 }
676 #endif
677
678 #if __STDC_WANT_SECURE_LIB__
679
682 _Inout_ FILE* const _Stream,
683 _In_z_ _Printf_format_string_ char const* const _Format,
685 )
686 #if defined _NO_CRT_STDIO_INLINE
687 ;
688 #else
689 {
691 }
692 #endif
693
694 #endif
695
698 _Inout_ FILE* const _Stream,
699 _In_z_ char const* const _Format,
702 )
703 #if defined _NO_CRT_STDIO_INLINE
704 ;
705 #else
706 {
708 }
709 #endif
710
713 _Inout_ FILE* const _Stream,
714 _In_z_ _Printf_format_string_ char const* const _Format,
716 )
717 #if defined _NO_CRT_STDIO_INLINE
718 ;
719 #else
720 {
722 }
723 #endif
724
726 _CRT_STDIO_INLINE int __CRTDECL _vprintf_l(
727 _In_z_ _Printf_format_string_params_(2) char const* const _Format,
730 )
731 #if defined _NO_CRT_STDIO_INLINE
732 ;
733 #else
734 {
736 }
737 #endif
738
741 _In_z_ _Printf_format_string_ char const* const _Format,
743 )
744 #if defined _NO_CRT_STDIO_INLINE
745 ;
746 #else
747 {
749 }
750 #endif
751
753 _CRT_STDIO_INLINE int __CRTDECL _vprintf_s_l(
754 _In_z_ _Printf_format_string_params_(2) char const* const _Format,
757 )
758 #if defined _NO_CRT_STDIO_INLINE
759 ;
760 #else
761 {
763 }
764 #endif
765
766 #if __STDC_WANT_SECURE_LIB__
767
770 _In_z_ _Printf_format_string_ char const* const _Format,
772 )
773 #if defined _NO_CRT_STDIO_INLINE
774 ;
775 #else
776 {
778 }
779 #endif
780
781 #endif
782
784 _CRT_STDIO_INLINE int __CRTDECL _vprintf_p_l(
785 _In_z_ _Printf_format_string_params_(2) char const* const _Format,
788 )
789 #if defined _NO_CRT_STDIO_INLINE
790 ;
791 #else
792 {
794 }
795 #endif
796
798 _CRT_STDIO_INLINE int __CRTDECL _vprintf_p(
799 _In_z_ _Printf_format_string_ char const* const _Format,
801 )
802 #if defined _NO_CRT_STDIO_INLINE
803 ;
804 #else
805 {
807 }
808 #endif
809
812 _Inout_ FILE* const _Stream,
813 _In_z_ _Printf_format_string_params_(0) char const* const _Format,
815 ...)
816 #if defined _NO_CRT_STDIO_INLINE
817 ;
818 #else
819 {
820 int _Result;
825 return _Result;
826 }
827 #endif
828
831 _Inout_ FILE* const _Stream,
832 _In_z_ _Printf_format_string_ char const* const _Format,
833 ...)
834 #if defined _NO_CRT_STDIO_INLINE
835 ;
836 #else
837 {
838 int _Result;
843 return _Result;
844 }
845 #endif
846
848 _In_ int _Value
849 );
850
852
855 _Inout_ FILE* const _Stream,
856 _In_z_ _Printf_format_string_params_(0) char const* const _Format,
858 ...)
859 #if defined _NO_CRT_STDIO_INLINE
860 ;
861 #else
862 {
863 int _Result;
868 return _Result;
869 }
870 #endif
871
872 #if __STDC_WANT_SECURE_LIB__
873
876 _Inout_ FILE* const _Stream,
877 _In_z_ _Printf_format_string_ char const* const _Format,
878 ...)
879 #if defined _NO_CRT_STDIO_INLINE
880 ;
881 #else
882 {
883 int _Result;
888 return _Result;
889 }
890 #endif
891
892 #endif
893
896 _Inout_ FILE* const _Stream,
897 _In_z_ _Printf_format_string_params_(0) char const* const _Format,
899 ...)
900 #if defined _NO_CRT_STDIO_INLINE
901 ;
902 #else
903 {
904 int _Result;
909 return _Result;
910 }
911 #endif
912
915 _Inout_ FILE* const _Stream,
916 _In_z_ _Printf_format_string_ char const* const _Format,
917 ...)
918 #if defined _NO_CRT_STDIO_INLINE
919 ;
920 #else
921 {
922 int _Result;
927 return _Result;
928 }
929 #endif
930
932 _CRT_STDIO_INLINE int __CRTDECL _printf_l(
933 _In_z_ _Printf_format_string_params_(0) char const* const _Format,
935 ...)
936 #if defined _NO_CRT_STDIO_INLINE
937 ;
938 #else
939 {
940 int _Result;
945 return _Result;
946 }
947 #endif
948
951 _In_z_ _Printf_format_string_ char const* const _Format,
952 ...)
953 #if defined _NO_CRT_STDIO_INLINE
954 ;
955 #else
956 {
957 int _Result;
962 return _Result;
963 }
964 #endif
965
967 _CRT_STDIO_INLINE int __CRTDECL _printf_s_l(
968 _In_z_ _Printf_format_string_params_(0) char const* const _Format,
970 ...)
971 #if defined _NO_CRT_STDIO_INLINE
972 ;
973 #else
974 {
975 int _Result;
980 return _Result;
981 }
982 #endif
983
984 #if __STDC_WANT_SECURE_LIB__
985
988 _In_z_ _Printf_format_string_ char const* const _Format,
989 ...)
990 #if defined _NO_CRT_STDIO_INLINE
991 ;
992 #else
993 {
994 int _Result;
999 return _Result;
1000 }
1001 #endif
1002
1003 #endif
1004
1006 _CRT_STDIO_INLINE int __CRTDECL _printf_p_l(
1007 _In_z_ _Printf_format_string_params_(0) char const* const _Format,
1009 ...)
1010 #if defined _NO_CRT_STDIO_INLINE
1011 ;
1012 #else
1013 {
1014 int _Result;
1019 return _Result;
1020 }
1021 #endif
1022
1024 _CRT_STDIO_INLINE int __CRTDECL _printf_p(
1025 _In_z_ _Printf_format_string_ char const* const _Format,
1026 ...)
1027 #if defined _NO_CRT_STDIO_INLINE
1028 ;
1029 #else
1030 {
1031 int _Result;
1036 return _Result;
1037 }
1038 #endif
1039
1040
1041 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1042 //
1043 // Narrow Character Formatted Input Functions (Stream)
1044 //
1045 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1047 _In_ unsigned __int64 _Options,
1051 va_list _Arglist
1052 );
1053
1055 _CRT_STDIO_INLINE int __CRTDECL _vfscanf_l(
1056 _Inout_ FILE* const _Stream,
1057 _In_z_ _Printf_format_string_ char const* const _Format,
1060 )
1061 #if defined _NO_CRT_STDIO_INLINE
1062 ;
1063 #else
1064 {
1068 }
1069 #endif
1070
1073 _Inout_ FILE* const _Stream,
1074 _In_z_ _Printf_format_string_ char const* const _Format,
1076 )
1077 #if defined _NO_CRT_STDIO_INLINE
1078 ;
1079 #else
1080 {
1081 return _vfscanf_l(_Stream, _Format, NULL, _ArgList);
1082 }
1083 #endif
1084
1086 _CRT_STDIO_INLINE int __CRTDECL _vfscanf_s_l(
1087 _Inout_ FILE* const _Stream,
1088 _In_z_ _Printf_format_string_ char const* const _Format,
1091 )
1092 #if defined _NO_CRT_STDIO_INLINE
1093 ;
1094 #else
1095 {
1099 }
1100 #endif
1101
1102
1103 #if __STDC_WANT_SECURE_LIB__
1104
1106 _CRT_STDIO_INLINE int __CRTDECL vfscanf_s(
1107 _Inout_ FILE* const _Stream,
1108 _In_z_ _Printf_format_string_ char const* const _Format,
1110 )
1111 #if defined _NO_CRT_STDIO_INLINE
1112 ;
1113 #else
1114 {
1115 return _vfscanf_s_l(_Stream, _Format, NULL, _ArgList);
1116 }
1117 #endif
1118
1119 #endif
1120
1122 _CRT_STDIO_INLINE int __CRTDECL _vscanf_l(
1123 _In_z_ _Printf_format_string_ char const* const _Format,
1126 )
1127 #if defined _NO_CRT_STDIO_INLINE
1128 ;
1129 #else
1130 {
1131 return _vfscanf_l(stdin, _Format, _Locale, _ArgList);
1132 }
1133 #endif
1134
1137 _In_z_ _Printf_format_string_ char const* const _Format,
1139 )
1140 #if defined _NO_CRT_STDIO_INLINE
1141 ;
1142 #else
1143 {
1144 return _vfscanf_l(stdin, _Format, NULL, _ArgList);
1145 }
1146 #endif
1147
1149 _CRT_STDIO_INLINE int __CRTDECL _vscanf_s_l(
1150 _In_z_ _Printf_format_string_ char const* const _Format,
1153 )
1154 #if defined _NO_CRT_STDIO_INLINE
1155 ;
1156 #else
1157 {
1158 return _vfscanf_s_l(stdin, _Format, _Locale, _ArgList);
1159 }
1160 #endif
1161
1162 #if __STDC_WANT_SECURE_LIB__
1163
1165 _CRT_STDIO_INLINE int __CRTDECL vscanf_s(
1166 _In_z_ _Printf_format_string_ char const* const _Format,
1168 )
1169 #if defined _NO_CRT_STDIO_INLINE
1170 ;
1171 #else
1172 {
1173 return _vfscanf_s_l(stdin, _Format, NULL, _ArgList);
1174 }
1175 #endif
1176
1177 #endif
1178
1181 _Inout_ FILE* const _Stream,
1182 _In_z_ _Scanf_format_string_params_(0) char const* const _Format,
1184 ...)
1185 #if defined _NO_CRT_STDIO_INLINE // SCANF
1186 ;
1187 #else
1188 {
1189 int _Result;
1192 _Result = _vfscanf_l(_Stream, _Format, _Locale, _ArgList);
1194 return _Result;
1195 }
1196 #endif
1197
1200 _Inout_ FILE* const _Stream,
1201 _In_z_ _Scanf_format_string_ char const* const _Format,
1202 ...)
1203 #if defined _NO_CRT_STDIO_INLINE // SCANF
1204 ;
1205 #else
1206 {
1207 int _Result;
1210 _Result = _vfscanf_l(_Stream, _Format, NULL, _ArgList);
1212 return _Result;
1213 }
1214 #endif
1215
1218 _Inout_ FILE* const _Stream,
1219 _In_z_ _Scanf_s_format_string_params_(0) char const* const _Format,
1221 ...)
1222 #if defined _NO_CRT_STDIO_INLINE // SCANF
1223 ;
1224 #else
1225 {
1226 int _Result;
1229 _Result = _vfscanf_s_l(_Stream, _Format, _Locale, _ArgList);
1231 return _Result;
1232 }
1233 #endif
1234
1235 #if __STDC_WANT_SECURE_LIB__
1236
1239 _Inout_ FILE* const _Stream,
1240 _In_z_ _Scanf_s_format_string_ char const* const _Format,
1241 ...)
1242 #if defined _NO_CRT_STDIO_INLINE // SCANF
1243 ;
1244 #else
1245 {
1246 int _Result;
1249 _Result = _vfscanf_s_l(_Stream, _Format, NULL, _ArgList);
1251 return _Result;
1252 }
1253 #endif
1254
1255 #endif
1256
1259 _In_z_ _Scanf_format_string_params_(0) char const* const _Format,
1261 ...)
1262 #if defined _NO_CRT_STDIO_INLINE // SCANF
1263 ;
1264 #else
1265 {
1266 int _Result;
1269 _Result = _vfscanf_l(stdin, _Format, _Locale, _ArgList);
1271 return _Result;
1272 }
1273 #endif
1274
1277 _In_z_ _Scanf_format_string_ char const* const _Format,
1278 ...)
1279 #if defined _NO_CRT_STDIO_INLINE // SCANF
1280 ;
1281 #else
1282 {
1283 int _Result;
1286 _Result = _vfscanf_l(stdin, _Format, NULL, _ArgList);
1288 return _Result;
1289 }
1290 #endif
1291
1294 _In_z_ _Scanf_s_format_string_params_(0) char const* const _Format,
1296 ...)
1297 #if defined _NO_CRT_STDIO_INLINE // SCANF
1298 ;
1299 #else
1300 {
1301 int _Result;
1304 _Result = _vfscanf_s_l(stdin, _Format, _Locale, _ArgList);
1306 return _Result;
1307 }
1308 #endif
1309
1310 #if __STDC_WANT_SECURE_LIB__
1311
1314 _In_z_ _Scanf_s_format_string_ char const* const _Format,
1315 ...)
1316 #if defined _NO_CRT_STDIO_INLINE // SCANF
1317 ;
1318 #else
1319 {
1320 int _Result;
1323 _Result = _vfscanf_s_l(stdin, _Format, NULL, _ArgList);
1325 return _Result;
1326 }
1327 #endif
1328
1329 #endif
1330
1331
1332
1333 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1334 //
1335 // Narrow Character Formatted Output Functions (String)
1336 //
1337 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1338 _Success_(return >= 0)
1340 _In_ unsigned __int64 _Options,
1342 _In_ size_t _BufferCount,
1346 );
1347
1348 _Success_(return >= 0)
1350 _In_ unsigned __int64 _Options,
1352 _In_ size_t _BufferCount,
1356 );
1357
1358 _Success_(return >= 0)
1360 _In_ unsigned __int64 _Options,
1362 _In_ size_t _BufferCount,
1363 _In_ size_t _MaxCount,
1367 );
1368
1369 _Success_(return >= 0)
1371 _In_ unsigned __int64 _Options,
1373 _In_ size_t _BufferCount,
1377 );
1378
1379 _Success_(return >= 0)
1383 _In_ size_t const _BufferCount,
1387 )
1388 #if defined _NO_CRT_STDIO_INLINE
1389 ;
1390 #else
1391 {
1392 int const _Result = __stdio_common_vsprintf(
1395
1396 return _Result < 0 ? -1 : _Result;
1397 }
1398 #endif
1399
1400 _Success_(return >= 0)
1404 _In_ size_t const _BufferCount,
1407 )
1408 #if defined _NO_CRT_STDIO_INLINE
1409 ;
1410 #else
1411 {
1413 }
1414 #endif
1415
1416 #if defined vsnprintf
1417 // This definition of vsnprintf will generate "warning C4005: 'vsnprintf': macro
1418 // redefinition" with a subsequent line indicating where the previous definition
1419 // of vsnprintf was. This makes it easier to find where vsnprintf was defined.
1420 #pragma warning(push, 1)
1421 #pragma warning(1: 4005) // macro redefinition
1422 #define vsnprintf Do not define vsnprintf as a macro
1423 #pragma warning(pop)
1424 #error Macro definition of vsnprintf conflicts with Standard Library function declaration
1425 #endif
1426
1427 _Success_(return >= 0)
1431 _In_ size_t const _BufferCount,
1434 )
1435 #if defined _NO_CRT_STDIO_INLINE
1436 ;
1437 #else
1438 {
1439 int const _Result = __stdio_common_vsprintf(
1442
1443 return _Result < 0 ? -1 : _Result;
1444 }
1445 #endif
1446
1447 _Success_(return >= 0)
1451 _In_z_ char const* const _Format,
1454 )
1455 #if defined _NO_CRT_STDIO_INLINE
1456 ;
1457 #else
1458 {
1459 return _vsnprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList);
1460 }
1461 #endif
1462
1463 _Success_(return >= 0)
1469 )
1470 #if defined _NO_CRT_STDIO_INLINE
1471 ;
1472 #else
1473 {
1474 return _vsnprintf_l(_Buffer, (size_t)-1, _Format, NULL, _ArgList);
1475 }
1476 #endif
1477
1478 _Success_(return >= 0)
1482 _In_ size_t const _BufferCount,
1486 )
1487 #if defined _NO_CRT_STDIO_INLINE
1488 ;
1489 #else
1490 {
1494
1495 return _Result < 0 ? -1 : _Result;
1496 }
1497 #endif
1498
1499 #if __STDC_WANT_SECURE_LIB__
1500
1501 _Success_(return >= 0)
1505 _In_ size_t const _BufferCount,
1508 )
1509 #if defined _NO_CRT_STDIO_INLINE
1510 ;
1511 #else
1512 {
1514 }
1515 #endif
1516
1518 _Success_(return >= 0)
1519 int, vsprintf_s,
1520 _Always_(_Post_z_) char, _Buffer,
1523 )
1524
1525 #endif
1526
1527 _Success_(return >= 0)
1531 _In_ size_t const _BufferCount,
1535 )
1536 #if defined _NO_CRT_STDIO_INLINE
1537 ;
1538 #else
1539 {
1543
1544 return _Result < 0 ? -1 : _Result;
1545 }
1546 #endif
1547
1548 _Success_(return >= 0)
1552 _In_ size_t const _BufferCount,
1555 )
1556 #if defined _NO_CRT_STDIO_INLINE
1557 ;
1558 #else
1559 {
1561 }
1562 #endif
1563
1564 _Success_(return >= 0)
1568 _In_ size_t const _BufferCount,
1569 _In_ size_t const _MaxCount,
1573 )
1574 #if defined _NO_CRT_STDIO_INLINE
1575 ;
1576 #else
1577 {
1581
1582 return _Result < 0 ? -1 : _Result;
1583 }
1584 #endif
1585
1586 _Success_(return >= 0)
1590 _In_ size_t const _BufferCount,
1591 _In_ size_t const _MaxCount,
1594 )
1595 #if defined _NO_CRT_STDIO_INLINE
1596 ;
1597 #else
1598 {
1600 }
1601 #endif
1602
1604 _Success_(return >= 0)
1605 int, _vsnprintf_s,
1606 _Always_(_Post_z_) char, _Buffer,
1607 _In_ size_t, _BufferCount,
1610 )
1611
1612 #if __STDC_WANT_SECURE_LIB__
1613
1614 _Success_(return >= 0)
1616 _CRT_STDIO_INLINE int __CRTDECL vsnprintf_s(
1618 _In_ size_t const _BufferCount,
1619 _In_ size_t const _MaxCount,
1622 )
1623 #if defined _NO_CRT_STDIO_INLINE
1624 ;
1625 #else
1626 {
1628 }
1629 #endif
1630
1632 _Success_(return >= 0)
1633 int, vsnprintf_s,
1634 _Always_(_Post_z_) char, _Buffer,
1635 _In_ size_t, _BufferCount,
1638 )
1639
1640 #endif
1641
1644 _In_z_ _Printf_format_string_params_(2) char const* const _Format,
1647 )
1648 #if defined _NO_CRT_STDIO_INLINE
1649 ;
1650 #else
1651 {
1652 int const _Result = __stdio_common_vsprintf(
1655
1656 return _Result < 0 ? -1 : _Result;
1657 }
1658 #endif
1659
1662 _In_z_ _Printf_format_string_ char const* const _Format,
1664 )
1665 #if defined _NO_CRT_STDIO_INLINE
1666 ;
1667 #else
1668 {
1670 }
1671 #endif
1672
1675 _In_z_ _Printf_format_string_params_(2) char const* const _Format,
1678 )
1679 #if defined _NO_CRT_STDIO_INLINE
1680 ;
1681 #else
1682 {
1686
1687 return _Result < 0 ? -1 : _Result;
1688 }
1689 #endif
1690
1693 _In_z_ _Printf_format_string_ char const* const _Format,
1695 )
1696 #if defined _NO_CRT_STDIO_INLINE
1697 ;
1698 #else
1699 {
1701 }
1702 #endif
1703
1707 _In_ size_t const _BufferCount,
1708 _In_z_ _Printf_format_string_params_(2) char const* const _Format,
1711 )
1712 #if defined _NO_CRT_STDIO_INLINE
1713 ;
1714 #else
1715 {
1716 int const _Result = __stdio_common_vsprintf(
1719
1720 return _Result < 0 ? -1 : _Result;
1721 }
1722 #endif
1723
1724 _Success_(return >= 0)
1728 _In_ size_t const _BufferCount,
1731 )
1732 #if defined _NO_CRT_STDIO_INLINE
1733 ;
1734 #else
1735 {
1737 }
1738 #endif
1739
1740 _Success_(return >= 0)
1746 ...)
1747 #if defined _NO_CRT_STDIO_INLINE
1748 ;
1749 #else
1750 {
1751 int _Result;
1754
1756
1758 return _Result;
1759 }
1760 #endif
1761
1762 _Success_(return >= 0)
1767 ...)
1768 #if defined _NO_CRT_STDIO_INLINE
1769 ;
1770 #else
1771 {
1772 int _Result;
1775
1777
1779 return _Result;
1780 }
1781 #endif
1782
1784 _Success_(return >= 0)
1788 )
1789
1790 _Success_(return >= 0)
1794 _In_ size_t const _BufferCount,
1797 ...)
1798 #if defined _NO_CRT_STDIO_INLINE
1799 ;
1800 #else
1801 {
1802 int _Result;
1807 return _Result;
1808 }
1809 #endif
1810
1811 #if __STDC_WANT_SECURE_LIB__
1812
1813 _Success_(return >= 0)
1817 _In_ size_t const _BufferCount,
1819 ...)
1820 #if defined _NO_CRT_STDIO_INLINE
1821 ;
1822 #else
1823 {
1824 int _Result;
1829 return _Result;
1830 }
1831 #endif
1832
1833 #endif
1834
1836 _Success_(return >= 0)
1837 int, sprintf_s, vsprintf_s,
1838 _Always_(_Post_z_) char, _Buffer,
1840 )
1841
1842 _Success_(return >= 0)
1846 _In_ size_t const _BufferCount,
1849 ...)
1850 #if defined _NO_CRT_STDIO_INLINE
1851 ;
1852 #else
1853 {
1854 int _Result;
1859 return _Result;
1860 }
1861 #endif
1862
1863 _Success_(return >= 0)
1865 _CRT_STDIO_INLINE int __CRTDECL _sprintf_p(
1867 _In_ size_t const _BufferCount,
1869 ...)
1870 #if defined _NO_CRT_STDIO_INLINE
1871 ;
1872 #else
1873 {
1874 int _Result;
1879 return _Result;
1880 }
1881 #endif
1882
1883 _Success_(return >= 0)
1887 _In_ size_t const _BufferCount,
1890 ...)
1891 #if defined _NO_CRT_STDIO_INLINE
1892 ;
1893 #else
1894 {
1895 int _Result;
1898
1900
1902 return _Result;
1903 }
1904 #endif
1905
1906 #if defined snprintf
1907 // This definition of snprintf will generate "warning C4005: 'snprintf': macro
1908 // redefinition" with a subsequent line indicating where the previous definition
1909 // of snprintf was. This makes it easier to find where snprintf was defined.
1910 #pragma warning(push, 1)
1911 #pragma warning(1: 4005) // macro redefinition
1912 #define snprintf Do not define snprintf as a macro
1913 #pragma warning(pop)
1914 #error Macro definition of snprintf conflicts with Standard Library function declaration
1915 #endif
1916
1917 _Success_(return >= 0)
1921 _In_ size_t const _BufferCount,
1923 ...)
1924 #if defined _NO_CRT_STDIO_INLINE
1925 ;
1926 #else
1927 {
1928 int _Result;
1933 return _Result;
1934 }
1935 #endif
1936
1937 _Success_(return >= 0)
1941 _In_ size_t const _BufferCount,
1943 ...)
1944 #if defined _NO_CRT_STDIO_INLINE
1945 ;
1946 #else
1947 {
1948 int _Result;
1953 return _Result;
1954 }
1955 #endif
1956
1958 _Success_(return >= 0)
1962 _In_ size_t, _BufferCount,
1964 )
1965
1966 _Success_(return >= 0)
1970 _In_ size_t const _BufferCount,
1973 ...)
1974 #if defined _NO_CRT_STDIO_INLINE
1975 ;
1976 #else
1977 {
1978 int _Result;
1983 return _Result;
1984 }
1985 #endif
1986
1987 _Success_(return >= 0)
1991 _In_ size_t const _BufferCount,
1993 ...)
1994 #if defined _NO_CRT_STDIO_INLINE
1995 ;
1996 #else
1997 {
1998 int _Result;
2003 return _Result;
2004 }
2005 #endif
2006
2007 _Success_(return >= 0)
2011 _In_ size_t const _BufferCount,
2012 _In_ size_t const _MaxCount,
2015 ...)
2016 #if defined _NO_CRT_STDIO_INLINE
2017 ;
2018 #else
2019 {
2020 int _Result;
2025 return _Result;
2026 }
2027 #endif
2028
2029 _Success_(return >= 0)
2033 _In_ size_t const _BufferCount,
2034 _In_ size_t const _MaxCount,
2036 ...)
2037 #if defined _NO_CRT_STDIO_INLINE
2038 ;
2039 #else
2040 {
2041 int _Result;
2046 return _Result;
2047 }
2048 #endif
2049
2051 _Success_(return >= 0)
2053 _Always_(_Post_z_) char, _Buffer,
2054 _In_ size_t, _BufferCount,
2056 )
2057
2060 _In_z_ _Printf_format_string_params_(0) char const* const _Format,
2062 ...)
2063 #if defined _NO_CRT_STDIO_INLINE
2064 ;
2065 #else
2066 {
2067 int _Result;
2072 return _Result;
2073 }
2074 #endif
2075
2078 _In_z_ _Printf_format_string_ char const* const _Format,
2079 ...)
2080 #if defined _NO_CRT_STDIO_INLINE
2081 ;
2082 #else
2083 {
2084 int _Result;
2089 return _Result;
2090 }
2091 #endif
2092
2095 _In_z_ _Printf_format_string_params_(0) char const* const _Format,
2097 ...)
2098 #if defined _NO_CRT_STDIO_INLINE
2099 ;
2100 #else
2101 {
2102 int _Result;
2107 return _Result;
2108 }
2109 #endif
2110
2113 _In_z_ _Printf_format_string_ char const* const _Format,
2114 ...)
2115 #if defined _NO_CRT_STDIO_INLINE
2116 ;
2117 #else
2118 {
2119 int _Result;
2124 return _Result;
2125 }
2126 #endif
2127
2128 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
2129 //
2130 // Narrow Character Formatted Input Functions (String)
2131 //
2132 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
2134 _In_ unsigned __int64 _Options,
2136 _In_ size_t _BufferCount,
2140 );
2141
2143 _CRT_STDIO_INLINE int __CRTDECL _vsscanf_l(
2144 _In_z_ char const* const _Buffer,
2145 _In_z_ _Printf_format_string_ char const* const _Format,
2148 )
2149 #if defined _NO_CRT_STDIO_INLINE
2150 ;
2151 #else
2152 {
2155 _Buffer, (size_t)-1, _Format, _Locale, _ArgList);
2156 }
2157 #endif
2158
2161 _In_z_ char const* const _Buffer,
2162 _In_z_ _Printf_format_string_ char const* const _Format,
2164 )
2165 #if defined _NO_CRT_STDIO_INLINE
2166 ;
2167 #else
2168 {
2169 return _vsscanf_l(_Buffer, _Format, NULL, _ArgList);
2170 }
2171 #endif
2172
2174 _CRT_STDIO_INLINE int __CRTDECL _vsscanf_s_l(
2175 _In_z_ char const* const _Buffer,
2176 _In_z_ _Printf_format_string_ char const* const _Format,
2179 )
2180 #if defined _NO_CRT_STDIO_INLINE
2181 ;
2182 #else
2183 {
2186 _Buffer, (size_t)-1, _Format, _Locale, _ArgList);
2187 }
2188 #endif
2189
2190 #if __STDC_WANT_SECURE_LIB__
2191
2192 #pragma warning(push)
2193 #pragma warning(disable: 6530) // Unrecognized SAL format string
2194
2196 _CRT_STDIO_INLINE int __CRTDECL vsscanf_s(
2197 _In_z_ char const* const _Buffer,
2198 _In_z_ _Printf_format_string_ char const* const _Format,
2200 )
2201 #if defined _NO_CRT_STDIO_INLINE
2202 ;
2203 #else
2204 {
2205 return _vsscanf_s_l(_Buffer, _Format, NULL, _ArgList);
2206 }
2207 #endif
2208
2210 int, vsscanf_s,
2211 _In_z_ char const, _Buffer,
2214 )
2215
2216 #pragma warning(pop)
2217
2218 #endif
2219
2222 _In_z_ char const* const _Buffer,
2223 _In_z_ _Scanf_format_string_params_(0) char const* const _Format,
2225 ...)
2226 #if defined _NO_CRT_STDIO_INLINE // SCANF
2227 ;
2228 #else
2229 {
2230 int _Result;
2233 _Result = _vsscanf_l(_Buffer, _Format, _Locale, _ArgList);
2235 return _Result;
2236 }
2237 #endif
2238
2241 _In_z_ char const* const _Buffer,
2242 _In_z_ _Scanf_format_string_ char const* const _Format,
2243 ...)
2244 #if defined _NO_CRT_STDIO_INLINE // SCANF
2245 ;
2246 #else
2247 {
2248 int _Result;
2251 _Result = _vsscanf_l(_Buffer, _Format, NULL, _ArgList);
2253 return _Result;
2254 }
2255 #endif
2256
2259 _In_z_ char const* const _Buffer,
2260 _In_z_ _Scanf_s_format_string_params_(0) char const* const _Format,
2262 ...)
2263 #if defined _NO_CRT_STDIO_INLINE // SCANF
2264 ;
2265 #else
2266 {
2267 int _Result;
2270 _Result = _vsscanf_s_l(_Buffer, _Format, _Locale, _ArgList);
2272 return _Result;
2273 }
2274 #endif
2275
2276 #if __STDC_WANT_SECURE_LIB__
2277
2280 _In_z_ char const* const _Buffer,
2281 _In_z_ _Scanf_s_format_string_ char const* const _Format,
2282 ...)
2283 #if defined _NO_CRT_STDIO_INLINE // SCANF
2284 ;
2285 #else
2286 {
2287 int _Result;
2290
2291 _Result = vsscanf_s(_Buffer, _Format, _ArgList);
2292
2294 return _Result;
2295 }
2296 #endif
2297
2298 #endif
2299
2300 #pragma warning(push)
2301 #pragma warning(disable: 6530) // Unrecognized SAL format string
2302
2305 _In_reads_bytes_(_BufferCount) _Pre_z_ char const* const _Buffer,
2306 _In_ size_t const _BufferCount,
2307 _In_z_ _Scanf_format_string_params_(0) char const* const _Format,
2309 ...)
2310 #if defined _NO_CRT_STDIO_INLINE // SCANF
2311 ;
2312 #else
2313 {
2314 int _Result;
2317
2321
2323 return _Result;
2324 }
2325 #endif
2326
2329 _In_reads_bytes_(_BufferCount) _Pre_z_ char const* const _Buffer,
2330 _In_ size_t const _BufferCount,
2331 _In_z_ _Scanf_format_string_ char const* const _Format,
2332 ...)
2333 #if defined _NO_CRT_STDIO_INLINE // SCANF
2334 ;
2335 #else
2336 {
2337 int _Result;
2340
2344
2346 return _Result;
2347 }
2348 #endif
2349
2350
2353 _In_reads_bytes_(_BufferCount) _Pre_z_ char const* const _Buffer,
2354 _In_ size_t const _BufferCount,
2355 _In_z_ _Scanf_s_format_string_params_(0) char const* const _Format,
2357 ...)
2358 #if defined _NO_CRT_STDIO_INLINE // SCANF
2359 ;
2360 #else
2361 {
2362 int _Result;
2365
2369
2371 return _Result;
2372 }
2373 #endif
2374
2377 _In_reads_bytes_(_BufferCount) _Pre_z_ char const* const _Buffer,
2378 _In_ size_t const _BufferCount,
2379 _In_z_ _Scanf_s_format_string_ char const* const _Format,
2380 ...)
2381 #if defined _NO_CRT_STDIO_INLINE // SCANF
2382 ;
2383 #else
2384 {
2385 int _Result;
2388
2392
2394 return _Result;
2395 }
2396 #endif
2397
2398 #pragma warning(pop)
2399
2400 #if defined _M_CEE_MIXED
2401 #pragma managed(pop)
2402 #endif
2403
2404
2405
2406 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
2407 //
2408 // Non-ANSI Names for Compatibility
2409 //
2410 //-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
2411 #if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES
2412
2413 #define SYS_OPEN _SYS_OPEN
2414
2415 #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
2416 #pragma push_macro("tempnam")
2417 #undef tempnam
2418 #endif
2419
2421 _ACRTIMP char* __cdecl tempnam(
2422 _In_opt_z_ char const* _Directory,
2423 _In_opt_z_ char const* _FilePrefix
2424 );
2425
2426 #if defined _DEBUG && defined _CRTDBG_MAP_ALLOC
2427 #pragma pop_macro("tempnam")
2428 #endif
2429
2439
2440 #endif // _CRT_INTERNAL_NONSTDC_NAMES
2441#endif // _CRT_FUNCTIONS_REQUIRED
2442
2443
2444
2447#pragma warning(pop) // _UCRT_DISABLED_WARNINGS
2448#endif // _INC_STDIO
#define fileno
Definition: acwin.h:102
return
Definition: dirsup.c:529
_Out_ int * _FileHandle
_Inout_ FILE * _Stream
#define NULL
Definition: types.h:112
unsigned int *CDECL __p__commode(void)
Definition: data.c:232
int CDECL _vfprintf_s_l(FILE *file, const char *format, _locale_t locale, va_list valist)
Definition: file.c:5331
int WINAPIV _fprintf_s_l(FILE *file, const char *format, _locale_t locale,...)
Definition: file.c:5615
int WINAPIV _fprintf_l(FILE *file, const char *format, _locale_t locale,...)
Definition: file.c:5575
int WINAPIV _fprintf_p_l(FILE *file, const char *format, _locale_t locale,...)
Definition: file.c:5602
char *CDECL gets_s(char *buf, size_t len)
Definition: file.c:4829
int WINAPIV _fprintf_p(FILE *file, const char *format,...)
Definition: file.c:5589
int CDECL _vfprintf_p(FILE *file, const char *format, va_list valist)
Definition: file.c:5491
int CDECL tmpnam_s(char *s, size_t size)
Definition: file.c:5100
int CDECL _vfprintf_l(FILE *file, const char *format, _locale_t locale, va_list valist)
Definition: file.c:5463
int CDECL tmpfile_s(FILE **file)
Definition: file.c:5228
int CDECL _vfprintf_p_l(FILE *file, const char *format, _locale_t locale, va_list valist)
Definition: file.c:5481
int errno_t
Definition: corecrt.h:249
#define __cdecl
Definition: corecrt.h:121
#define _ACRTIMP
Definition: corecrt.h:153
#define __int64
Definition: corecrt.h:72
#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
#define stdout
#define stdin
_ACRTIMP int __cdecl _getw(FILE *)
Definition: file.c:3994
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl fprintf(FILE *, const char *,...) __WINE_CRT_PRINTF_ATTR(2
_ACRTIMP int __cdecl _fclose_nolock(FILE *)
Definition: file.c:3773
_ACRTIMP int __cdecl _fgetchar(void)
Definition: file.c:3895
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _vsnprintf_s(char *, size_t, size_t, const char *, va_list) __WINE_CRT_PRINTF_ATTR(4
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl fscanf(FILE *, const char *,...) __WINE_CRT_SCANF_ATTR(2
_ACRTIMP int __cdecl _set_printf_count_output(int)
Definition: stubs.c:10
static char * tempnam(const char *dir, const char *prefix)
Definition: stdio.h:486
_ACRTIMP size_t __cdecl _fread_nolock_s(void *, size_t, size_t, size_t, FILE *)
Definition: fread.cpp:69
_ACRTIMP char *__cdecl tmpnam(char *)
Definition: file.c:5108
_ACRTIMP size_t __cdecl fwrite(const void *, size_t, size_t, FILE *)
Definition: file.c:4129
_ACRTIMP int __cdecl fputc(int, FILE *)
Definition: file.c:4360
_ACRTIMP int __cdecl _unlink(const char *)
Definition: file.c:1085
_ACRTIMP char *__cdecl fgets(char *, int, FILE *)
Definition: file.c:3903
_ACRTIMP void __cdecl clearerr(FILE *)
Definition: file.c:1672
_ACRTIMP int __cdecl _fseek_nolock(FILE *, __msvcrt_long, int)
Definition: file.c:1618
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl vsprintf_s(char *, size_t, const char *, va_list) __WINE_CRT_PRINTF_ATTR(3
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl scanf(const char *,...) __WINE_CRT_SCANF_ATTR(1
_ACRTIMP __msvcrt_long __cdecl ftell(FILE *)
Definition: file.c:4740
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _sscanf_l(const char *, const char *, _locale_t,...) __WINE_CRT_SCANF_ATTR(2
_ACRTIMP int __cdecl _fcloseall(void)
Definition: file.c:1373
_ACRTIMP int __cdecl fgetc(FILE *)
Definition: file.c:3863
_ACRTIMP int __cdecl fputs(const char *, FILE *)
Definition: file.c:4769
_ACRTIMP FILE *__cdecl _fsopen(const char *, const char *, int)
Definition: file.c:4288
static int fgetchar(void)
Definition: stdio.h:481
_ACRTIMP int __cdecl ferror(FILE *)
Definition: file.c:3811
_ACRTIMP size_t __cdecl fread_s(void *, size_t, size_t, size_t, FILE *)
Definition: fread.cpp:30
_ACRTIMP int __cdecl _pclose(FILE *)
Definition: process.c:1212
_ACRTIMP void __cdecl _lock_file(FILE *)
Definition: file.c:1487
_ACRTIMP int __cdecl feof(FILE *)
Definition: file.c:3803
_ACRTIMP FILE *__cdecl _fdopen(int, const char *)
Definition: file.c:1847
_ACRTIMP int __cdecl getc(FILE *)
Definition: file.c:4821
_ACRTIMP int __cdecl _getmaxstdio(void)
Definition: file.c:5862
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl sprintf_s(char *, size_t, const char *,...) __WINE_CRT_PRINTF_ATTR(3
_ACRTIMP int __cdecl _scprintf(const char *,...) __WINE_CRT_PRINTF_ATTR(1
_ACRTIMP int __cdecl _fseeki64_nolock(FILE *, __int64, int)
Definition: file.c:1585
_ACRTIMP FILE *__cdecl freopen(const char *, const char *, FILE *)
Definition: file.c:4624
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _snprintf_s(char *, size_t, size_t, const char *,...) __WINE_CRT_PRINTF_ATTR(4
_ACRTIMP void __cdecl _unlock_file(FILE *)
Definition: file.c:1499
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl fprintf_s(FILE *, const char *,...) __WINE_CRT_PRINTF_ATTR(2
_ACRTIMP char *__cdecl _tempnam(const char *, const char *)
Definition: file.c:3441
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl vfprintf_s(FILE *, const char *, va_list) __WINE_CRT_PRINTF_ATTR(2
_ACRTIMP errno_t __cdecl clearerr_s(FILE *)
Definition: file.c:1684
_ACRTIMP int __cdecl fclose(FILE *)
Definition: file.c:3757
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl vsprintf(char *, const char *, va_list) __WINE_CRT_PRINTF_ATTR(2
_ACRTIMP int __cdecl putc(int, FILE *)
Definition: file.c:4907
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _vsprintf_p_l(char *, size_t, const char *, _locale_t, va_list) __WINE_CRT_PRINTF_ATTR(3
_ACRTIMP int __cdecl _get_printf_count_output(void)
Definition: stubs.c:5
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl sscanf(const char *, const char *,...) __WINE_CRT_SCANF_ATTR(2
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl vprintf_s(const char *, va_list) __WINE_CRT_PRINTF_ATTR(1
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl vfprintf(FILE *, const char *, va_list) __WINE_CRT_PRINTF_ATTR(2
_ACRTIMP errno_t __cdecl fopen_s(FILE **, const char *, const char *)
Definition: file.c:4318
_ACRTIMP int __cdecl _setmaxstdio(int)
Definition: file.c:5870
static int putw(int val, FILE *file)
Definition: stdio.h:542
_ACRTIMP int __cdecl fgetpos(FILE *, fpos_t *)
Definition: file.c:4758
_ACRTIMP size_t __cdecl fread(void *, size_t, size_t, FILE *)
Definition: file.c:4406
_ACRTIMP int __cdecl putchar(int)
Definition: crtsupp.c:12
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl scanf_s(const char *,...) __WINE_CRT_SCANF_ATTR(1
_ACRTIMP errno_t __cdecl freopen_s(FILE **, const char *, const char *, FILE *)
Definition: file.c:4646
_ACRTIMP __int64 __cdecl _ftelli64(FILE *)
Definition: file.c:4672
_ACRTIMP int __cdecl fseek(FILE *, __msvcrt_long, int)
Definition: file.c:1610
_ACRTIMP int __cdecl puts(const char *)
Definition: crtsupp.c:23
_ACRTIMP FILE *__cdecl fopen(const char *, const char *)
Definition: file.c:4310
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl printf_s(const char *,...) __WINE_CRT_PRINTF_ATTR(1
_ACRTIMP int __cdecl _fputchar(int)
Definition: file.c:4398
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl sscanf_s(const char *, const char *,...) __WINE_CRT_SCANF_ATTR(2
_ACRTIMP int __cdecl _rmtmp(void)
Definition: file.c:2748
_ACRTIMP int __cdecl setvbuf(FILE *, char *, int, size_t)
Definition: file.c:5006
_ACRTIMP int __cdecl _fileno(FILE *)
Definition: file.c:1925
_ACRTIMP void __cdecl perror(const char *)
Definition: errno.c:337
_ACRTIMP int __cdecl fsetpos(FILE *, fpos_t *)
Definition: file.c:4664
_ACRTIMP void __cdecl setbuf(FILE *, char *)
Definition: file.c:5046
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl fscanf_s(FILE *, const char *,...) __WINE_CRT_SCANF_ATTR(2
_ACRTIMP int __cdecl _snscanf_l(const char *, size_t, const char *, _locale_t,...) __WINE_CRT_SCANF_ATTR(3
_ACRTIMP int __cdecl rename(const char *, const char *)
Definition: file.c:4973
_ACRTIMP int __cdecl _fflush_nolock(FILE *)
Definition: file.c:1201
static int fputchar(int c)
Definition: stdio.h:483
_ACRTIMP __msvcrt_long __cdecl _ftell_nolock(FILE *)
Definition: ftell.cpp:379
_ACRTIMP int __cdecl _fseeki64(FILE *, __int64, int)
Definition: file.c:1571
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl static FILE * fdopen(int fd, const char *mode)
Definition: stdio.h:480
_ACRTIMP int __cdecl getchar(void)
Definition: file.c:4813
_ACRTIMP int __cdecl _flushall(void)
Definition: file.c:1174
_ACRTIMP size_t __cdecl _fwrite_nolock(const void *, size_t, size_t, FILE *)
Definition: file.c:4143
_ACRTIMP void __cdecl rewind(FILE *)
Definition: file.c:1712
_ACRTIMP size_t __cdecl _fread_nolock(void *, size_t, size_t, FILE *)
Definition: file.c:4420
_ACRTIMP int __cdecl ungetc(int, FILE *)
Definition: file.c:5732
_ACRTIMP int __cdecl fflush(FILE *)
Definition: file.c:1182
_ACRTIMP int __cdecl _putw(int, FILE *)
Definition: file.c:3738
_ACRTIMP FILE *__cdecl tmpfile(void)
Definition: file.c:5199
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl vprintf(const char *, va_list) __WINE_CRT_PRINTF_ATTR(1
_ACRTIMP FILE *__cdecl _popen(const char *, const char *)
Definition: process.c:1185
static int getw(FILE *file)
Definition: stdio.h:541
_ACRTIMP int __cdecl _ungetc_nolock(int, FILE *)
Definition: file.c:5748
_ACRTIMP __int64 __cdecl _ftelli64_nolock(FILE *)
Definition: file.c:4686
char * va_list
Definition: vadefs.h:50
int CDECL __stdio_common_vfscanf(unsigned __int64 options, FILE *file, const char *format, _locale_t locale, va_list valist)
Definition: scanf.c:707
int WINAPIV _snscanf_s_l(const char *input, size_t length, const char *format, _locale_t locale,...)
Definition: scanf.c:651
int WINAPIV _fscanf_s_l(FILE *file, const char *format, _locale_t locale,...)
Definition: scanf.c:193
int WINAPIV _fscanf_l(FILE *file, const char *format, _locale_t locale,...)
Definition: scanf.c:164
int WINAPIV _sscanf_s_l(const char *str, const char *format, _locale_t locale,...)
Definition: scanf.c:423
int WINAPIV _snscanf_s(const char *input, size_t length, const char *format,...)
Definition: scanf.c:637
int WINAPIV _scanf_l(const char *format, _locale_t locale,...)
Definition: scanf.c:222
int WINAPIV _scanf_s_l(const char *format, _locale_t locale,...)
Definition: scanf.c:250
int CDECL __stdio_common_vsscanf(unsigned __int64 options, const char *input, size_t length, const char *format, _locale_t locale, va_list valist)
Definition: scanf.c:667
int WINAPIV _snprintf_s_l(char *str, size_t len, size_t count, const char *format, _locale_t locale,...)
Definition: wcs.c:1285
int WINAPIV _scprintf_p_l(const char *format, _locale_t locale,...)
Definition: wcs.c:1352
int WINAPIV _snprintf_c(char *str, size_t count, const char *format,...)
Definition: wcs.c:1272
int CDECL _vsnprintf_s_l(char *str, size_t sizeOfBuffer, size_t count, const char *format, _locale_t locale, va_list valist)
Definition: wcs.c:1050
int WINAPIV _scprintf_p(const char *format,...)
Definition: wcs.c:1339
int CDECL _vsprintf_p(char *buffer, size_t length, const char *format, va_list args)
Definition: wcs.c:1871
int WINAPIV _snprintf_c_l(char *str, size_t count, const char *format, _locale_t locale,...)
Definition: wcs.c:1258
int CDECL _vsprintf_l(char *str, const char *format, _locale_t locale, va_list valist)
Definition: wcs.c:965
int WINAPIV _snprintf_l(char *str, size_t count, const char *format, _locale_t locale,...)
Definition: wcs.c:1244
int WINAPIV _sprintf_l(char *str, const char *format, _locale_t locale,...)
Definition: wcs.c:974
int CDECL _vsnprintf_l(char *str, size_t len, const char *format, _locale_t locale, va_list valist)
Definition: wcs.c:949
int CDECL _vsnprintf_c_l(char *str, size_t len, const char *format, _locale_t locale, va_list valist)
Definition: wcs.c:1092
int CDECL _vscprintf_l(const char *format, _locale_t locale, va_list valist)
Definition: wcs.c:1184
int WINAPIV _sprintf_s_l(char *str, size_t count, const char *format, _locale_t locale,...)
Definition: wcs.c:1069
int WINAPIV _sprintf_p_l(char *buffer, size_t length, const char *format, _locale_t locale,...)
Definition: wcs.c:1893
int CDECL _vscprintf_p_l(const char *format, _locale_t locale, va_list args)
Definition: wcs.c:1193
int CDECL _vscprintf_p(const char *format, va_list argptr)
Definition: wcs.c:1223
int CDECL _vsnprintf_c(char *str, size_t len, const char *format, va_list valist)
Definition: wcs.c:1101
int CDECL _vsprintf_s_l(char *str, size_t count, const char *format, _locale_t locale, va_list valist)
Definition: wcs.c:1060
int WINAPIV _scprintf_l(const char *format, _locale_t locale,...)
Definition: wcs.c:1326
__crt_va_start(_ArgList, _Format)
_In_z_ _Printf_format_string_ char const *const _Format
Definition: printf.c:19
_Result
Definition: printf.c:27
__crt_va_end(_ArgList)
_In_z_ _Printf_format_string_ char const *const va_list _ArgList
Definition: printf.c:23
#define printf
Definition: freeldr.h:97
#define unlink
Definition: syshdrs.h:54
#define _vscprintf
Definition: _vscprintf.c:25
#define sprintf
Definition: sprintf.c:45
int CDECL _get_stream_buffer_pointers(FILE *, char ***, char ***, int **)
Definition: _file.cpp:153
#define _Deref_post_valid_
Definition: ms_sal.h:1195
#define _Post_maybez_
Definition: ms_sal.h:1372
int remove
Definition: msacm.c:1366
#define _In_reads_bytes_(s)
Definition: no_sal2.h:170
#define _In_reads_(s)
Definition: no_sal2.h:168
#define _Out_writes_z_(s)
Definition: no_sal2.h:180
#define _Out_opt_
Definition: no_sal2.h:214
#define _Post_readable_size_(s)
Definition: no_sal2.h:536
#define _Inout_
Definition: no_sal2.h:162
#define _Always_(a)
Definition: no_sal2.h:90
#define _Success_(c)
Definition: no_sal2.h:84
#define _Outptr_result_maybenull_
Definition: no_sal2.h:266
#define _Scanf_s_format_string_params_(x)
Definition: no_sal2.h:366
#define _Out_writes_opt_(s)
Definition: no_sal2.h:226
#define _In_z_
Definition: no_sal2.h:164
#define _Scanf_format_string_params_(x)
Definition: no_sal2.h:364
#define _Pre_maybenull_
Definition: no_sal2.h:514
#define _Check_return_
Definition: no_sal2.h:60
#define _In_opt_z_
Definition: no_sal2.h:218
#define _Scanf_s_format_string_
Definition: no_sal2.h:360
#define _Post_z_
Definition: no_sal2.h:508
#define _Out_writes_bytes_to_(s, c)
Definition: no_sal2.h:190
#define _Pre_notnull_
Definition: no_sal2.h:516
#define _Out_writes_opt_z_(s)
Definition: no_sal2.h:230
#define _Inout_opt_
Definition: no_sal2.h:216
#define _Out_writes_(s)
Definition: no_sal2.h:176
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define _Pre_z_
Definition: no_sal2.h:506
#define _In_range_(l, h)
Definition: no_sal2.h:368
#define _Out_writes_bytes_(s)
Definition: no_sal2.h:178
#define _Printf_format_string_params_(x)
Definition: no_sal2.h:362
#define _Outptr_result_nullonfailure_
Definition: no_sal2.h:490
#define _Scanf_format_string_
Definition: no_sal2.h:358
#define _Inout_updates_opt_(s)
Definition: no_sal2.h:232
#define _Printf_format_string_
Definition: no_sal2.h:356
int __cdecl __stdio_common_vsprintf_s(unsigned __int64 const options, char *const buffer, size_t const buffer_count, char const *const format, _locale_t const locale, va_list const arglist)
Definition: output.cpp:292
int __cdecl __stdio_common_vfprintf(unsigned __int64 const options, FILE *const stream, char const *const format, _locale_t const locale, va_list const arglist)
Definition: output.cpp:52
int __cdecl __stdio_common_vsprintf(unsigned __int64 const options, char *const buffer, size_t const buffer_count, char const *const format, _locale_t const locale, va_list const arglist)
Definition: output.cpp:233
int __cdecl __stdio_common_vsprintf_p(unsigned __int64 const options, char *const buffer, size_t const buffer_count, char const *const format, _locale_t const locale, va_list const arglist)
Definition: output.cpp:421
int __cdecl __stdio_common_vfprintf_p(unsigned __int64 const options, FILE *const stream, char const *const format, _locale_t const locale, va_list const arglist)
Definition: output.cpp:100
int __cdecl __stdio_common_vfprintf_s(unsigned __int64 const options, FILE *const stream, char const *const format, _locale_t const locale, va_list const arglist)
Definition: output.cpp:76
int __cdecl __stdio_common_vsnprintf_s(unsigned __int64 const options, char *const buffer, size_t const buffer_count, size_t const max_count, char const *const format, _locale_t const locale, va_list const arglist)
Definition: output.cpp:393
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3)
Definition: corecrt.h:179
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(_ReturnType, _FuncName, _VFuncName, _DstType, _Dst, _TType1, _TArg1)
Definition: corecrt.h:185
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(_ReturnType, _FuncName, _VFuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: corecrt.h:186
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2)
Definition: corecrt.h:178
#define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_ReturnType, _FuncName, _DstType, _Dst)
Definition: corecrt.h:176
_Check_return_ _Ret_maybenull_ _In_ size_t _In_ size_t _Size
Definition: malloc.h:109
_Check_return_ _Ret_maybenull_ _In_ size_t _In_ size_t _Offset
Definition: malloc.h:140
_Check_return_ _Ret_maybenull_ _In_ size_t _Count
Definition: malloc.h:108
_MaxCount
Definition: memory.h:72
_CRTIMP int _commode
Definition: environ.c:31
int __cdecl vfscanf(FILE *__restrict__ fp, const char *Format, va_list argp)
#define _fgetc_nolock(_stream)
Definition: stdio.h:1142
__MINGW_EXTENSION typedef long long fpos_t
Definition: stdio.h:111
_Check_return_opt_ _CRTIMP int __cdecl fcloseall(void)
_Check_return_opt_ _CRTIMP int __cdecl flushall(void)
_Check_return_ _CRTIMP int __cdecl rmtmp(void)
int __cdecl vsscanf(const char *__restrict__ _Str, const char *__restrict__ Format, va_list argp)
#define _getc_nolock(_stream)
Definition: stdio.h:1144
#define BUFSIZ
Definition: stdio.h:20
int __cdecl vscanf(const char *__restrict__ Format, va_list argp)
_Check_return_opt_ _CRTIMP int __cdecl _snscanf(_In_reads_bytes_(_MaxCount) _Pre_z_ const char *_Src, _In_ size_t _MaxCount, _In_z_ _Scanf_format_string_ const char *_Format,...)
#define _putc_nolock(_c, _stream)
Definition: stdio.h:1145
#define _fputc_nolock(_c, _stream)
Definition: stdio.h:1143
_Check_return_ wchar_t _Ch
Definition: string.h:697
_In_ size_t _In_z_ _Printf_format_string_ const char _In_ const struct tm _In_opt_ _locale_t _Locale
Definition: time.h:159
_UCRT_DISABLE_CLANG_WARNINGS _CRT_BEGIN_C_HEADER _Check_return_wat_ _In_ size_t _BufferCount
Definition: conio.h:25
#define _Check_return_opt_
Definition: corecrt.h:224
#define _DCRTIMP
Definition: corecrt.h:154
#define _CRT_NONSTDC_DEPRECATE(_NewName)
Definition: corecrt.h:439
#define __EMPTY_DECLSPEC
Definition: corecrt.h:1894
size_t rsize_t
Definition: corecrt.h:666
#define __RETURN_POLICY_DST(_FunctionCall)
Definition: corecrt.h:1892
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst)
Definition: corecrt.h:842
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_ARGLIST(_ReturnType, _ReturnPolicy, _DeclSpec, _CC, _FuncName, _VFuncName, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
Definition: corecrt.h:863
#define _CRTALLOCATOR
Definition: corecrt.h:167
#define _UCRT_DISABLE_CLANG_WARNINGS
Definition: corecrt.h:109
#define _UCRT_RESTORE_CLANG_WARNINGS
Definition: corecrt.h:117
#define _Check_return_wat_
Definition: corecrt.h:230
#define __RETURN_POLICY_SAME(_FunctionCall)
Definition: corecrt.h:1891
#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:1968
#define _CRT_STDIO_INLINE
_In_ _Value
#define EOF
Definition: stdio.h:41
__int64 fpos_t
Definition: stdio.h:73
_In_ _Pre_notnull_ _Buffer
Definition: stdlib.h:644
_In_ int _Base
Definition: time.h:330
#define vsnprintf
Definition: tif_win32.c:406
#define _CRT_END_C_HEADER
Definition: vcruntime.h:42
#define _CRT_BEGIN_C_HEADER
Definition: vcruntime.h:40
#define _CRT_INSECURE_DEPRECATE(_Replacement)
Definition: vcruntime.h:99
#define snprintf
Definition: wintirpc.h:48
#define _vsnprintf
Definition: xmlstorage.h:202
#define _snprintf
Definition: xmlstorage.h:200
#define __CRTDECL
Definition: yvals.h:17
#define const
Definition: zconf.h:233