msvcrt: Add _snwprintf_s_l implementation.

This commit is contained in:
Piotr Caban 2013-09-19 10:31:07 +02:00 committed by Alexandre Julliard
parent 5bd3bfff99
commit dadb2fdfa9
6 changed files with 19 additions and 5 deletions

View File

@ -1300,7 +1300,7 @@
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ varargs _snwprintf_l(ptr long wstr ptr) msvcrt._snwprintf_l
@ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
@ stub _snwprintf_s_l
@ varargs _snwprintf_s_l(ptr long long wstr ptr) msvcrt._snwprintf_s_l
@ varargs _snwscanf(wstr long wstr) msvcrt._snwscanf
@ varargs _snwscanf_l(wstr long wstr ptr) msvcrt._snwscanf_l
@ varargs _snwscanf_s(wstr long wstr) msvcrt._snwscanf_s

View File

@ -1658,7 +1658,7 @@
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ varargs _snwprintf_l(ptr long wstr ptr) msvcrt._snwprintf_l
@ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
@ stub _snwprintf_s_l
@ varargs _snwprintf_s_l(ptr long long wstr ptr) msvcrt._snwprintf_s_l
@ varargs _snwscanf(wstr long wstr) msvcrt._snwscanf
@ varargs _snwscanf_l(wstr long wstr ptr) msvcrt._snwscanf_l
@ varargs _snwscanf_s(wstr long wstr) msvcrt._snwscanf_s

View File

@ -980,7 +980,7 @@
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ varargs _snwprintf_l(ptr long wstr ptr) msvcrt._snwprintf_l
@ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
@ stub _snwprintf_s_l
@ varargs _snwprintf_s_l(ptr long long wstr ptr) msvcrt._snwprintf_s_l
@ varargs _snwscanf(wstr long wstr) msvcrt._snwscanf
@ varargs _snwscanf_l(wstr long wstr ptr) msvcrt._snwscanf_l
@ varargs _snwscanf_s(wstr long wstr) msvcrt._snwscanf_s

View File

@ -955,7 +955,7 @@
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ varargs _snwprintf_l(ptr long wstr ptr) msvcrt._snwprintf_l
@ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
@ stub _snwprintf_s_l
@ varargs _snwprintf_s_l(ptr long long wstr ptr) msvcrt._snwprintf_s_l
@ varargs _snwscanf(wstr long wstr) msvcrt._snwscanf
@ varargs _snwscanf_l(wstr long wstr ptr) msvcrt._snwscanf_l
@ varargs _snwscanf_s(wstr long wstr) msvcrt._snwscanf_s

View File

@ -922,7 +922,7 @@
@ varargs _snwprintf(ptr long wstr) MSVCRT__snwprintf
@ varargs _snwprintf_l(ptr long wstr ptr) MSVCRT__snwprintf_l
@ varargs _snwprintf_s(ptr long long wstr) MSVCRT__snwprintf_s
# stub _snwprintf_s_l(ptr long long wstr ptr)
@ varargs _snwprintf_s_l(ptr long long wstr ptr) MSVCRT__snwprintf_s_l
@ varargs _snwscanf(wstr long wstr) MSVCRT__snwscanf
@ varargs _snwscanf_l(wstr long wstr ptr) MSVCRT__snwscanf_l
@ varargs _snwscanf_s(wstr long wstr) MSVCRT__snwscanf_s

View File

@ -882,6 +882,20 @@ int CDECL MSVCRT__snwprintf_s( MSVCRT_wchar_t *str, unsigned int len, unsigned i
return retval;
}
/*********************************************************************
* _snwprintf_s_l (MSVCRT.@)
*/
int CDECL MSVCRT__snwprintf_s_l( MSVCRT_wchar_t *str, unsigned int len, unsigned int count,
const MSVCRT_wchar_t *format, MSVCRT__locale_t locale, ... )
{
int retval;
__ms_va_list valist;
__ms_va_start(valist, locale);
retval = MSVCRT_vsnwprintf_s_l(str, len, count, format, locale, valist);
__ms_va_end(valist);
return retval;
}
/*********************************************************************
* sprintf (MSVCRT.@)
*/