ucrtbase: Add __stdio_common_vfscanf().

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2016-08-24 12:58:32 +01:00 committed by Alexandre Julliard
parent f22769f81a
commit fc64e2bfa6
3 changed files with 19 additions and 2 deletions

View File

@ -4,7 +4,7 @@
@ cdecl __stdio_common_vfprintf(int64 ptr str ptr ptr) ucrtbase.__stdio_common_vfprintf
@ stub __stdio_common_vfprintf_p
@ stub __stdio_common_vfprintf_s
@ stub __stdio_common_vfscanf
@ cdecl __stdio_common_vfscanf(int64 ptr str ptr ptr) ucrtbase.__stdio_common_vfscanf
@ cdecl __stdio_common_vfwprintf(int64 ptr wstr ptr ptr) ucrtbase.__stdio_common_vfwprintf
@ stub __stdio_common_vfwprintf_p
@ stub __stdio_common_vfwprintf_s

View File

@ -702,6 +702,23 @@ int CDECL MSVCRT__stdio_common_vswscanf(unsigned __int64 options,
return MSVCRT_vsnwscanf_l(input, length, format, locale, valist);
}
/*********************************************************************
* __stdio_common_vfscanf (MSVCRT.@)
*/
int CDECL MSVCRT__stdio_common_vfscanf(unsigned __int64 options,
MSVCRT_FILE *file,
const char *format,
MSVCRT__locale_t locale,
__ms_va_list valist)
{
if (options & ~UCRTBASE_SCANF_SECURECRT)
FIXME("options %s not handled\n", wine_dbgstr_longlong(options));
if (options & UCRTBASE_SCANF_SECURECRT)
return MSVCRT_vfscanf_s_l(file, format, locale, valist);
else
return MSVCRT_vfscanf_l(file, format, locale, valist);
}
/*********************************************************************
* __stdio_common_vfwscanf (MSVCRT.@)
*/

View File

@ -149,7 +149,7 @@
@ cdecl __stdio_common_vfprintf(int64 ptr str ptr ptr) MSVCRT__stdio_common_vfprintf
@ stub __stdio_common_vfprintf_p
@ stub __stdio_common_vfprintf_s
@ stub __stdio_common_vfscanf
@ cdecl __stdio_common_vfscanf(int64 ptr str ptr ptr) MSVCRT__stdio_common_vfscanf
@ cdecl __stdio_common_vfwprintf(int64 ptr wstr ptr ptr) MSVCRT__stdio_common_vfwprintf
@ stub __stdio_common_vfwprintf_p
@ stub __stdio_common_vfwprintf_s