Commit 4a75c37b authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

msvcrt: Add _vfprintf_l.

parent 95633f36
...@@ -1433,7 +1433,7 @@ ...@@ -1433,7 +1433,7 @@
@ stub _vcwprintf_p_l @ stub _vcwprintf_p_l
@ stub _vcwprintf_s @ stub _vcwprintf_s
@ stub _vcwprintf_s_l @ stub _vcwprintf_s_l
@ stub _vfprintf_l @ cdecl _vfprintf_l(ptr str ptr ptr) MSVCRT__vfprintf_l
@ stub _vfprintf_p @ stub _vfprintf_p
@ stub _vfprintf_p_l @ stub _vfprintf_p_l
@ stub _vfprintf_s_l @ stub _vfprintf_s_l
......
...@@ -1790,7 +1790,7 @@ ...@@ -1790,7 +1790,7 @@
@ stub _vcwprintf_p_l @ stub _vcwprintf_p_l
@ stub _vcwprintf_s @ stub _vcwprintf_s
@ stub _vcwprintf_s_l @ stub _vcwprintf_s_l
@ stub _vfprintf_l @ cdecl _vfprintf_l(ptr str ptr ptr) MSVCRT__vfprintf_l
@ stub _vfprintf_p @ stub _vfprintf_p
@ stub _vfprintf_p_l @ stub _vfprintf_p_l
@ stub _vfprintf_s_l @ stub _vfprintf_s_l
......
...@@ -1808,7 +1808,7 @@ ...@@ -1808,7 +1808,7 @@
@ stub _vcwprintf_p_l @ stub _vcwprintf_p_l
@ stub _vcwprintf_s @ stub _vcwprintf_s
@ stub _vcwprintf_s_l @ stub _vcwprintf_s_l
@ stub _vfprintf_l @ cdecl _vfprintf_l(ptr str ptr ptr) MSVCRT__vfprintf_l
@ stub _vfprintf_p @ stub _vfprintf_p
@ stub _vfprintf_p_l @ stub _vfprintf_p_l
@ stub _vfprintf_s_l @ stub _vfprintf_s_l
......
...@@ -1502,7 +1502,7 @@ ...@@ -1502,7 +1502,7 @@
@ cdecl _utime32(str ptr) msvcr120._utime32 @ cdecl _utime32(str ptr) msvcr120._utime32
@ cdecl _utime64(str ptr) msvcr120._utime64 @ cdecl _utime64(str ptr) msvcr120._utime64
@ cdecl _vacopy(ptr ptr) msvcr120._vacopy @ cdecl _vacopy(ptr ptr) msvcr120._vacopy
@ stub _vfprintf_l @ cdecl _vfprintf_l(ptr str ptr ptr) msvcr120._vfprintf_l
@ stub _vfprintf_p @ stub _vfprintf_p
@ stub _vfprintf_p_l @ stub _vfprintf_p_l
@ stub _vfprintf_s_l @ stub _vfprintf_s_l
......
...@@ -1112,7 +1112,7 @@ ...@@ -1112,7 +1112,7 @@
@ stub _vcwprintf_p_l @ stub _vcwprintf_p_l
@ stub _vcwprintf_s @ stub _vcwprintf_s
@ stub _vcwprintf_s_l @ stub _vcwprintf_s_l
@ stub _vfprintf_l @ cdecl _vfprintf_l(ptr str ptr ptr) MSVCRT__vfprintf_l
@ stub _vfprintf_p @ stub _vfprintf_p
@ stub _vfprintf_p_l @ stub _vfprintf_p_l
@ stub _vfprintf_s_l @ stub _vfprintf_s_l
......
...@@ -1088,7 +1088,7 @@ ...@@ -1088,7 +1088,7 @@
@ stub _vcwprintf_p_l @ stub _vcwprintf_p_l
@ stub _vcwprintf_s @ stub _vcwprintf_s
@ stub _vcwprintf_s_l @ stub _vcwprintf_s_l
@ stub _vfprintf_l @ cdecl _vfprintf_l(ptr str ptr ptr) MSVCRT__vfprintf_l
@ stub _vfprintf_p @ stub _vfprintf_p
@ stub _vfprintf_p_l @ stub _vfprintf_p_l
@ stub _vfprintf_s_l @ stub _vfprintf_s_l
......
...@@ -5214,6 +5214,26 @@ int CDECL MSVCRT__stdio_common_vfwprintf_s(unsigned __int64 options, MSVCRT_FILE ...@@ -5214,6 +5214,26 @@ int CDECL MSVCRT__stdio_common_vfwprintf_s(unsigned __int64 options, MSVCRT_FILE
} }
/********************************************************************* /*********************************************************************
* _vfprintf_l (MSVCRT.@)
*/
int CDECL MSVCRT__vfprintf_l(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);
ret = pf_printf_a(puts_clbk_file_a, file, format, locale, 0, arg_clbk_valist, NULL, &valist);
if(tmp_buf) remove_std_buffer(file);
MSVCRT__unlock_file(file);
return ret;
}
/*********************************************************************
* _vfwprintf_l (MSVCRT.@) * _vfwprintf_l (MSVCRT.@)
*/ */
int CDECL MSVCRT__vfwprintf_l(MSVCRT_FILE* file, const MSVCRT_wchar_t *format, int CDECL MSVCRT__vfwprintf_l(MSVCRT_FILE* file, const MSVCRT_wchar_t *format,
......
...@@ -1044,7 +1044,7 @@ ...@@ -1044,7 +1044,7 @@
# stub _vcwprintf_p_l(wstr ptr ptr) # stub _vcwprintf_p_l(wstr ptr ptr)
# stub _vcwprintf_s(wstr ptr) # stub _vcwprintf_s(wstr ptr)
# stub _vcwprintf_s_l(wstr ptr ptr) # stub _vcwprintf_s_l(wstr ptr ptr)
# stub _vfprintf_l(ptr str ptr ptr) @ cdecl _vfprintf_l(ptr str ptr ptr) MSVCRT__vfprintf_l
# stub _vfprintf_p(ptr str ptr) # stub _vfprintf_p(ptr str ptr)
# stub _vfprintf_p_l(ptr str ptr ptr) # stub _vfprintf_p_l(ptr str ptr ptr)
# stub _vfprintf_s_l(ptr str ptr ptr) # stub _vfprintf_s_l(ptr str ptr ptr)
......
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