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 } 25