Commit 25d44dd3 authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Add _scprintf_l implementation.

parent 74252df9
...@@ -1260,7 +1260,7 @@ ...@@ -1260,7 +1260,7 @@
@ varargs _scanf_l(str ptr) @ varargs _scanf_l(str ptr)
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ stub _scprintf_l @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ stub _scprintf_p
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
......
...@@ -1617,7 +1617,7 @@ ...@@ -1617,7 +1617,7 @@
@ varargs _scanf_l(str ptr) @ varargs _scanf_l(str ptr)
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ stub _scprintf_l @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ stub _scprintf_p
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
......
...@@ -1628,7 +1628,7 @@ ...@@ -1628,7 +1628,7 @@
@ varargs _scanf_l(str ptr) @ varargs _scanf_l(str ptr)
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ stub _scprintf_l @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ stub _scprintf_p
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
......
...@@ -1354,7 +1354,7 @@ ...@@ -1354,7 +1354,7 @@
@ varargs _scanf_l(str ptr) msvcr120._scanf_l @ varargs _scanf_l(str ptr) msvcr120._scanf_l
@ varargs _scanf_s_l(str ptr) msvcr120._scanf_s_l @ varargs _scanf_s_l(str ptr) msvcr120._scanf_s_l
@ varargs _scprintf(str) msvcr120._scprintf @ varargs _scprintf(str) msvcr120._scprintf
@ stub _scprintf_l @ varargs _scprintf_l(str ptr) msvcr120._scprintf_l
@ stub _scprintf_p @ stub _scprintf_p
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) msvcr120._scwprintf @ varargs _scwprintf(wstr) msvcr120._scwprintf
......
...@@ -938,7 +938,7 @@ ...@@ -938,7 +938,7 @@
@ varargs _scanf_l(str ptr) @ varargs _scanf_l(str ptr)
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ stub _scprintf_l @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ stub _scprintf_p
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
......
...@@ -914,7 +914,7 @@ ...@@ -914,7 +914,7 @@
@ varargs _scanf_l(str ptr) @ varargs _scanf_l(str ptr)
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ stub _scprintf_l @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ stub _scprintf_p
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
......
...@@ -885,7 +885,7 @@ ...@@ -885,7 +885,7 @@
@ varargs _scanf_l(str ptr) @ varargs _scanf_l(str ptr)
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
# stub _scprintf_l(str ptr) @ varargs _scprintf_l(str ptr)
# stub _scprintf_p_l(str ptr) # stub _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
# stub _scwprintf_l(wstr ptr) # stub _scwprintf_l(wstr ptr)
......
...@@ -1317,6 +1317,19 @@ int WINAPIV _scprintf(const char *format, ...) ...@@ -1317,6 +1317,19 @@ int WINAPIV _scprintf(const char *format, ...)
} }
/********************************************************************* /*********************************************************************
* _scprintf_l (MSVCRT.@)
*/
int WINAPIV _scprintf_l(const char *format, _locale_t locale, ...)
{
int retval;
va_list valist;
va_start(valist, locale);
retval = _vscprintf_l(format, locale, valist);
va_end(valist);
return retval;
}
/*********************************************************************
* _vsnwprintf (MSVCRT.@) * _vsnwprintf (MSVCRT.@)
*/ */
int CDECL _vsnwprintf(wchar_t *str, size_t len, int CDECL _vsnwprintf(wchar_t *str, size_t len,
......
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