msvcrt: Add support for vsprintf_s.

This commit is contained in:
Jason Edmeades 2010-01-10 13:37:31 -08:00 committed by Alexandre Julliard
parent e0405286bc
commit a2d4e5cb5d
2 changed files with 9 additions and 0 deletions

View File

@ -791,6 +791,7 @@
@ cdecl vfwprintf(ptr wstr ptr) MSVCRT_vfwprintf
@ cdecl vprintf(str ptr) MSVCRT_vprintf
@ cdecl vsprintf(ptr str ptr) MSVCRT_vsprintf
@ cdecl vsprintf_s(ptr long str ptr) MSVCRT_vsprintf_s
@ cdecl vswprintf(ptr wstr ptr) MSVCRT_vswprintf
@ cdecl vswprintf_s(ptr long wstr ptr) MSVCRT_vswprintf_s
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf

View File

@ -829,6 +829,14 @@ int CDECL MSVCRT_vsprintf( char *str, const char *format, __ms_va_list valist)
return MSVCRT_vsnprintf(str, INT_MAX, format, valist);
}
/*********************************************************************
* vsprintf_s (MSVCRT.@)
*/
int CDECL MSVCRT_vsprintf_s( char *str, MSVCRT_size_t num, const char *format, __ms_va_list valist)
{
return MSVCRT_vsnprintf(str, num, format, valist);
}
/*********************************************************************
* _vscprintf (MSVCRT.@)
*/