Commit 97807760 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msvcrt: Add _scwprintf implementation.

parent 1a234159
......@@ -1012,7 +1012,7 @@
@ stub _scprintf_l
@ stub _scprintf_p
@ stub _scprintf_p_l
@ stub _scwprintf
@ varargs _scwprintf(wstr) msvcrt._scwprintf
@ stub _scwprintf_l
@ stub _scwprintf_p
@ stub _scwprintf_p_l
......
......@@ -857,7 +857,7 @@
@ stub _scprintf_l
@ stub _scprintf_p
@ stub _scprintf_p_l
@ stub _scwprintf
@ varargs _scwprintf(wstr) msvcrt._scwprintf
@ stub _scwprintf_l
@ stub _scwprintf_p
@ stub _scwprintf_p_l
......
......@@ -843,7 +843,7 @@
@ stub _scprintf_l
@ stub _scprintf_p
@ stub _scprintf_p_l
@ stub _scwprintf
@ varargs _scwprintf(wstr) msvcrt._scwprintf
@ stub _scwprintf_l
@ stub _scwprintf_p
@ stub _scwprintf_p_l
......
......@@ -801,7 +801,7 @@
# stub _scprintf
# stub _scprintf_l
# stub _scprintf_p_l
# stub _scwprintf
@ varargs _scwprintf(wstr) MSVCRT__scwprintf
# stub _scwprintf_l
# stub _scwprintf_p_l
@ cdecl _searchenv(str str ptr)
......
......@@ -1247,6 +1247,20 @@ int CDECL MSVCRT_sprintf_s( char *str, MSVCRT_size_t num, const char *format, ..
}
/*********************************************************************
* _scwprintf (MSVCRT.@)
*/
int CDECL MSVCRT__scwprintf( const MSVCRT_wchar_t *format, ... )
{
__ms_va_list ap;
int r;
__ms_va_start( ap, format );
r = MSVCRT_vsnwprintf( NULL, INT_MAX, format, ap );
__ms_va_end( ap );
return r;
}
/*********************************************************************
* swprintf (MSVCRT.@)
*/
int CDECL MSVCRT_swprintf( MSVCRT_wchar_t *str, const MSVCRT_wchar_t *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