ReactOS
0.4.16-dev-321-g63bb46a
_vscprintf.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/_vscprintf.c
5
* PURPOSE: Implementation of _vscprintf
6
*/
7
8
#include <stdio.h>
9
#include <stdarg.h>
10
11
int
__cdecl
streamout
(
FILE
*
stream
,
const
char
*
format
,
va_list
argptr);
12
13
int
14
__cdecl
15
_vscprintf
(
16
const
char
*
format
,
17
va_list
argptr)
18
{
19
FILE
nulfile;
20
nulfile.
_tmpfname
= nulfile.
_ptr
= nulfile.
_base
=
NULL
;
21
nulfile.
_bufsiz
= nulfile.
_charbuf
= nulfile.
_cnt
= 0;
22
nulfile.
_flag
=
_IOSTRG
|
_IOWRT
;
23
return
streamout
(&nulfile,
format
, argptr);
24
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
va_list
char * va_list
Definition:
acmsvcex.h:78
NULL
#define NULL
Definition:
types.h:112
_IOWRT
#define _IOWRT
Definition:
stdio.h:125
_vscprintf
_Check_return_ _CRTIMP int __cdecl _vscprintf(_In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
_IOSTRG
#define _IOSTRG
Definition:
stdio.h:134
streamout
int __cdecl streamout(FILE *stream, const char *format, va_list argptr)
Definition:
streamout.c:326
_iobuf
Definition:
mbstring.h:19
_iobuf::_ptr
char * _ptr
Definition:
mbstring.h:20
_iobuf::_charbuf
int _charbuf
Definition:
mbstring.h:25
_iobuf::_base
char * _base
Definition:
mbstring.h:22
_iobuf::_cnt
int _cnt
Definition:
mbstring.h:21
_iobuf::_flag
int _flag
Definition:
mbstring.h:23
_iobuf::_tmpfname
char * _tmpfname
Definition:
mbstring.h:27
_iobuf::_bufsiz
int _bufsiz
Definition:
mbstring.h:26
format
Definition:
format.c:58
stream
Definition:
parse.h:23
sdk
lib
crt
printf
_vscprintf.c
Generated on Fri Dec 6 2024 06:13:24 for ReactOS by
1.9.6