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
11int __cdecl streamout(FILE *stream, const char *format, va_list argptr);
12
13int
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}
#define __cdecl
Definition: accygwin.h:79
char * va_list
Definition: acmsvcex.h:78
#define NULL
Definition: types.h:112
#define _IOWRT
Definition: stdio.h:125
_Check_return_ _CRTIMP int __cdecl _vscprintf(_In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
#define _IOSTRG
Definition: stdio.h:134
int __cdecl streamout(FILE *stream, const char *format, va_list argptr)
Definition: streamout.c:326
char * _ptr
Definition: mbstring.h:20
int _charbuf
Definition: mbstring.h:25
char * _base
Definition: mbstring.h:22
int _cnt
Definition: mbstring.h:21
int _flag
Definition: mbstring.h:23
char * _tmpfname
Definition: mbstring.h:27
int _bufsiz
Definition: mbstring.h:26
Definition: format.c:58
Definition: parse.h:23