reactos/sdk/lib/crt
Timo Kreuzer 51b5d846e9 [CRT] Define _NTSYSTEM_ in 2 files to force using import-stubs
This prevents the code from linking to __imp_*, which would pull in the symbol from the import library (e.g. kernel32), which creates problems with the GNU linker, which doesn't like to have the import and a static definition at the same time.
2023-11-10 19:00:41 +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] Add simplistic fallback implementation of sincos to make GCC 11 happy 2022-12-01 15:21:59 +02:00
mbstring [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
mem [CRT] mem/: Fix msvc14.0-amd64 build 2021-12-28 01:55:38 +03:00
misc [SDK][CRT][MSVCRT] Implement _CrtSetReportMode and _CrtSetReportFile (#5662) 2023-09-11 04:37:27 +09: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 Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
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 [CMAKE] Do not use USE_CLANG_CL variable in CMake scripts 2022-05-27 01:37:37 +03: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 Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
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 Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
README.txt Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00: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.