ReactOS  0.4.15-dev-1200-gc3b3fcd
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 }
#define __cdecl
Definition: accygwin.h:79
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
FILE * stdout
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
int __cdecl printf(const char *format,...)
Definition: printf.c:15
#define va_start(ap, A)
Definition: acmsvcex.h:91
_Check_return_opt_ _CRTIMP int __cdecl vfprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
GLuint64EXT * result
Definition: glext.h:11304