master
 1/**
 2 * This file has no copyright assigned and is placed in the Public Domain.
 3 * This file is part of the mingw-w64 runtime package.
 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 5 */
 6#include <stdarg.h>
 7#include <wchar.h>
 8
 9int __cdecl __ms_snwprintf(wchar_t *buffer, size_t n, const wchar_t *format, ...)
10{
11    int retval;
12    va_list argptr;
13          
14    va_start(argptr, format);
15    retval = __ms_vsnwprintf(buffer, n, format, argptr);
16    va_end(argptr);
17    return retval;
18}