Commit 07404c0b authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Add _cprintf_l implementation.

parent 2853352c
......@@ -736,7 +736,7 @@
@ cdecl _copysign(double double) copysign
@ cdecl -arch=!i386 _copysignf(float float) copysignf
@ varargs _cprintf(str)
@ stub _cprintf_l
@ varargs _cprintf_l(str ptr)
@ stub _cprintf_p
@ stub _cprintf_p_l
@ stub _cprintf_s
......
......@@ -1084,7 +1084,7 @@
@ cdecl _copysign(double double) copysign
@ cdecl -arch=!i386 _copysignf(float float) copysignf
@ varargs _cprintf(str)
@ stub _cprintf_l
@ varargs _cprintf_l(str ptr)
@ stub _cprintf_p
@ stub _cprintf_p_l
@ stub _cprintf_s
......
......@@ -1076,7 +1076,7 @@
@ cdecl _copysign(double double) copysign
@ cdecl _copysignf(float float) copysignf
@ varargs _cprintf(str)
@ stub _cprintf_l
@ varargs _cprintf_l(str ptr)
@ stub _cprintf_p
@ stub _cprintf_p_l
@ stub _cprintf_s
......
......@@ -400,7 +400,7 @@
@ cdecl _copysign(double double) copysign
@ cdecl -arch=!i386 _copysignf(float float) copysignf
@ varargs _cprintf(str)
@ stub _cprintf_l
@ varargs _cprintf_l(str ptr)
@ stub _cprintf_p
@ stub _cprintf_p_l
@ stub _cprintf_s
......
......@@ -383,7 +383,7 @@
@ cdecl _copysign(double double) copysign
@ cdecl -arch=!i386 _copysignf(float float) copysignf
@ varargs _cprintf(str)
@ stub _cprintf_l
@ varargs _cprintf_l(str ptr)
@ stub _cprintf_p
@ stub _cprintf_p_l
@ stub _cprintf_s
......
......@@ -540,6 +540,23 @@ int CDECL _vcprintf(const char* format, va_list valist)
return pf_printf_a(puts_clbk_console_a, NULL, format, NULL, 0, arg_clbk_valist, NULL, &valist);
}
#if _MSVCR_VER<=120
/*********************************************************************
* _cprintf_l (MSVCRT.@)
*/
int WINAPIV _cprintf_l(const char* format, _locale_t locale, ...)
{
int retval;
va_list valist;
va_start(valist, locale);
retval = _vcprintf_l(format, locale, valist);
va_end(valist);
return retval;
}
#endif
/*********************************************************************
* _cprintf (MSVCRT.@)
*/
......
......@@ -370,7 +370,7 @@
@ cdecl _copysign(double double) copysign
@ cdecl -arch=!i386 _copysignf(float float) copysignf
@ varargs _cprintf(str)
# stub _cprintf_l(str ptr)
@ varargs _cprintf_l(str ptr)
# stub _cprintf_p(str)
# stub _cprintf_p_l(str ptr)
# stub _cprintf_s(str)
......
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