ReactOS
0.4.16-dev-1025-gd3456f5
printf_s.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
3
* PROJECT: ReactOS crt library
4
* FILE: lib/sdk/crt/printf/printf_s.c
5
* PURPOSE: Implementation of printf_s
6
* PROGRAMMER: Samuel Serapión
7
*/
8
9
#define MINGW_HAS_SECURE_API 1
10
11
#include <stdio.h>
12
#include <stdarg.h>
13
14
int
15
__cdecl
16
printf_s
(
const
char
*
format
, ...)
17
{
18
va_list
argptr;
19
int
res
;
20
21
va_start
(argptr,
format
);
22
res
=
vfprintf_s
(
stdout
,
format
, argptr);
23
va_end
(argptr);
24
return
res
;
25
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
va_list
char * va_list
Definition:
acmsvcex.h:78
va_end
#define va_end(ap)
Definition:
acmsvcex.h:90
va_start
#define va_start(ap, A)
Definition:
acmsvcex.h:91
res
GLuint res
Definition:
glext.h:9613
stdout
#define stdout
Definition:
stdio.h:99
printf_s
int __cdecl printf_s(const char *format,...)
Definition:
printf_s.c:16
format
Definition:
format.c:58
vfprintf_s
int __cdecl vfprintf_s(FILE *file, const char *format, va_list argptr)
Definition:
vfprintf_s.c:19
sdk
lib
crt
printf
printf_s.c
Generated on Tue Apr 22 2025 06:15:13 for ReactOS by
1.9.6