msvcrt: Add _scwprintf implementation.

This commit is contained in:
Nikolay Sivov 2010-06-10 23:54:30 +04:00 committed by Alexandre Julliard
parent 1a234159fe
commit 97807760ca
5 changed files with 18 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -1246,6 +1246,20 @@ int CDECL MSVCRT_sprintf_s( char *str, MSVCRT_size_t num, const char *format, ..
return r;
}
/*********************************************************************
* _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.@)
*/