Commit 3ac9ff07 authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Add _scprintf_p implementation.

parent 25d44dd3
...@@ -1261,7 +1261,7 @@ ...@@ -1261,7 +1261,7 @@
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ varargs _scprintf_l(str ptr) @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ varargs _scprintf_p(str)
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ stub _scwprintf_l @ stub _scwprintf_l
......
...@@ -1618,7 +1618,7 @@ ...@@ -1618,7 +1618,7 @@
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ varargs _scprintf_l(str ptr) @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ varargs _scprintf_p(str)
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ stub _scwprintf_l @ stub _scwprintf_l
......
...@@ -1629,7 +1629,7 @@ ...@@ -1629,7 +1629,7 @@
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ varargs _scprintf_l(str ptr) @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ varargs _scprintf_p(str)
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ stub _scwprintf_l @ stub _scwprintf_l
......
...@@ -1355,7 +1355,7 @@ ...@@ -1355,7 +1355,7 @@
@ varargs _scanf_s_l(str ptr) msvcr120._scanf_s_l @ varargs _scanf_s_l(str ptr) msvcr120._scanf_s_l
@ varargs _scprintf(str) msvcr120._scprintf @ varargs _scprintf(str) msvcr120._scprintf
@ varargs _scprintf_l(str ptr) msvcr120._scprintf_l @ varargs _scprintf_l(str ptr) msvcr120._scprintf_l
@ stub _scprintf_p @ varargs _scprintf_p(str) msvcr120._scprintf_p
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) msvcr120._scwprintf @ varargs _scwprintf(wstr) msvcr120._scwprintf
@ stub _scwprintf_l @ stub _scwprintf_l
......
...@@ -939,7 +939,7 @@ ...@@ -939,7 +939,7 @@
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ varargs _scprintf_l(str ptr) @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ varargs _scprintf_p(str)
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ stub _scwprintf_l @ stub _scwprintf_l
......
...@@ -915,7 +915,7 @@ ...@@ -915,7 +915,7 @@
@ varargs _scanf_s_l(str ptr) @ varargs _scanf_s_l(str ptr)
@ varargs _scprintf(str) @ varargs _scprintf(str)
@ varargs _scprintf_l(str ptr) @ varargs _scprintf_l(str ptr)
@ stub _scprintf_p @ varargs _scprintf_p(str)
@ stub _scprintf_p_l @ stub _scprintf_p_l
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ stub _scwprintf_l @ stub _scwprintf_l
......
...@@ -1330,6 +1330,19 @@ int WINAPIV _scprintf_l(const char *format, _locale_t locale, ...) ...@@ -1330,6 +1330,19 @@ int WINAPIV _scprintf_l(const char *format, _locale_t locale, ...)
} }
/********************************************************************* /*********************************************************************
* _scprintf_p (MSVCRT.@)
*/
int WINAPIV _scprintf_p(const char *format, ...)
{
int retval;
va_list valist;
va_start(valist, format);
retval = _vscprintf_p_l(format, NULL, valist);
va_end(valist);
return retval;
}
/*********************************************************************
* _vsnwprintf (MSVCRT.@) * _vsnwprintf (MSVCRT.@)
*/ */
int CDECL _vsnwprintf(wchar_t *str, size_t len, int CDECL _vsnwprintf(wchar_t *str, size_t len,
......
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