reactos/sdk/lib/crt
Timo Kreuzer f80d978fc0 [CRT] Fix link issues with __ftol2 when compiling for NT6
__ftol2 is exported from msvcrt on NT6+, not from ntdll for some reason. So native apps still need to statically link _ftol2 and _ftoul2_legacy, but apps linking to msvcrt only need to statically link _ftoul2_legacy (via msvcrtex), when on NT6+.
2024-08-30 06:29:13 +03:00
..
conio
direct
except [MSVCRTEX] Only include _CrtDbgReport*, if we don't already export them (#6797) 2024-04-27 14:59:06 +03:00
float
include/internal
locale
math [CRT] Fix link issues with __ftol2 when compiling for NT6 2024-08-30 06:29:13 +03: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][NTDLL][MSVCRT] Add _swprintf implementation 2024-05-06 14:08:31 +02:00
process
search
setjmp
signal
startup [CRT] Fix ARM64 VS2022 debug build (#6899) 2024-05-17 12:06:17 +03:00
stdio
stdlib [CRT] Massively improve performance of rand_s 2024-04-25 05:25:12 +02:00
string
sys_stat
time [CRT] Fix prototype of _Strftime 2024-08-20 13:47:10 +03:00
wine [MSVCRT] Add asm wrapper around RtlUnwind for Wine code 2024-01-13 19:39:23 +02:00
wstring [CRT] Add mbrtowc (from wine) 2024-05-01 07:37:31 +02:00
CMakeLists.txt [CRT] Fix link issues with __ftol2 when compiling for NT6 2024-08-30 06:29:13 +03:00
crt.cmake [MSVCRT] Add asm wrapper around RtlUnwind for Wine code 2024-01-13 19:39:23 +02:00
libcntpr.cmake
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
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.