ucrtbase: Implement vsscanf.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Martin Storsjo 2015-10-29 12:39:44 +02:00 committed by Alexandre Julliard
parent ae119b4205
commit 436eb3639c
4 changed files with 18 additions and 2 deletions

View File

@ -14,7 +14,7 @@
@ cdecl __stdio_common_vsprintf(int64 ptr long ptr ptr ptr) ucrtbase.__stdio_common_vsprintf @ cdecl __stdio_common_vsprintf(int64 ptr long ptr ptr ptr) ucrtbase.__stdio_common_vsprintf
@ stub __stdio_common_vsprintf_p @ stub __stdio_common_vsprintf_p
@ cdecl __stdio_common_vsprintf_s(int64 ptr long ptr ptr ptr) ucrtbase.__stdio_common_vsprintf_s @ cdecl __stdio_common_vsprintf_s(int64 ptr long ptr ptr ptr) ucrtbase.__stdio_common_vsprintf_s
@ stub __stdio_common_vsscanf @ cdecl __stdio_common_vsscanf(int64 ptr long ptr ptr ptr) ucrtbase.__stdio_common_vsscanf
@ cdecl __stdio_common_vswprintf(int64 ptr long ptr ptr ptr) ucrtbase.__stdio_common_vswprintf @ cdecl __stdio_common_vswprintf(int64 ptr long ptr ptr ptr) ucrtbase.__stdio_common_vswprintf
@ stub __stdio_common_vswprintf_p @ stub __stdio_common_vswprintf_p
@ stub __stdio_common_vswprintf_s @ stub __stdio_common_vswprintf_s

View File

@ -661,6 +661,21 @@ int CDECL MSVCRT__snscanf_s_l(char *input, MSVCRT_size_t length,
return res; return res;
} }
/*********************************************************************
* __stdio_common_vsscanf (MSVCRT.@)
*/
int CDECL MSVCRT__stdio_common_vsscanf(unsigned __int64 options,
const char *input, MSVCRT_size_t length,
const char *format,
MSVCRT__locale_t locale,
__ms_va_list valist)
{
if (options != 2)
FIXME("options %s not handled\n", wine_dbgstr_longlong(options));
return MSVCRT_vsnscanf_l(input, length, format, locale, valist);
}
/********************************************************************* /*********************************************************************
* _snwscanf (MSVCRT.@) * _snwscanf (MSVCRT.@)
*/ */

View File

@ -25,6 +25,7 @@ C_SRCS = \
mbcs.c \ mbcs.c \
misc.c \ misc.c \
process.c \ process.c \
scanf.c \
string.c \ string.c \
thread.c \ thread.c \
time.c \ time.c \

View File

@ -159,7 +159,7 @@
@ cdecl __stdio_common_vsprintf(int64 ptr long ptr ptr ptr) MSVCRT__stdio_common_vsprintf @ cdecl __stdio_common_vsprintf(int64 ptr long ptr ptr ptr) MSVCRT__stdio_common_vsprintf
@ stub __stdio_common_vsprintf_p @ stub __stdio_common_vsprintf_p
@ cdecl __stdio_common_vsprintf_s(int64 ptr long ptr ptr ptr) MSVCRT__stdio_common_vsprintf_s @ cdecl __stdio_common_vsprintf_s(int64 ptr long ptr ptr ptr) MSVCRT__stdio_common_vsprintf_s
@ stub __stdio_common_vsscanf @ cdecl __stdio_common_vsscanf(int64 ptr long ptr ptr ptr) MSVCRT__stdio_common_vsscanf
@ cdecl __stdio_common_vswprintf(int64 ptr long ptr ptr ptr) MSVCRT__stdio_common_vswprintf @ cdecl __stdio_common_vswprintf(int64 ptr long ptr ptr ptr) MSVCRT__stdio_common_vswprintf
@ stub __stdio_common_vswprintf_p @ stub __stdio_common_vswprintf_p
@ stub __stdio_common_vswprintf_s @ stub __stdio_common_vswprintf_s