aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/mingw/secapi/_cwprintf_s.c
blob: 013ccc472db19669e7b416374ab9e4a2e3b857f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <windows.h>
#include <malloc.h>
#include <errno.h>
#include <msvcrt.h>
#include <sec_api/conio_s.h>

int __cdecl (*__MINGW_IMP_SYMBOL(_cwprintf_s))(const wchar_t *,...) = 
 _cwprintf_s;

int __cdecl
_cwprintf_s (const wchar_t *s, ...)
{
  va_list argp;
  int r;

  va_start (argp, s);
  r = _vcwprintf_s (s, argp);
  va_end (argp);
  return r; 
}