Commit 607a3824 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Add _vscprintf and _vscwprintf.

parent 5b36a00b
......@@ -1523,7 +1523,6 @@
@ varargs _snprintf_s(ptr long long str)
@ varargs _snwprintf(ptr long wstr)
@ varargs _snwprintf_s(ptr long long wstr)
@ varargs _swprintf(ptr wstr) NTDLL_swprintf
@ cdecl _splitpath(str ptr ptr ptr ptr)
@ cdecl _splitpath_s(str ptr long ptr long ptr long ptr long)
@ cdecl _strcmpi(str str) _stricmp
......@@ -1533,6 +1532,7 @@
@ cdecl _strnicmp(str str long)
@ cdecl _strupr(str)
@ cdecl _strupr_s(str long)
@ varargs _swprintf(ptr wstr) NTDLL_swprintf
@ cdecl _tolower(long)
@ cdecl _toupper(long)
@ cdecl _ui64toa(int64 ptr long)
......@@ -1543,6 +1543,8 @@
@ cdecl _ultoa_s(long ptr long long)
@ cdecl _ultow(long ptr long)
@ cdecl _ultow_s(long ptr long long)
@ cdecl _vscprintf(str ptr)
@ cdecl _vscwprintf(wstr ptr)
@ cdecl -norelay _vsnprintf(ptr long str ptr)
@ cdecl _vsnprintf_s(ptr long str ptr)
@ cdecl _vsnwprintf(ptr long wstr ptr)
......
......@@ -21,6 +21,7 @@
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
......@@ -76,6 +77,24 @@ int CDECL _vsnwprintf( WCHAR *str, size_t len, const WCHAR *format, va_list args
/*********************************************************************
* _vscprintf (NTDLL.@)
*/
int CDECL _vscprintf( const char *format, va_list valist )
{
return _vsnprintf( NULL, INT_MAX, format, valist );
}
/*********************************************************************
* _vscwprintf (NTDLL.@)
*/
int CDECL _vscwprintf( const wchar_t *format, va_list args )
{
return _vsnwprintf( NULL, INT_MAX, format, args );
}
/*********************************************************************
* _snprintf (NTDLL.@)
*/
int WINAPIV NTDLL__snprintf( char *str, size_t len, 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