reactos/reactos/lib/sdk/crt/printf/vwprintf_s.c
Sylvain Petreolle ce424af08c [CRT/MSVCRT]
Follow original design/style of printf module
Always use dosmaperr to convert win32 errors to sane crt errors
Enable forgotten _get_doserrno, get_errno, set_doserrno and _gmtime32_s
Small fixes to pass more wine tests.

Patch by Samuel Serapión.

svn path=/trunk/; revision=54661
2011-12-16 15:44:37 +00:00

20 lines
432 B
C

/*
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
* PROJECT: ReactOS crt library
* FILE: lib/sdk/crt/printf/vwprintf.c
* PURPOSE: Implementation of vwprintf
* PROGRAMMER: Samuel Serapión
*/
#define MINGW_HAS_SECURE_API 1
#include <stdio.h>
#include <stdarg.h>
int
_cdecl
vwprintf_s(const wchar_t *format, va_list valist)
{
return vfwprintf_s(stdout,format,valist);
}