ReactOS
0.4.16-dev-329-g9223134
vfprintf.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/vfprintf.c
5
* PURPOSE: Implementation of vfprintf
6
* PROGRAMMER: Timo Kreuzer
7
*/
8
9
#include <stdio.h>
10
#include <stdarg.h>
11
12
int
__cdecl
streamout
(
FILE
*
stream
,
const
char
*
format
,
va_list
argptr);
13
14
int
15
__cdecl
16
vfprintf
(
FILE
*
file
,
const
char
*
format
,
va_list
argptr)
17
{
18
int
result
;
19
20
_lock_file
(
file
);
21
result
=
streamout
(
file
,
format
, argptr);
22
_unlock_file
(
file
);
23
24
return
result
;
25
}
26
__cdecl
#define __cdecl
Definition:
accygwin.h:79
va_list
char * va_list
Definition:
acmsvcex.h:78
result
GLuint64EXT * result
Definition:
glext.h:11304
_unlock_file
_CRTIMP void __cdecl _unlock_file(_Inout_ FILE *_File)
_lock_file
_CRTIMP void __cdecl _lock_file(_Inout_ FILE *_File)
_iobuf
Definition:
mbstring.h:19
file
Definition:
fci.c:127
format
Definition:
format.c:58
stream
Definition:
parse.h:23
streamout
int __cdecl streamout(FILE *stream, const char *format, va_list argptr)
Definition:
streamout.c:326
vfprintf
int __cdecl vfprintf(FILE *file, const char *format, va_list argptr)
Definition:
vfprintf.c:16
sdk
lib
crt
printf
vfprintf.c
Generated on Sun Dec 8 2024 06:13:35 for ReactOS by
1.9.6