Commit 390b885c authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

msvcrt: Add _snprintf_s_l.

parent 6a81e9a4
......@@ -1297,7 +1297,7 @@
@ varargs _snprintf_c_l(ptr long str ptr) MSVCRT_snprintf_c_l
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
@ stub _snprintf_s_l
@ varargs _snprintf_s_l(ptr long long str ptr) MSVCRT_snprintf_s_l
@ varargs _snscanf(str long str) MSVCRT__snscanf
@ varargs _snscanf_l(str long str ptr) MSVCRT__snscanf_l
@ varargs _snscanf_s(str long str) MSVCRT__snscanf_s
......
......@@ -1654,7 +1654,7 @@
@ varargs _snprintf_c_l(ptr long str ptr) MSVCRT_snprintf_c_l
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
@ stub _snprintf_s_l
@ varargs _snprintf_s_l(ptr long long str ptr) MSVCRT_snprintf_s_l
@ varargs _snscanf(str long str) MSVCRT__snscanf
@ varargs _snscanf_l(str long str ptr) MSVCRT__snscanf_l
@ varargs _snscanf_s(str long str) MSVCRT__snscanf_s
......
......@@ -1665,7 +1665,7 @@
@ varargs _snprintf_c_l(ptr long str ptr) MSVCRT_snprintf_c_l
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
@ stub _snprintf_s_l
@ varargs _snprintf_s_l(ptr long long str ptr) MSVCRT_snprintf_s_l
@ varargs _snscanf(str long str) MSVCRT__snscanf
@ varargs _snscanf_l(str long str ptr) MSVCRT__snscanf_l
@ varargs _snscanf_s(str long str) MSVCRT__snscanf_s
......
......@@ -1384,7 +1384,7 @@
@ varargs _snprintf_c_l(ptr long str ptr) msvcr120._snprintf_c_l
@ varargs _snprintf_l(ptr long str ptr) msvcr120._snprintf_l
@ varargs _snprintf_s(ptr long long str) msvcr120._snprintf_s
@ stub _snprintf_s_l
@ varargs _snprintf_s_l(ptr long long str ptr) msvcr120._snprintf_s_l
@ varargs _snscanf(str long str) msvcr120._snscanf
@ varargs _snscanf_l(str long str ptr) msvcr120._snscanf_l
@ varargs _snscanf_s(str long str) msvcr120._snscanf_s
......
......@@ -977,7 +977,7 @@
@ varargs _snprintf_c_l(ptr long str ptr) MSVCRT_snprintf_c_l
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
@ stub _snprintf_s_l
@ varargs _snprintf_s_l(ptr long long str ptr) MSVCRT_snprintf_s_l
@ varargs _snscanf(str long str) MSVCRT__snscanf
@ varargs _snscanf_l(str long str ptr) MSVCRT__snscanf_l
@ varargs _snscanf_s(str long str) MSVCRT__snscanf_s
......
......@@ -952,7 +952,7 @@
@ varargs _snprintf_c_l(ptr long str ptr) MSVCRT_snprintf_c_l
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
@ stub _snprintf_s_l
@ varargs _snprintf_s_l(ptr long long str ptr) MSVCRT_snprintf_s_l
@ varargs _snscanf(str long str) MSVCRT__snscanf
@ varargs _snscanf_l(str long str ptr) MSVCRT__snscanf_l
@ varargs _snscanf_s(str long str) MSVCRT__snscanf_s
......
......@@ -913,7 +913,7 @@
@ varargs _snprintf_c_l(ptr long str ptr) MSVCRT_snprintf_c_l
@ varargs _snprintf_l(ptr long str ptr) MSVCRT__snprintf_l
@ varargs _snprintf_s(ptr long long str) MSVCRT__snprintf_s
# stub _snprintf_s_l(ptr long long str ptr)
@ varargs _snprintf_s_l(ptr long long str ptr) MSVCRT_snprintf_s_l
@ varargs _snscanf(str long str) MSVCRT__snscanf
@ varargs _snscanf_l(str long str ptr) MSVCRT__snscanf_l
@ varargs _snscanf_s(str long str) MSVCRT__snscanf_s
......
......@@ -1204,6 +1204,20 @@ int WINAPIV MSVCRT_snprintf_c(char *str, MSVCRT_size_t count, const char *format
}
/*********************************************************************
* _snprintf_s_l (MSVCRT.@)
*/
int WINAPIV MSVCRT_snprintf_s_l(char *str, MSVCRT_size_t len, MSVCRT_size_t count,
const char *format, MSVCRT__locale_t locale, ...)
{
int retval;
__ms_va_list valist;
__ms_va_start(valist, locale);
retval = MSVCRT_vsnprintf_s_l(str, len, count, format, locale, valist);
__ms_va_end(valist);
return retval;
}
/*********************************************************************
* _snprintf_s (MSVCRT.@)
*/
int WINAPIV MSVCRT__snprintf_s(char *str, MSVCRT_size_t len, MSVCRT_size_t count,
......
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