ucrtbase: Add __stdio_common_vfprintf_s.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5074bb9a4b
commit
a116f4a7ab
|
@ -3,7 +3,7 @@
|
|||
@ cdecl __p__fmode() ucrtbase.__p__fmode
|
||||
@ cdecl __stdio_common_vfprintf(int64 ptr str ptr ptr) ucrtbase.__stdio_common_vfprintf
|
||||
@ stub __stdio_common_vfprintf_p
|
||||
@ stub __stdio_common_vfprintf_s
|
||||
@ cdecl __stdio_common_vfprintf_s(int64 ptr str ptr ptr) ucrtbase.__stdio_common_vfprintf_s
|
||||
@ 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
|
||||
|
|
|
@ -5131,6 +5131,33 @@ int CDECL MSVCRT__stdio_common_vfprintf(unsigned __int64 options, MSVCRT_FILE *f
|
|||
return ret;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* __stdio_common_vfprintf_s (UCRTBASE.@)
|
||||
*/
|
||||
int CDECL MSVCRT__stdio_common_vfprintf_s(unsigned __int64 options, MSVCRT_FILE *file, const char *format,
|
||||
MSVCRT__locale_t locale, __ms_va_list valist)
|
||||
{
|
||||
BOOL tmp_buf;
|
||||
int ret;
|
||||
|
||||
if (!MSVCRT_CHECK_PMT(file != NULL)) return -1;
|
||||
|
||||
MSVCRT__lock_file(file);
|
||||
tmp_buf = add_std_buffer(file);
|
||||
|
||||
if (options & ~UCRTBASE_PRINTF_MASK)
|
||||
FIXME("options %s not handled\n", wine_dbgstr_longlong(options));
|
||||
|
||||
ret = pf_printf_a(puts_clbk_file_a, file, format, locale,
|
||||
(options & UCRTBASE_PRINTF_MASK) | MSVCRT_PRINTF_INVOKE_INVALID_PARAM_HANDLER,
|
||||
arg_clbk_valist, NULL, &valist);
|
||||
|
||||
if (tmp_buf) remove_std_buffer(file);
|
||||
MSVCRT__unlock_file(file);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* __stdio_common_vfwprintf (UCRTBASE.@)
|
||||
*/
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
@ cdecl __std_type_info_name(ptr ptr) MSVCRT_type_info_name_list
|
||||
@ cdecl __stdio_common_vfprintf(int64 ptr str ptr ptr) MSVCRT__stdio_common_vfprintf
|
||||
@ stub __stdio_common_vfprintf_p
|
||||
@ stub __stdio_common_vfprintf_s
|
||||
@ cdecl __stdio_common_vfprintf_s(int64 ptr str ptr ptr) MSVCRT__stdio_common_vfprintf_s
|
||||
@ 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
|
||||
|
|
Loading…
Reference in New Issue