blob: a9f5593f1aa5c6e384cc5baefe5bf874d68ced43 [file] [log] [blame]
Martin Storsjö5f9f3202017-11-15 23:25:23 +02001/**
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__
Martin Storsjöedd674f2019-05-04 14:27:25 +03008#define _UCRT
Martin Storsjö5f9f3202017-11-15 23:25:23 +02009#include <stdio.h>
10
11int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN
12{
Martin Storsjöff3f23c2024-09-04 14:27:04 +030013 return __stdio_common_vsprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, _Dest, (size_t)-1, _Format, NULL, _Args);
Martin Storsjö5f9f3202017-11-15 23:25:23 +020014}