msvcrt: Add _fprintf_s_l implementation.

This commit is contained in:
Bartosz Kosiorek 2022-10-28 14:13:30 +02:00 committed by Alexandre Julliard
parent 03ae830653
commit 33551b28a5
7 changed files with 19 additions and 6 deletions

View file

@ -830,7 +830,7 @@
@ varargs _fprintf_l(ptr str ptr)
@ varargs _fprintf_p(ptr str)
@ varargs _fprintf_p_l(ptr str ptr)
@ stub _fprintf_s_l
@ varargs _fprintf_s_l(ptr str ptr)
@ cdecl _fputc_nolock(long ptr)
@ cdecl _fputchar(long)
@ cdecl _fputwc_nolock(long ptr)

View file

@ -1178,7 +1178,7 @@
@ varargs _fprintf_l(ptr str ptr)
@ varargs _fprintf_p(ptr str)
@ varargs _fprintf_p_l(ptr str ptr)
@ stub _fprintf_s_l
@ varargs _fprintf_s_l(ptr str ptr)
@ cdecl _fputc_nolock(long ptr)
@ cdecl _fputchar(long)
@ cdecl _fputwc_nolock(long ptr)

View file

@ -1107,7 +1107,7 @@
@ varargs _fprintf_l(ptr str ptr) msvcr120._fprintf_l
@ varargs _fprintf_p(ptr str) msvcr120._fprintf_p
@ varargs _fprintf_p_l(ptr str ptr) msvcr120._fprintf_p_l
@ stub _fprintf_s_l
@ varargs _fprintf_s_l(ptr str ptr) msvcr120._fprintf_s_l
@ cdecl _fputc_nolock(long ptr) msvcr120._fputc_nolock
@ cdecl _fputchar(long) msvcr120._fputchar
@ cdecl _fputwc_nolock(long ptr) msvcr120._fputwc_nolock

View file

@ -496,7 +496,7 @@
@ varargs _fprintf_l(ptr str ptr)
@ varargs _fprintf_p(ptr str)
@ varargs _fprintf_p_l(ptr str ptr)
@ stub _fprintf_s_l
@ varargs _fprintf_s_l(ptr str ptr)
@ cdecl _fputc_nolock(long ptr)
@ cdecl _fputchar(long)
@ cdecl _fputwc_nolock(long ptr)

View file

@ -479,7 +479,7 @@
@ varargs _fprintf_l(ptr str ptr)
@ varargs _fprintf_p(ptr str)
@ varargs _fprintf_p_l(ptr str ptr)
@ stub _fprintf_s_l
@ varargs _fprintf_s_l(ptr str ptr)
@ cdecl _fputc_nolock(long ptr)
@ cdecl _fputchar(long)
@ cdecl _fputwc_nolock(long ptr)

View file

@ -5621,6 +5621,19 @@ int CDECL _fprintf_p_l(FILE* file, const char *format, _locale_t locale, ...)
return res;
}
/*********************************************************************
* _fprintf_s_l (MSVCRT.@)
*/
int CDECL _fprintf_s_l(FILE* file, const char *format, _locale_t locale, ...)
{
va_list valist;
int res;
va_start(valist, locale);
res = _vfprintf_s_l(file, format, locale, valist);
va_end(valist);
return res;
}
/*********************************************************************
* fwprintf (MSVCRT.@)
*/

View file

@ -463,7 +463,7 @@
@ varargs _fprintf_l(ptr str ptr)
@ varargs _fprintf_p(ptr str)
@ varargs _fprintf_p_l(ptr str ptr)
# stub _fprintf_s_l(ptr str ptr)
@ varargs _fprintf_s_l(ptr str ptr)
@ cdecl _fputchar(long)
@ cdecl _fputwchar(long)
# stub _free_dbg(ptr long)