msvcrt: Add _snwprintf_l.

This commit is contained in:
Daniel Lehman 2012-01-06 13:09:37 -08:00 committed by Alexandre Julliard
parent 8bed3b6f2c
commit 08aa6ae52d
5 changed files with 18 additions and 4 deletions

View File

@ -1099,7 +1099,7 @@
@ varargs _snscanf_s(str long str) msvcrt._snscanf_s
@ varargs _snscanf_s_l(str long str ptr) msvcrt._snscanf_s_l
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ stub _snwprintf_l
@ 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 _snwscanf(wstr long wstr) msvcrt._snwscanf

View File

@ -953,7 +953,7 @@
@ varargs _snscanf_s(str long str) msvcrt._snscanf_s
@ varargs _snscanf_s_l(str long str ptr) msvcrt._snscanf_s_l
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ stub _snwprintf_l
@ 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 _snwscanf(wstr long wstr) msvcrt._snwscanf

View File

@ -946,7 +946,7 @@
@ varargs _snscanf_s(str long str) msvcrt._snscanf_s
@ varargs _snscanf_s_l(str long str ptr) msvcrt._snscanf_s_l
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ stub _snwprintf_l
@ 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 _snwscanf(wstr long wstr) msvcrt._snwscanf

View File

@ -890,7 +890,7 @@
@ varargs _snscanf_s(str long str) MSVCRT__snscanf_s
@ varargs _snscanf_s_l(str long str ptr) MSVCRT__snscanf_s_l
@ varargs _snwprintf(ptr long wstr) MSVCRT__snwprintf
# stub _snwprintf_l(ptr long wstr ptr)
@ 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 _snwscanf(wstr long wstr) MSVCRT__snwscanf

View File

@ -777,6 +777,20 @@ int CDECL MSVCRT__snwprintf( MSVCRT_wchar_t *str, unsigned int len, const MSVCRT
return retval;
}
/*********************************************************************
* _snwprintf_l (MSVCRT.@)
*/
int CDECL MSVCRT__snwprintf_l( MSVCRT_wchar_t *str, unsigned int len, const MSVCRT_wchar_t *format,
MSVCRT__locale_t locale, ...)
{
int retval;
__ms_va_list valist;
__ms_va_start(valist, locale);
retval = MSVCRT_vsnwprintf_l(str, len, format, locale, valist);
__ms_va_end(valist);
return retval;
}
/*********************************************************************
* _snwprintf_s (MSVCRT.@)
*/