mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 03:58:29 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
25
sdk/lib/crt/printf/printf_s.c
Normal file
25
sdk/lib/crt/printf/printf_s.c
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
|
||||
* PROJECT: ReactOS crt library
|
||||
* FILE: lib/sdk/crt/printf/printf_s.c
|
||||
* PURPOSE: Implementation of printf_s
|
||||
* PROGRAMMER: Samuel Serapión
|
||||
*/
|
||||
|
||||
#define MINGW_HAS_SECURE_API 1
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
int
|
||||
__cdecl
|
||||
printf_s(const char *format, ...)
|
||||
{
|
||||
va_list argptr;
|
||||
int res;
|
||||
|
||||
va_start(argptr, format);
|
||||
res = vfprintf_s(stdout, format, argptr);
|
||||
va_end(argptr);
|
||||
return res;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue