[CRT][NTDLL][MSVCRT] Add _swprintf implementation

This commit is contained in:
Timo Kreuzer 2024-05-05 16:15:30 +03:00
parent 521eb0c7c0
commit f4a9f9cde3
4 changed files with 16 additions and 2 deletions

View file

@ -1801,7 +1801,7 @@
@ cdecl _strlwr(str)
@ cdecl _strnicmp(str str long)
@ cdecl _strupr(str)
@ stub -version=0x600+ _swprintf
@ cdecl -version=0x600+ _swprintf(ptr str)
@ cdecl -version=0x502 _tolower(long)
@ cdecl -version=0x502 _toupper(long)
@ cdecl _ui64toa(double ptr long)

View file

@ -1035,7 +1035,7 @@
@ cdecl -version=0x600+ _strupr_s_l(str long ptr)
@ cdecl -version=0x600+ _strxfrm_l(ptr str long ptr)
@ cdecl _swab(str str long)
@ stub -version=0x600+ _swprintf
@ cdecl -version=0x600+ _swprintf(ptr str)
@ stub -version=0x600+ _swprintf_c
@ stub -version=0x600+ _swprintf_c_l
@ stub -version=0x600+ _swprintf_p_l

View file

@ -0,0 +1,13 @@
/*
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
* PROJECT: ReactOS crt library
* FILE: lib/sdk/crt/printf/_swprintf.c
* PURPOSE: Implementation of _swprintf
* PROGRAMMER: Timo Kreuzer
*/
#define _sxprintf _swprintf
#define USE_COUNT 0
#define _UNICODE
#include "_sxprintf.c"

View file

@ -2,6 +2,7 @@
list(APPEND LIBCNTPR_PRINTF_SOURCE
printf/_snprintf.c
printf/_snwprintf.c
printf/_swprintf.c
printf/_vscprintf.c
printf/_vscwprintf.c
printf/_vsnprintf.c