ReactOS 0.4.16-dev-340-g0540c21
vfwprintf_s.c File Reference
#include <stdio.h>
#include <stdarg.h>
#include <internal/safecrt.h>
Include dependency graph for vfwprintf_s.c:

Go to the source code of this file.

Macros

#define MINGW_HAS_SECURE_API   1
 

Functions

int __cdecl wstreamout (FILE *stream, const wchar_t *format, va_list argptr)
 
int __cdecl vfwprintf_s (FILE *file, const wchar_t *format, va_list argptr)
 

Macro Definition Documentation

◆ MINGW_HAS_SECURE_API

#define MINGW_HAS_SECURE_API   1

Definition at line 10 of file vfwprintf_s.c.

Function Documentation

◆ vfwprintf_s()

int __cdecl vfwprintf_s ( FILE file,
const wchar_t format,
va_list  argptr 
)

Definition at line 20 of file vfwprintf_s.c.

21{
22 int ret;
23
24 if(!MSVCRT_CHECK_PMT( file != NULL)) {
26 return -1;
27 }
28
30 ret = wstreamout(file, format, argptr);
32
33 return ret;
34}
#define EINVAL
Definition: acclib.h:90
#define NULL
Definition: types.h:112
_CRTIMP void __cdecl _unlock_file(_Inout_ FILE *_File)
_CRTIMP void __cdecl _lock_file(_Inout_ FILE *_File)
#define MSVCRT_CHECK_PMT(x)
Definition: mbstowcs_s.c:26
errno_t __cdecl _set_errno(_In_ int _Value)
Definition: fci.c:127
Definition: format.c:58
int __cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr)
int ret

Referenced by fwprintf_s(), and vwprintf_s().

◆ wstreamout()

int __cdecl wstreamout ( FILE stream,
const wchar_t format,
va_list  argptr 
)

Referenced by vfwprintf_s().