ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

vfwprintf_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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.