mirror of
https://github.com/reactos/reactos.git
synced 2024-08-22 03:12:51 +00:00
26 lines
565 B
C
26 lines
565 B
C
/*
|
|
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
|
|
* PROJECT: ReactOS crt library
|
|
* FILE: lib/sdk/crt/printf/vfwprintf.c
|
|
* PURPOSE: Implementation of vfwprintf
|
|
* PROGRAMMER: Timo Kreuzer
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
int __cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr);
|
|
|
|
int
|
|
__cdecl
|
|
vfwprintf(FILE* file, const wchar_t *format, va_list argptr)
|
|
{
|
|
int ret;
|
|
|
|
_lock_file(file);
|
|
ret = wstreamout(file, format, argptr);
|
|
_unlock_file(file);
|
|
|
|
return ret;
|
|
}
|