reactos/sdk/lib/crt
Timo Kreuzer 86b82e4ce7 [CRT] Sync $I10_OUTPUT and test with wine head
Both were broken on MSVC builds, where a long double is 64 bits and not 80 bits like on GCC. The new code works on MSVC builds, too.
2023-12-30 12:51:22 +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/x64] Fix a bug in __C_specific_handler 2023-09-26 18:02:21 +03:00
float [CRT] Make _controlfp_s portable 2023-08-11 19:00:42 +03:00
include/internal [CRT] Fix some _CRTIMP 2021-08-04 02:03:07 +02:00
locale [CRT] Fix CRT headers a bit 2021-08-04 02:03:07 +02:00
math [CRT] Make ML based asm code GAS compatible 2023-11-10 19:20:24 +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 [CRT] Sync $I10_OUTPUT and test with wine head 2023-12-30 12:51:22 +02:00
printf [CRT] printf/wprintf: Support %zu (#5056) 2023-02-14 20:54:53 +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
startup [CRT] Define _NTSYSTEM_ in 2 files to force using import-stubs 2023-11-10 19:00:41 +02:00
stdio [CRT] Import parameter check for fclose from wine 2023-09-17 10:19:15 +03:00
stdlib [CRT][MSVCRT] Import _gcvt and _gcvt_s from wine and export _gcvt_s on Vista+ 2023-11-10 19:19:22 +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 [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
wine [CRT] Reduce diff to wine-5.0 2023-08-19 23:50:52 +03:00
wstring [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
CMakeLists.txt [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
crt.cmake [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
libcntpr.cmake [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
moldname-msvcrt.def [OLDNAMES] Add missing isascii 2021-03-17 18:52:58 +01:00
msvcrtex.cmake [CPPRT][CRT][MSVCRT] Move __CxxFrameHandler3 to crt and export it on NT6 2023-08-23 20:43:53 +03:00
oldnames-msvcrt.S [OLDNAMES] Add missing isascii 2021-03-17 18:52:58 +01:00
oldnames.cmake [CMAKE] Turn import libs into regular C static libs 2020-12-28 12:13:30 +01:00
precomp.h
README.txt

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.