ReactOS 0.4.16-dev-257-g6aa11ac
vfprintf_s.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: GNU GPL, see COPYING in the top level directory
3 * PROJECT: ReactOS crt library
4 * FILE: lib/sdk/crt/printf/vfprintf_s.c
5 * PURPOSE: Implementation of vfprintf_s
6 * PROGRAMMER: Samuel Serapión
7 */
8
9#define MINGW_HAS_SECURE_API 1
10
11#include <stdio.h>
12#include <stdarg.h>
13#include <internal/safecrt.h>
14
15int __cdecl streamout(FILE *stream, const char *format, va_list argptr);
16
17int
19vfprintf_s(FILE* file, const char *format, va_list argptr)
20{
21 int result;
22
25 return -1;
26 }
27
29 result = streamout(file, format, argptr);
31
32 return result;
33}
#define EINVAL
Definition: acclib.h:90
#define __cdecl
Definition: accygwin.h:79
char * va_list
Definition: acmsvcex.h:78
#define NULL
Definition: types.h:112
GLuint64EXT * result
Definition: glext.h:11304
_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
Definition: parse.h:23
int __cdecl streamout(FILE *stream, const char *format, va_list argptr)
Definition: streamout.c:326
int __cdecl vfprintf_s(FILE *file, const char *format, va_list argptr)
Definition: vfprintf_s.c:19