reactos/sdk/lib/crt
Timo Kreuzer 166d83b206 [CRT] Fix cvt to not overflow the buffer on NAN/INF
Fixes crash in msvcrt_winetest printf
2025-02-12 16:54:45 +02:00
..
conio [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
direct [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
except [CRT] Split MSVC C++ aliases from cpp.s to cpp_alias.s 2025-01-28 22:50:04 +02:00
float [CRT] Make _controlfp_s portable 2023-08-11 19:00:42 +03:00
include/internal [CRT] Sync wine code to wine-7.0 (#7520) 2024-11-27 10:37:18 +02:00
locale [3RDPARTY] Link to oldnames for stricmp/wcsicmp 2024-10-20 14:12:25 +03:00
math [UCRTSUPPORT] Add ucrtsupport library 2025-01-26 18:08:55 +02:00
mbstring [CRT] Add parameter check to _mbscmp 2023-11-10 19:19:22 +02:00
mem [CRT] Fix parameter check for _memicmp on NT 6+ 2023-11-10 19:19:22 +02:00
misc [UCRTSUPPORT] Add wine c++ exception code 2025-01-28 22:50:04 +02:00
printf [REACTOS] Refresh old URLs (#7632) 2025-01-28 13:36:45 +09:00
process [MSVCRT] Follow-up of Follow-up of #5032 (f172503) 2023-03-05 23:28:00 +09:00
search [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
setjmp [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
signal [CRT] Sync wine code to wine-7.0 (#7520) 2024-11-27 10:37:18 +02:00
startup [REACTOS] Use standard conforming names 2024-10-20 14:12:25 +03:00
stdio [CRT] Import parameter check for fclose from wine 2023-09-17 10:19:15 +03:00
stdlib [CRT] Fix cvt to not overflow the buffer on NAN/INF 2025-02-12 16:54:45 +02:00
string [CRT] Add one missing entry to _syserr_list array, fix _sys_nerr definition 2021-08-05 15:35:19 +02:00
sys_stat
time [REACTOS] Refresh old URLs (#7632) 2025-01-28 13:36:45 +09:00
wine [UCRTSUPPORT] Add wine c++ exception code 2025-01-28 22:50:04 +02:00
wstring [CRT] Add mbrtowc (from wine) 2024-05-01 07:37:31 +02:00
CMakeLists.txt [UCRTSUPPORT] Add ucrtsupport library 2025-01-26 18:08:55 +02:00
crt.cmake [CRT] Sync wine code to wine-7.0 (#7520) 2024-11-27 10:37:18 +02:00
libcntpr.cmake [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
moldname-msvcrt.def
msvcrtex.cmake [CRT] Fix link issues with __ftol2 when compiling for NT6 2024-08-30 06:29:13 +03:00
oldnames-msvcrt.S
oldnames.cmake [OLDNAMES] Add _CRT_NONSTDC_NO_DEPRECATE interface definitions 2024-10-20 14:12:25 +03:00
precomp.h
README.txt
ucrtsupport.cmake [UCRTSUPPORT] Add wine c++ exception code 2025-01-28 22:50:04 +02:00

Big chunks of this CRT library are taken from Wine's msvcrt implementation,
you can find a list of synced files in README.WINE file.

Notes:
1. When syncing, omit MSVCRT_ prefix where possible, Wine has to keep this
because they are linking with *both* original crt, and ms crt implementation.
ReactOS has the only CRT, so no need to make distinct functions.
2. ReactOS compiles two versions of the CRT library, one for usermode
(called just "crt"), and one version for kernelmode usage (called "libcntpr").
In order to separate the code, you can use #ifdef _LIBCNT_ for libcntpr code.