ReactOS 0.4.15-dev-7958-gcd0bb1a
stdio_s.h
Go to the documentation of this file.
1
6#ifndef _INC_STDIO_S
7#define _INC_STDIO_S
8
9#include <stdio.h>
10
11#if defined(MINGW_HAS_SECURE_API)
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#ifndef _STDIO_S_DEFINED
18#define _STDIO_S_DEFINED
19
24 clearerr_s(
25 _Inout_ FILE *_File);
26
28 int
31 _Inout_ FILE *_File,
33 ...);
34
36 size_t
38 fread_s(
39 _Out_writes_bytes_(_ElementSize * _Count) void *_DstBuf,
40 _In_ size_t _DstSize,
41 _In_ size_t _ElementSize,
42 _In_ size_t _Count,
43 _Inout_ FILE *_File);
44
47 int
49 _fscanf_s_l(
50 _Inout_ FILE *_File,
53 ...);
54
56 int
60 ...);
61
64 int
66 _scanf_l(
69 ...);
70
73 int
75 _scanf_s_l(
78 ...);
79
82 int
84 _snprintf_s(
85 _Out_writes_z_(_DstSize) char *_DstBuf,
86 _In_ size_t _DstSize,
87 _In_ size_t _MaxCount,
89 ...);
90
93 int
95 _snprintf_c(
96 _Out_writes_(_MaxCount) char *_DstBuf,
97 _In_ size_t _MaxCount,
99 ...);
100
102 _CRTIMP
103 int
104 __cdecl
105 _vsnprintf_c(
106 _Out_writes_(_MaxCount) char *_DstBuf,
107 _In_ size_t _MaxCount,
109 va_list _ArgList);
110
112 int
113 __cdecl
114 sprintf_s(
115 _Out_writes_z_(_DstSize) char *_DstBuf,
116 _In_ size_t _DstSize,
118 ...);
119
121 _CRTIMP
122 int
123 __cdecl
124 _fscanf_l(
125 _Inout_ FILE *_File,
128 ...);
129
131 _CRTIMP
132 int
133 __cdecl
134 _sscanf_l(
135 _In_z_ const char *_Src,
138 ...);
139
141 _CRTIMP
142 int
143 __cdecl
144 _sscanf_s_l(
145 _In_z_ const char *_Src,
148 ...);
149
151 _CRTIMP
152 int
153 __cdecl
154 _snscanf_s(
155 _In_reads_bytes_(_MaxCount) _Pre_z_ const char *_Src,
156 _In_ size_t _MaxCount,
158 ...);
159
161 _CRTIMP
162 int
163 __cdecl
164 _snscanf_l(
165 _In_reads_bytes_(_MaxCount) _Pre_z_ const char *_Src,
166 _In_ size_t _MaxCount,
169 ...);
170
172 _CRTIMP
173 int
174 __cdecl
175 _snscanf_s_l(
176 _In_reads_bytes_(_MaxCount) _Pre_z_ const char *_Src,
177 _In_ size_t _MaxCount,
180 ...);
181
183 int
184 __cdecl
186 _Inout_ FILE *_File,
188 va_list _ArgList);
189
191 int
192 __cdecl
193 vprintf_s(
195 va_list _ArgList);
196
198 int
199 __cdecl
200 vsnprintf_s(
201 _Out_writes_z_(_DstSize) char *_DstBuf,
202 _In_ size_t _DstSize,
203 _In_ size_t _MaxCount,
205 va_list _ArgList);
206
208 _CRTIMP
209 int
210 __cdecl
212 _Out_writes_z_(_DstSize) char *_DstBuf,
213 _In_ size_t _DstSize,
214 _In_ size_t _MaxCount,
216 va_list _ArgList);
217
218 int
219 __cdecl
220 vsprintf_s(
221 _Out_writes_z_(_Size) char *_DstBuf,
222 _In_ size_t _Size,
224 va_list _ArgList);
225
227 _CRTIMP
228 int
229 __cdecl
230 _fprintf_p(
231 _Inout_ FILE *_File,
233 ...);
234
236 _CRTIMP
237 int
238 __cdecl
239 _printf_p(
241 ...);
242
244 _CRTIMP
245 int
246 __cdecl
247 _sprintf_p(
248 _Out_writes_z_(_MaxCount) char *_Dst,
249 _In_ size_t _MaxCount,
251 ...);
252
254 _CRTIMP
255 int
256 __cdecl
257 _vfprintf_p(
258 _Inout_ FILE *_File,
260 va_list _ArgList);
261
263 _CRTIMP
264 int
265 __cdecl
266 _vprintf_p(
268 va_list _ArgList);
269
271 _CRTIMP
272 int
273 __cdecl
274 _vsprintf_p(
275 _Out_writes_z_(_MaxCount) char *_Dst,
276 _In_ size_t _MaxCount,
278 va_list _ArgList);
279
281 _CRTIMP
282 int
283 __cdecl
284 _scprintf_p(
286 ...);
287
289 _CRTIMP
290 int
291 __cdecl
292 _vscprintf_p(
294 va_list _ArgList);
295
297 _CRTIMP
298 int
299 __cdecl
300 _printf_l(
303 ...);
304
306 _CRTIMP
307 int
308 __cdecl
309 _printf_p_l(
312 ...);
313
315 _CRTIMP
316 int
317 __cdecl
318 _vprintf_l(
321 va_list _ArgList);
322
324 _CRTIMP
325 int
326 __cdecl
327 _vprintf_p_l(
330 va_list _ArgList);
331
333 _CRTIMP
334 int
335 __cdecl
336 _fprintf_l(
337 _Inout_ FILE *_File,
340 ...);
341
343 _CRTIMP
344 int
345 __cdecl
346 _fprintf_p_l(
347 _Inout_ FILE *_File,
350 ...);
351
353 _CRTIMP
354 int
355 __cdecl
356 _vfprintf_l(
357 _Inout_ FILE *_File,
360 va_list _ArgList);
361
363 _CRTIMP
364 int
365 __cdecl
366 _vfprintf_p_l(
367 _Inout_ FILE *_File,
370 va_list _ArgList);
371
373 _CRTIMP
374 int
375 __cdecl
376 _sprintf_l(
377 _Pre_notnull_ _Post_z_ char *_DstBuf,
380 ...);
381
383 _CRTIMP
384 int
385 __cdecl
386 _sprintf_p_l(
387 _Out_writes_z_(_MaxCount) char *_DstBuf,
388 _In_ size_t _MaxCount,
391 ...);
392
394 _CRTIMP
395 int
396 __cdecl
397 _vsprintf_l(
398 _Pre_notnull_ _Post_z_ char *_DstBuf,
401 va_list _ArgList);
402
404 _CRTIMP
405 int
406 __cdecl
407 _vsprintf_p_l(
408 _Out_writes_z_(_MaxCount) char *_DstBuf,
409 _In_ size_t _MaxCount,
412 va_list _ArgList);
413
415 _CRTIMP
416 int
417 __cdecl
418 _scprintf_l(
421 ...);
422
424 _CRTIMP
425 int
426 __cdecl
427 _scprintf_p_l(
430 ...);
431
433 _CRTIMP
434 int
435 __cdecl
436 _vscprintf_l(
439 va_list _ArgList);
440
442 _CRTIMP
443 int
444 __cdecl
445 _vscprintf_p_l(
448 va_list _ArgList);
449
451 _CRTIMP
452 int
453 __cdecl
454 _printf_s_l(
457 ...);
458
460 _CRTIMP
461 int
462 __cdecl
463 _vprintf_s_l(
466 va_list _ArgList);
467
469 _CRTIMP
470 int
471 __cdecl
472 _fprintf_s_l(
473 _Inout_ FILE *_File,
476 ...);
477
479 _CRTIMP
480 int
481 __cdecl
482 _vfprintf_s_l(
483 _Inout_ FILE *_File,
486 va_list _ArgList);
487
489 _CRTIMP
490 int
491 __cdecl
492 _sprintf_s_l(
493 _Out_writes_z_(_DstSize) char *_DstBuf,
494 _In_ size_t _DstSize,
497 ...);
498
500 _CRTIMP
501 int
502 __cdecl
503 _vsprintf_s_l(
504 _Out_writes_z_(_DstSize) char *_DstBuf,
505 _In_ size_t _DstSize,
508 va_list _ArgList);
509
511 _CRTIMP
512 int
513 __cdecl
514 _snprintf_s_l(
515 _Out_writes_z_(_DstSize) char *_DstBuf,
516 _In_ size_t _DstSize,
517 _In_ size_t _MaxCount,
520 ...);
521
523 _CRTIMP
524 int
525 __cdecl
526 _vsnprintf_s_l(
527 _Out_writes_z_(_DstSize) char *_DstBuf,
528 _In_ size_t _DstSize,
529 _In_ size_t _MaxCount,
532 va_list _ArgList);
533
535 _CRTIMP
536 int
537 __cdecl
538 _snprintf_l(
539 _Out_writes_(_MaxCount) char *_DstBuf,
540 _In_ size_t _MaxCount,
543 ...);
544
546 _CRTIMP
547 int
548 __cdecl
549 _snprintf_c_l(
550 _Out_writes_(_MaxCount) char *_DstBuf,
551 _In_ size_t _MaxCount,
554 ...);
555
557 _CRTIMP
558 int
559 __cdecl
560 _vsnprintf_l(
561 _Out_writes_(_MaxCount) char *_DstBuf,
562 _In_ size_t _MaxCount,
565 va_list _ArgList);
566
568 _CRTIMP
569 int
570 __cdecl
571 _vsnprintf_c_l(
572 _Out_writes_(_MaxCount) char *_DstBuf,
573 _In_ size_t _MaxCount,
574 const char *,
576 va_list _ArgList);
577
579 _CRTIMP
580 errno_t
581 __cdecl
582 fopen_s(
584 _In_z_ const char *_Filename,
585 _In_z_ const char *_Mode);
586
587#ifndef _WSTDIO_S_DEFINED
588#define _WSTDIO_S_DEFINED
589
591 _CRTIMP
592 wchar_t *
593 __cdecl
594 _getws_s(
595 _Out_writes_z_(_SizeInWords) wchar_t *_Str,
596 _In_ size_t _SizeInWords);
597
599 int
600 __cdecl
602 _Inout_ FILE *_File,
604 ...);
605
607 int
608 __cdecl
609 wprintf_s(
611 ...);
612
614 int
615 __cdecl
617 _Inout_ FILE *_File,
619 va_list _ArgList);
620
622 int
623 __cdecl
626 va_list _ArgList);
627
628 int
629 __cdecl
630 swprintf_s(
631 _Out_writes_z_(_SizeInWords) wchar_t *_Dst,
632 _In_ size_t _SizeInWords,
634 ...);
635
636 int
637 __cdecl
638 vswprintf_s(
639 _Out_writes_z_(_SizeInWords) wchar_t *_Dst,
640 _In_ size_t _SizeInWords,
642 va_list _ArgList);
643
645 _CRTIMP
646 int
647 __cdecl
648 _snwprintf_s(
649 _Out_writes_z_(_DstSizeInWords) wchar_t *_DstBuf,
650 _In_ size_t _DstSizeInWords,
651 _In_ size_t _MaxCount,
653 ...);
654
656 _CRTIMP
657 int
658 __cdecl
659 _vsnwprintf_s(
660 _Out_writes_z_(_DstSizeInWords) wchar_t *_DstBuf,
661 _In_ size_t _DstSizeInWords,
662 _In_ size_t _MaxCount,
664 va_list _ArgList);
665
667 _CRTIMP
668 int
669 __cdecl
670 _wprintf_s_l(
673 ...);
674
676 _CRTIMP
677 int
678 __cdecl
679 _vwprintf_s_l(
682 va_list _ArgList);
683
685 _CRTIMP
686 int
687 __cdecl
688 _fwprintf_s_l(
689 _Inout_ FILE *_File,
692 ...);
693
695 _CRTIMP
696 int
697 __cdecl
698 _vfwprintf_s_l(
699 _Inout_ FILE *_File,
702 va_list _ArgList);
703
705 _CRTIMP
706 int
707 __cdecl
708 _swprintf_s_l(
709 _Out_writes_z_(_DstSize) wchar_t *_DstBuf,
710 _In_ size_t _DstSize,
713 ...);
714
716 _CRTIMP
717 int
718 __cdecl
719 _vswprintf_s_l(
720 _Out_writes_z_(_DstSize) wchar_t *_DstBuf,
721 _In_ size_t _DstSize,
724 va_list _ArgList);
725
727 _CRTIMP
728 int
729 __cdecl
730 _snwprintf_s_l(
731 _Out_writes_z_(_DstSize) wchar_t *_DstBuf,
732 _In_ size_t _DstSize,
733 _In_ size_t _MaxCount,
736 ...);
737
739 _CRTIMP
740 int
741 __cdecl
742 _vsnwprintf_s_l(
743 _Out_writes_z_(_DstSize) wchar_t *_DstBuf,
744 _In_ size_t _DstSize,
745 _In_ size_t _MaxCount,
748 va_list _ArgList);
749
751 _CRTIMP
752 int
753 __cdecl
754 _fwscanf_s_l(
755 _Inout_ FILE *_File,
758 ...);
759
761 _CRTIMP
762 int
763 __cdecl
764 _swscanf_s_l(
765 _In_z_ const wchar_t *_Src,
768 ...);
769
771 _CRTIMP
772 int
773 __cdecl
774 _snwscanf_s(
775 _In_reads_(_MaxCount) _Pre_z_ const wchar_t *_Src,
776 _In_ size_t _MaxCount,
778 ...);
779
781 _CRTIMP
782 int
783 __cdecl
784 _snwscanf_s_l(
785 _In_reads_(_MaxCount) _Pre_z_ const wchar_t *_Src,
786 _In_ size_t _MaxCount,
789 ...);
790
792 _CRTIMP
793 int
794 __cdecl
795 _wscanf_s_l(
798 ...);
799
801 _CRTIMP
802 errno_t
803 __cdecl
804 _wfopen_s(
806 _In_z_ const wchar_t *_Filename,
807 _In_z_ const wchar_t *_Mode);
808
810 _CRTIMP
811 errno_t
812 __cdecl
813 _wfreopen_s(
815 _In_z_ const wchar_t *_Filename,
816 _In_z_ const wchar_t *_Mode,
817 _Inout_ FILE *_OldFile);
818
820 _CRTIMP
821 errno_t
822 __cdecl
823 _wtmpnam_s(
824 _Out_writes_z_(_SizeInWords) wchar_t *_DstBuf,
825 _In_ size_t _SizeInWords);
826
828 _CRTIMP
829 int
830 __cdecl
832 _Inout_ FILE *_File,
834 ...);
835
837 _CRTIMP
838 int
839 __cdecl
842 ...);
843
845 _CRTIMP
846 int
847 __cdecl
849 _Inout_ FILE *_File,
851 va_list _ArgList);
852
854 _CRTIMP
855 int
856 __cdecl
859 va_list _ArgList);
860
862 _CRTIMP
863 int
864 __cdecl
866 _Out_writes_z_(_MaxCount) wchar_t *_DstBuf,
867 _In_ size_t _MaxCount,
869 ...);
870
872 _CRTIMP
873 int
874 __cdecl
876 _Out_writes_z_(_MaxCount) wchar_t *_DstBuf,
877 _In_ size_t _MaxCount,
879 va_list _ArgList);
880
882 _CRTIMP
883 int
884 __cdecl
887 ...);
888
890 _CRTIMP
891 int
892 __cdecl
895 va_list _ArgList);
896
898 _CRTIMP
899 int
900 __cdecl
904 ...);
905
907 _CRTIMP
908 int
909 __cdecl
913 ...);
914
916 _CRTIMP
917 int
918 __cdecl
922 va_list _ArgList);
923
925 _CRTIMP
926 int
927 __cdecl
931 va_list _ArgList);
932
934 _CRTIMP
935 int
936 __cdecl
938 _Inout_ FILE *_File,
941 ...);
942
944 _CRTIMP
945 int
946 __cdecl
948 _Inout_ FILE *_File,
951 ...);
952
954 _CRTIMP
955 int
956 __cdecl
958 _Inout_ FILE *_File,
961 va_list _ArgList);
962
964 _CRTIMP
965 int
966 __cdecl
968 _Inout_ FILE *_File,
971 va_list _ArgList);
972
974 _CRTIMP
975 int
976 __cdecl
978 _Out_writes_z_(_MaxCount) wchar_t *_DstBuf,
979 _In_ size_t _MaxCount,
982 ...);
983
985 _CRTIMP
986 int
987 __cdecl
989 _Out_writes_z_(_MaxCount) wchar_t *_DstBuf,
990 _In_ size_t _MaxCount,
993 ...);
994
996 _CRTIMP
997 int
998 __cdecl
1000 _Out_writes_z_(_MaxCount) wchar_t *_DstBuf,
1001 _In_ size_t _MaxCount,
1002 _In_z_ _Printf_format_string_ const wchar_t *_Format,
1004 va_list _ArgList);
1005
1007 _CRTIMP
1008 int
1009 __cdecl
1011 _Out_writes_z_(_MaxCount) wchar_t *_DstBuf,
1012 _In_ size_t _MaxCount,
1013 _In_z_ _Printf_format_string_ const wchar_t *_Format,
1015 va_list _ArgList);
1016
1018 _CRTIMP
1019 int
1020 __cdecl
1022 _In_z_ _Printf_format_string_ const wchar_t *_Format,
1024 ...);
1025
1027 _CRTIMP
1028 int
1029 __cdecl
1031 _In_z_ _Printf_format_string_ const wchar_t *_Format,
1033 ...);
1034
1036 _CRTIMP
1037 int
1038 __cdecl
1040 _In_z_ _Printf_format_string_ const wchar_t *_Format,
1042 va_list _ArgList);
1043
1045 _CRTIMP
1046 int
1047 __cdecl
1049 _Out_writes_(_MaxCount) wchar_t *_DstBuf,
1050 _In_ size_t _MaxCount,
1051 _In_z_ _Printf_format_string_ const wchar_t *_Format,
1053 ...);
1054
1056 _CRTIMP
1057 int
1058 __cdecl
1060 _Out_writes_(_MaxCount) wchar_t *_DstBuf,
1061 _In_ size_t _MaxCount,
1062 _In_z_ _Printf_format_string_ const wchar_t *_Format,
1064 va_list _ArgList);
1065
1066 _CRTIMP int __cdecl __swprintf_l(wchar_t *_Dest,const wchar_t *_Format,_locale_t _Plocinfo,...);
1067 _CRTIMP int __cdecl __vswprintf_l(wchar_t *_Dest,const wchar_t *_Format,_locale_t _Plocinfo,va_list _Args);
1068
1070 _CRTIMP
1071 int
1072 __cdecl
1074 _In_z_ _Printf_format_string_ const wchar_t *_Format,
1076 va_list _ArgList);
1077
1079 _CRTIMP
1080 int
1081 __cdecl
1082 _fwscanf_l(
1083 _Inout_ FILE *_File,
1084 _In_z_ _Scanf_format_string_ const wchar_t *_Format,
1086 ...);
1087
1089 _CRTIMP
1090 int
1091 __cdecl
1092 _swscanf_l(
1093 _In_z_ const wchar_t *_Src,
1094 _In_z_ _Scanf_format_string_ const wchar_t *_Format,
1096 ...);
1097
1099 _CRTIMP
1100 int
1101 __cdecl
1103 _In_reads_(_MaxCount) _Pre_z_ const wchar_t *_Src,
1104 _In_ size_t _MaxCount,
1105 _In_z_ _Scanf_format_string_ const wchar_t *_Format,
1107 ...);
1108
1110 _CRTIMP
1111 int
1112 __cdecl
1113 _wscanf_l(
1114 _In_z_ _Scanf_format_string_ const wchar_t *_Format,
1116 ...);
1117
1119 _CRTIMP
1120 errno_t
1121 __cdecl
1122 _wfopen_s(
1124 _In_z_ const wchar_t *_Filename,
1125 _In_z_ const wchar_t *_Mode);
1126
1127#endif /* _WSTDIO_S_DEFINED */
1128
1129#endif /* _STDIO_S_DEFINED */
1130
1132 _CRTIMP
1133 size_t
1134 __cdecl
1135 _fread_nolock_s(
1136 _Out_writes_bytes_(_ElementSize * _Count) void *_DstBuf,
1137 _In_ size_t _DstSize,
1138 _In_ size_t _ElementSize,
1139 _In_ size_t _Count,
1140 _Inout_ FILE *_File);
1141
1142#ifdef __cplusplus
1143}
1144#endif
1145
1146#endif /* MINGW_HAS_SECURE_API */
1147
1148#endif /* _INC_STDIO_S */
int _vsnprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format, va_list argptr)
#define __cdecl
Definition: accygwin.h:79
char * va_list
Definition: acmsvcex.h:78
#define _Check_return_opt_
Definition: crtdefs.h:456
#define _Check_return_wat_
Definition: crtdefs.h:462
#define _CRTIMP
Definition: crtdefs.h:72
int errno_t
Definition: crtdefs.h:374
int __cdecl fprintf_s(FILE *file, const char *format,...)
Definition: fprintf_s.c:16
int __cdecl fwprintf_s(FILE *file, const wchar_t *format,...)
Definition: fwprintf_s.c:16
_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 _swprintf_p(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl _fwprintf_p_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_ _CRTIMP int __cdecl _scwprintf_l(_In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _snwprintf_l(_Out_writes_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _fwprintf_p(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_p(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _snwscanf_l(_In_reads_(_MaxCount) _Pre_z_ const wchar_t *_Src, _In_ size_t _MaxCount, _In_z_ _Scanf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _vfwprintf_p_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_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_l(_In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _wscanf_l(_In_z_ _Scanf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_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 _swscanf_l(_In_z_ const wchar_t *_Src, _In_z_ _Scanf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _fwprintf_l(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_p_l(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _fwscanf_l(_Inout_ FILE *_File, _In_z_ _Scanf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _vswprintf_c_l(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_ _CRTIMP int __cdecl _vscwprintf_l(_In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_opt_ _CRTIMP int __cdecl _swprintf_p_l(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _swprintf_c_l(_Out_writes_z_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_Check_return_opt_ _CRTIMP int __cdecl _vsnwprintf_l(_Out_writes_(_MaxCount) wchar_t *_DstBuf, _In_ size_t _MaxCount, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale, va_list _ArgList)
_Check_return_ _CRTIMP int __cdecl _scwprintf_p_l(_In_z_ _Printf_format_string_ const wchar_t *_Format, _In_opt_ _locale_t _Locale,...)
_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 __swprintf_l(wchar_t *_Dest, const wchar_t *_Format, _locale_t _Plocinfo,...)
_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,...)
_Check_return_ _Ret_maybenull_ _In_ size_t _Count
Definition: malloc.h:108
_Check_return_ _Ret_maybenull_ _In_ size_t _In_ size_t _Size
Definition: malloc.h:109
#define _Post_z_
Definition: ms_sal.h:691
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321
#define _Inout_
Definition: ms_sal.h:378
#define _Out_writes_z_(size)
Definition: ms_sal.h:352
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _Outptr_result_maybenull_
Definition: ms_sal.h:428
#define _In_z_
Definition: ms_sal.h:313
#define _Check_return_
Definition: ms_sal.h:557
#define _Scanf_s_format_string_
Definition: ms_sal.h:563
#define _Out_writes_(size)
Definition: ms_sal.h:348
#define _Pre_notnull_
Definition: ms_sal.h:680
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define _Pre_z_
Definition: ms_sal.h:668
#define _Scanf_format_string_
Definition: ms_sal.h:562
#define _Printf_format_string_
Definition: ms_sal.h:561
#define _In_reads_(size)
Definition: ms_sal.h:319
int __cdecl printf_s(const char *format,...)
Definition: printf_s.c:16
_MaxCount
Definition: memory.h:72
_In_ size_t _In_z_ _Printf_format_string_ const char * _Format
Definition: time.h:147
_In_ size_t _SizeInWords
Definition: time.h:309
_In_ size_t _In_z_ _Printf_format_string_ const char _In_ const struct tm _In_opt_ _locale_t _Locale
Definition: time.h:159
int CDECL fopen_s(FILE **pFile, const char *filename, const char *mode)
Definition: file.c:3257
int CDECL _wfopen_s(FILE **pFile, const wchar_t *filename, const wchar_t *mode)
Definition: file.c:3282
int __cdecl vfprintf_s(FILE *file, const char *format, va_list argptr)
Definition: vfprintf_s.c:19
int __cdecl vfwprintf_s(FILE *file, const wchar_t *format, va_list argptr)
Definition: vfwprintf_s.c:20
int __cdecl vprintf_s(const char *format, va_list valist)
Definition: vprintf_s.c:16
int __cdecl vwprintf_s(const wchar_t *format, va_list valist)
Definition: vwprintf_s.c:16
int __cdecl wprintf_s(const wchar_t *format,...)
Definition: wprintf_s.c:16