ReactOS  0.4.15-dev-980-ge160524
fprintf_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/fprintf_s.c
5  * PURPOSE: Implementation of fprintf_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 
14 int
15 __cdecl
16 fprintf_s(FILE* file, const char *format, ...)
17 {
18  va_list argptr;
19  int result;
20  va_start(argptr, format);
21  result = vfprintf_s(file, format, argptr);
22  va_end(argptr);
23  return result;
24 }
#define __cdecl
Definition: accygwin.h:79
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
#define va_start(ap, A)
Definition: acmsvcex.h:91
int __cdecl fprintf_s(FILE *file, const char *format,...)
Definition: fprintf_s.c:16
GLuint64EXT * result
Definition: glext.h:11304
int __cdecl vfprintf_s(FILE *file, const char *format, va_list argptr)
Definition: vfprintf_s.c:19
Definition: fci.c:126