reactos/sdk/lib/crt
Serge Gautherie 0a6750da12
[CRT] stdio/file.c: Import 3 Wine one-liner fixes (#4101)
* [FORMATTING][CRT] stdio/file.c: Reduce diff with Wine.

* [CRT] _wfreopen(): Fix TRACE() format modifier
Import wine-1.4-rc3 f8b29a0 by Eric Pouech.

* [CRT] msvcrt_init_io(): Ignore inherited FDs with invalid handles
Import wine-6.2-32-g611742d by Paul Gofman,
except test part, which shall be WineSync separately.

* [CRT] _dup2(): Fix clearing NOINHERIT flag
Import wine-6.20-44-g1420d28 by Piotr Caban.
2021-11-18 23:23:12 +01: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 [SDK] Allow ARM64 MSVC to complete configuration (#4045) 2021-10-22 18:52:32 +03:00
float [CRT/ARM] Floating point control functions implementation (#3870) 2021-09-08 16:04:48 +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 [SDK] Allow ARM64 MSVC to complete configuration (#4045) 2021-10-22 18:52:32 +03:00
mbstring [CRT] Refactor CMake files 2021-07-20 23:13:03 +02:00
mem [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
misc [CRT] Implement crt_process_init() 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] Implement crt_process_init() 2021-08-04 02:03:07 +02:00
stdio [CRT] stdio/file.c: Import 3 Wine one-liner fixes (#4101) 2021-11-18 23:23:12 +01:00
stdlib [CMAKE] Remove /fallback compile flag from clang-cl builds 2021-10-14 20:30:27 +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] 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 [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +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.