ReactOS  0.4.15-dev-439-g292f67a
_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
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 }
char * _base
Definition: mbstring.h:22
int _cnt
Definition: mbstring.h:21
#define __cdecl
Definition: accygwin.h:79
char * _ptr
Definition: mbstring.h:20
#define _IOSTRG
Definition: stdio.h:135
char * _tmpfname
Definition: mbstring.h:27
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
smooth NULL
Definition: ftsmooth.c:416
char * va_list
Definition: acmsvcex.h:78
#define _IOWRT
Definition: stdio.h:126
Definition: parse.h:22
int _charbuf
Definition: mbstring.h:25
int _bufsiz
Definition: mbstring.h:26
int _flag
Definition: mbstring.h:23
int __cdecl _vscprintf(const char *format, va_list argptr)
Definition: _vscprintf.c:15
int __cdecl streamout(FILE *stream, const char *format, va_list argptr)
Definition: streamout.c:326