msvcrt: Added _scprintf implementation.
This commit is contained in:
parent
6467c8325f
commit
600fa766f3
|
@ -1055,7 +1055,7 @@
|
||||||
@ cdecl _scalb(double long) msvcrt._scalb
|
@ cdecl _scalb(double long) msvcrt._scalb
|
||||||
@ varargs _scanf_l(str ptr) msvcrt._scanf_l
|
@ varargs _scanf_l(str ptr) msvcrt._scanf_l
|
||||||
@ varargs _scanf_s_l(str ptr) msvcrt._scanf_s_l
|
@ varargs _scanf_s_l(str ptr) msvcrt._scanf_s_l
|
||||||
@ stub _scprintf
|
@ varargs _scprintf(str) msvcrt._scprintf
|
||||||
@ stub _scprintf_l
|
@ stub _scprintf_l
|
||||||
@ stub _scprintf_p
|
@ stub _scprintf_p
|
||||||
@ stub _scprintf_p_l
|
@ stub _scprintf_p_l
|
||||||
|
|
|
@ -509,7 +509,7 @@
|
||||||
@ cdecl -arch=i386 _safe_fprem() msvcrt._safe_fprem
|
@ cdecl -arch=i386 _safe_fprem() msvcrt._safe_fprem
|
||||||
@ cdecl -arch=i386 _safe_fprem1() msvcrt._safe_fprem1
|
@ cdecl -arch=i386 _safe_fprem1() msvcrt._safe_fprem1
|
||||||
@ cdecl _scalb( double long) msvcrt._scalb
|
@ cdecl _scalb( double long) msvcrt._scalb
|
||||||
@ stub _scprintf
|
@ varargs _scprintf(str) msvcrt._scprintf
|
||||||
@ varargs _scwprintf(wstr) msvcrt._scwprintf
|
@ varargs _scwprintf(wstr) msvcrt._scwprintf
|
||||||
@ cdecl _searchenv(str str ptr) msvcrt._searchenv
|
@ cdecl _searchenv(str str ptr) msvcrt._searchenv
|
||||||
@ stdcall -i386 _seh_longjmp_unwind(ptr) msvcrt._seh_longjmp_unwind
|
@ stdcall -i386 _seh_longjmp_unwind(ptr) msvcrt._seh_longjmp_unwind
|
||||||
|
|
|
@ -504,7 +504,7 @@
|
||||||
@ cdecl _safe_fprem() msvcrt._safe_fprem
|
@ cdecl _safe_fprem() msvcrt._safe_fprem
|
||||||
@ cdecl _safe_fprem1() msvcrt._safe_fprem1
|
@ cdecl _safe_fprem1() msvcrt._safe_fprem1
|
||||||
@ cdecl _scalb( double long) msvcrt._scalb
|
@ cdecl _scalb( double long) msvcrt._scalb
|
||||||
@ stub _scprintf
|
@ varargs _scprintf(str) msvcrt._scprintf
|
||||||
@ varargs _scwprintf(wstr) msvcrt._scwprintf
|
@ varargs _scwprintf(wstr) msvcrt._scwprintf
|
||||||
@ cdecl _searchenv(str str ptr) msvcrt._searchenv
|
@ cdecl _searchenv(str str ptr) msvcrt._searchenv
|
||||||
@ stdcall -i386 _seh_longjmp_unwind(ptr) msvcrt._seh_longjmp_unwind
|
@ stdcall -i386 _seh_longjmp_unwind(ptr) msvcrt._seh_longjmp_unwind
|
||||||
|
|
|
@ -907,7 +907,7 @@
|
||||||
@ cdecl _scalb( double long) msvcrt._scalb
|
@ cdecl _scalb( double long) msvcrt._scalb
|
||||||
@ varargs _scanf_l(str ptr) msvcrt._scanf_l
|
@ varargs _scanf_l(str ptr) msvcrt._scanf_l
|
||||||
@ varargs _scanf_s_l(str ptr) msvcrt._scanf_s_l
|
@ varargs _scanf_s_l(str ptr) msvcrt._scanf_s_l
|
||||||
@ stub _scprintf
|
@ varargs _scprintf(str) msvcrt._scprintf
|
||||||
@ stub _scprintf_l
|
@ stub _scprintf_l
|
||||||
@ stub _scprintf_p
|
@ stub _scprintf_p
|
||||||
@ stub _scprintf_p_l
|
@ stub _scprintf_p_l
|
||||||
|
|
|
@ -893,7 +893,7 @@
|
||||||
@ cdecl _scalb( double long) msvcrt._scalb
|
@ cdecl _scalb( double long) msvcrt._scalb
|
||||||
@ varargs _scanf_l(str ptr) msvcrt._scanf_l
|
@ varargs _scanf_l(str ptr) msvcrt._scanf_l
|
||||||
@ varargs _scanf_s_l(str ptr) msvcrt._scanf_s_l
|
@ varargs _scanf_s_l(str ptr) msvcrt._scanf_s_l
|
||||||
@ stub _scprintf
|
@ varargs _scprintf(str) msvcrt._scprintf
|
||||||
@ stub _scprintf_l
|
@ stub _scprintf_l
|
||||||
@ stub _scprintf_p
|
@ stub _scprintf_p
|
||||||
@ stub _scprintf_p_l
|
@ stub _scprintf_p_l
|
||||||
|
|
|
@ -836,7 +836,7 @@
|
||||||
@ cdecl -arch=x86_64 _scalbf(double long) MSVCRT__scalbf
|
@ cdecl -arch=x86_64 _scalbf(double long) MSVCRT__scalbf
|
||||||
@ varargs _scanf_l(str ptr) MSVCRT__scanf_l
|
@ varargs _scanf_l(str ptr) MSVCRT__scanf_l
|
||||||
@ varargs _scanf_s_l(str ptr) MSVCRT__scanf_s_l
|
@ varargs _scanf_s_l(str ptr) MSVCRT__scanf_s_l
|
||||||
# stub _scprintf
|
@ varargs _scprintf(str) MSVCRT__scprintf
|
||||||
# stub _scprintf_l
|
# stub _scprintf_l
|
||||||
# stub _scprintf_p_l
|
# stub _scprintf_p_l
|
||||||
@ varargs _scwprintf(wstr) MSVCRT__scwprintf
|
@ varargs _scwprintf(wstr) MSVCRT__scwprintf
|
||||||
|
|
|
@ -1119,6 +1119,19 @@ int CDECL MSVCRT__snprintf_s(char *str, unsigned int len, unsigned int count,
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* _scprintf (MSVCRT.@)
|
||||||
|
*/
|
||||||
|
int CDECL MSVCRT__scprintf(const char *format, ...)
|
||||||
|
{
|
||||||
|
int retval;
|
||||||
|
__ms_va_list valist;
|
||||||
|
__ms_va_start(valist, format);
|
||||||
|
retval = _vscprintf(format, valist);
|
||||||
|
__ms_va_end(valist);
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* vsnwprintf_internal (INTERNAL)
|
* vsnwprintf_internal (INTERNAL)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue