ReactOS
0.4.16-dev-319-g6cf4263
printf.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.c
5
* PURPOSE: Implementation of printf
6
* PROGRAMMER: Timo Kreuzer
7
* Samuel Serapión
8
*/
9
10
#include <stdio.h>
11
#include <stdarg.h>
12
13
int
14
__cdecl
15
printf
(
const
char
*
format
, ...)
16
{
17
va_list
argptr;
18
int
result
;
19
20
va_start
(argptr,
format
);
21
result
=
vfprintf
(
stdout
,
format
, argptr);
22
va_end
(argptr);
23
24
return
result
;
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
printf
#define printf
Definition:
freeldr.h:97
result
GLuint64EXT * result
Definition:
glext.h:11304
stdout
#define stdout
Definition:
stdio.h:99
vfprintf
_Check_return_opt_ _CRTIMP int __cdecl vfprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
format
Definition:
format.c:58
sdk
lib
crt
printf
printf.c
Generated on Wed Dec 4 2024 06:13:45 for ReactOS by
1.9.6