mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 02:30:33 +00:00
26 lines
568 B
C
26 lines
568 B
C
|
/*
|
||
|
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
|
||
|
* PROJECT: ReactOS crt library
|
||
|
* FILE: lib/sdk/crt/printf/wprintf.c
|
||
|
* PURPOSE: Implementation of wprintf
|
||
|
* PROGRAMMER: Timo Kreuzer
|
||
|
*/
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdarg.h>
|
||
|
|
||
|
int _cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr);
|
||
|
|
||
|
int
|
||
|
__cdecl
|
||
|
wprintf(const wchar_t *format, ...)
|
||
|
{
|
||
|
va_list argptr;
|
||
|
int result;
|
||
|
|
||
|
va_start(argptr, format);
|
||
|
result = wstreamout(stdout, format, argptr);
|
||
|
va_end(argptr);
|
||
|
return result;
|
||
|
}
|