Commit f22769f8 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ucrtbase: Add __stdio_common_vswscanf().

parent a875e3c6
......@@ -18,7 +18,7 @@
@ cdecl __stdio_common_vswprintf(int64 ptr long wstr ptr ptr) ucrtbase.__stdio_common_vswprintf
@ cdecl __stdio_common_vswprintf_p(int64 ptr long wstr ptr ptr) ucrtbase.__stdio_common_vswprintf_p
@ cdecl __stdio_common_vswprintf_s(int64 ptr long wstr ptr ptr) ucrtbase.__stdio_common_vswprintf_s
@ stub __stdio_common_vswscanf
@ cdecl __stdio_common_vswscanf(int64 ptr long wstr ptr ptr) ucrtbase.__stdio_common_vswscanf
@ cdecl _chsize(long long) ucrtbase._chsize
@ cdecl _chsize_s(long int64) ucrtbase._chsize_s
@ cdecl _close(long) ucrtbase._close
......
......@@ -66,7 +66,7 @@ static int wchar2digit(MSVCRT_wchar_t c, int base) {
#undef SECURE
#include "scanf.h"
/* vfscanf_l */
/* vfscanf_s_l */
#define SECURE 1
#include "scanf.h"
......@@ -683,6 +683,26 @@ int CDECL MSVCRT__stdio_common_vsscanf(unsigned __int64 options,
}
/*********************************************************************
* __stdio_common_vswscanf (MSVCRT.@)
*/
int CDECL MSVCRT__stdio_common_vswscanf(unsigned __int64 options,
const MSVCRT_wchar_t *input, MSVCRT_size_t length,
const MSVCRT_wchar_t *format,
MSVCRT__locale_t locale,
__ms_va_list valist)
{
/* LEGACY_WIDE_SPECIFIERS only has got an effect on the wide
* scanf. LEGACY_MSVCRT_COMPATIBILITY affects parsing of nan/inf,
* but parsing of those isn't implemented at all yet. */
if (options & ~UCRTBASE_SCANF_MASK)
FIXME("options %s not handled\n", wine_dbgstr_longlong(options));
if (options & UCRTBASE_SCANF_SECURECRT)
return MSVCRT_vsnwscanf_s_l(input, length, format, locale, valist);
else
return MSVCRT_vsnwscanf_l(input, length, format, locale, valist);
}
/*********************************************************************
* __stdio_common_vfwscanf (MSVCRT.@)
*/
int CDECL MSVCRT__stdio_common_vfwscanf(unsigned __int64 options,
......
......@@ -163,7 +163,7 @@
@ cdecl __stdio_common_vswprintf(int64 ptr long wstr ptr ptr) MSVCRT__stdio_common_vswprintf
@ cdecl __stdio_common_vswprintf_p(int64 ptr long wstr ptr ptr) MSVCRT__stdio_common_vswprintf_p
@ cdecl __stdio_common_vswprintf_s(int64 ptr long wstr ptr ptr) MSVCRT__stdio_common_vswprintf_s
@ stub __stdio_common_vswscanf
@ cdecl __stdio_common_vswscanf(int64 ptr long wstr ptr ptr) MSVCRT__stdio_common_vswscanf
@ stub __strncnt
@ cdecl __sys_errlist()
@ cdecl __sys_nerr()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment