| 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 | |
| 7 | #undef __MSVCRT_VERSION__ |
| 8 | #define _UCRT |
| 9 | #include <stdio.h> |
| 10 | #include <stdarg.h> |
| 11 | |
| 12 | int __cdecl _scwprintf(const wchar_t * restrict format, ...) |
| 13 | { |
| 14 | int ret; |
| 15 | va_list args; |
| 16 | va_start(args, format); |
| 17 | ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, NULL, 0, format, NULL, args); |
| 18 | va_end(args); |
| 19 | return ret; |
| 20 | } |
| 21 | int __cdecl (*__MINGW_IMP_SYMBOL(_scwprintf))(const wchar_t * restrict, ...) = _scwprintf; |