Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenvfwprintf_s.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: GNU GPL, see COPYING in the top level directory 00003 * PROJECT: ReactOS crt library 00004 * FILE: lib/sdk/crt/printf/vfwprintf.c 00005 * PURPOSE: Implementation of vfwprintf 00006 * PROGRAMMER: Timo Kreuzer 00007 * Samuel Serapión 00008 */ 00009 00010 #define MINGW_HAS_SECURE_API 1 00011 00012 #include <stdio.h> 00013 #include <stdarg.h> 00014 #include <internal/safecrt.h> 00015 00016 int _cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr); 00017 00018 int 00019 _cdecl 00020 vfwprintf_s(FILE* file, const wchar_t *format, va_list argptr) 00021 { 00022 int ret; 00023 00024 if(!MSVCRT_CHECK_PMT( file != NULL)) { 00025 _set_errno(EINVAL); 00026 return -1; 00027 } 00028 00029 _lock_file(file); 00030 ret = wstreamout(file, format, argptr); 00031 _unlock_file(file); 00032 00033 return ret; 00034 } Generated on Sat May 26 2012 04:35:28 for ReactOS by
1.7.6.1
|