Commit 1a234159 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msvcrt: Add _snwprintf_s implementation.

parent 59bddde5
...@@ -1052,7 +1052,7 @@ ...@@ -1052,7 +1052,7 @@
@ stub _snscanf_s_l @ stub _snscanf_s_l
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf @ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ stub _snwprintf_l @ stub _snwprintf_l
@ stub _snwprintf_s @ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
@ stub _snwprintf_s_l @ stub _snwprintf_s_l
@ stub _snwscanf @ stub _snwscanf
@ stub _snwscanf_l @ stub _snwscanf_l
......
...@@ -899,7 +899,7 @@ ...@@ -899,7 +899,7 @@
@ stub _snscanf_s_l @ stub _snscanf_s_l
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf @ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ stub _snwprintf_l @ stub _snwprintf_l
@ stub _snwprintf_s @ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
@ stub _snwprintf_s_l @ stub _snwprintf_s_l
@ stub _snwscanf @ stub _snwscanf
@ stub _snwscanf_l @ stub _snwscanf_l
......
...@@ -885,7 +885,7 @@ ...@@ -885,7 +885,7 @@
@ stub _snscanf_s_l @ stub _snscanf_s_l
@ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf @ varargs _snwprintf(ptr long wstr) msvcrt._snwprintf
@ stub _snwprintf_l @ stub _snwprintf_l
@ stub _snwprintf_s @ varargs _snwprintf_s(ptr long long wstr) msvcrt._snwprintf_s
@ stub _snwprintf_s_l @ stub _snwprintf_s_l
@ stub _snwscanf @ stub _snwscanf
@ stub _snwscanf_l @ stub _snwscanf_l
......
...@@ -838,7 +838,7 @@ ...@@ -838,7 +838,7 @@
# stub _snscanf_s_l # stub _snscanf_s_l
@ varargs _snwprintf(ptr long wstr) MSVCRT__snwprintf @ varargs _snwprintf(ptr long wstr) MSVCRT__snwprintf
# stub _snwprintf_l # stub _snwprintf_l
# stub _snwprintf_s @ varargs _snwprintf_s(ptr long long wstr) MSVCRT__snwprintf_s
# stub _snwprintf_s_l # stub _snwprintf_s_l
# stub _snwscanf # stub _snwscanf
# stub _snwscanf_l # stub _snwscanf_l
......
...@@ -1205,6 +1205,20 @@ int CDECL MSVCRT__snwprintf( MSVCRT_wchar_t *str, unsigned int len, const MSVCRT ...@@ -1205,6 +1205,20 @@ int CDECL MSVCRT__snwprintf( MSVCRT_wchar_t *str, unsigned int len, const MSVCRT
} }
/********************************************************************* /*********************************************************************
* _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.@) * sprintf (MSVCRT.@)
*/ */
int CDECL MSVCRT_sprintf( char *str, const char *format, ... ) int CDECL MSVCRT_sprintf( char *str, const char *format, ... )
......
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