msvcrt: Add _snwprintf_s implementation.
This commit is contained in:
parent
59bddde594
commit
1a234159fe
|
@ -1052,7 +1052,7 @@
|
|||
@ stub _snscanf_s_l
|
||||
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
|
||||
@ stub _snwprintf_l
|
||||
@ stub _snwprintf_s
|
||||
@ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
|
||||
@ stub _snwprintf_s_l
|
||||
@ stub _snwscanf
|
||||
@ stub _snwscanf_l
|
||||
|
|
|
@ -899,7 +899,7 @@
|
|||
@ stub _snscanf_s_l
|
||||
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
|
||||
@ stub _snwprintf_l
|
||||
@ stub _snwprintf_s
|
||||
@ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
|
||||
@ stub _snwprintf_s_l
|
||||
@ stub _snwscanf
|
||||
@ stub _snwscanf_l
|
||||
|
|
|
@ -885,7 +885,7 @@
|
|||
@ stub _snscanf_s_l
|
||||
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
|
||||
@ stub _snwprintf_l
|
||||
@ stub _snwprintf_s
|
||||
@ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
|
||||
@ stub _snwprintf_s_l
|
||||
@ stub _snwscanf
|
||||
@ stub _snwscanf_l
|
||||
|
|
|
@ -838,7 +838,7 @@
|
|||
# stub _snscanf_s_l
|
||||
@ varargs _snwprintf(ptr long wstr) MSVCRT__snwprintf
|
||||
# stub _snwprintf_l
|
||||
# stub _snwprintf_s
|
||||
@ varargs _snwprintf_s(ptr long long wstr) MSVCRT__snwprintf_s
|
||||
# stub _snwprintf_s_l
|
||||
# stub _snwscanf
|
||||
# stub _snwscanf_l
|
||||
|
|
|
@ -1204,6 +1204,20 @@ int CDECL MSVCRT__snwprintf( MSVCRT_wchar_t *str, unsigned int len, const MSVCRT
|
|||
return retval;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _snwprintf_s (MSVCRT.@)
|
||||
*/
|
||||
int CDECL MSVCRT__snwprintf_s( MSVCRT_wchar_t *str, unsigned int len, unsigned int count,
|
||||
const MSVCRT_wchar_t *format, ...)
|
||||
{
|
||||
int retval;
|
||||
__ms_va_list valist;
|
||||
__ms_va_start(valist, format);
|
||||
retval = MSVCRT_vsnwprintf_s_l(str, len, count, format, NULL, valist);
|
||||
__ms_va_end(valist);
|
||||
return retval;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* sprintf (MSVCRT.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue