reactos/sdk/lib/crt
Timo Kreuzer 950e814377 [CRT] Fix _fmode
Remove mingw-w64 version of _fmode. _fmode should not be linked directly into the executable. Instead, the export from msvcrt should be used. On Windows 10 it's defined to *__p__fmode(), which is exported from ucrtbase.dll
Also _fmode in msvcrt.dll is initialized with 0.
2021-08-04 02:03:07 +02:00
..
conio [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
direct [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
except [CRT] Fix _matherror and _setusermatherror 2021-07-27 22:08:58 +02:00
float [CRT] Refactor CMake files 2021-07-20 23:13:03 +02: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 [ARM/CRT] Refactor several functions (#3865) 2021-07-31 11:24:03 +03:00
mbstring [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
mem [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
misc [CRT] Fix some data exports 2021-08-04 02:03:07 +02:00
printf [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
process [CRT] Refactor CMake files 2021-07-20 23:13:03 +02: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] Fix _fmode 2021-08-04 02:03:07 +02:00
stdio [CRT] Fix _fmode 2021-08-04 02:03:07 +02:00
stdlib [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
string [CRT] Fix some data exports 2021-08-04 02:03:07 +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] Refactor CMake files 2021-07-20 23:13:03 +02: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 [CRT] Fix _fmode 2021-08-04 02:03:07 +02: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.