msvcrt: Add _scwprintf implementation.
This commit is contained in:
parent
1a234159fe
commit
97807760ca
|
@ -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)
|
||||
|
|
|
@ -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.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue