reactos/sdk/lib/crt
Timo Kreuzer 9efafd640f [CRT] Import wine exception handling code
The code is mostly unchanged. This includes the following changes:
* Move all wine code to crt/wine to keep it separated from our own code
* Add a minimal winternl.h
* Remove the asm macros from wine/config.h
* Include wine/asm.h where required
* Fix the names of the exported functions (GCC uses thiscall now and no wrappers are used anymore)
2020-02-09 15:56:30 +01:00
..
conio
direct
except [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
float
include [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
locale
math [SDK] Use HEX macro, like elsewhere in the file 2020-01-22 20:57:04 +01:00
mbstring
mem
misc [CRT] Use sprintf_s instead of sprintf 2019-07-20 13:56:18 +02:00
printf [CRT][USER32] fix wsprintf additional argument (%*s) (#1470) 2019-04-05 16:33:18 +09:00
process
search
setjmp
signal
startup [CRT] Remove mingwm10.dll usage in tls support code 2019-07-06 11:37:30 +02:00
stdio [MSVCRT] Export __acrt_iob_func to fix GCC build with latest RosBE 2.2 (#1835) 2019-10-20 12:44:17 +02:00
stdlib
string [CRT] Only write to the output buffer when necessary in _strlwr. CORE-16667 2020-02-09 10:23:01 +01:00
sys_stat
time [CRT] Correctly share get_ioinfo()/release_ioinfo() functions between code units 2019-04-01 11:38:32 +02:00
wine [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
wstring
CMakeLists.txt
crt.cmake [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
libcntpr.cmake Fix the MSVC version of ldexp filling up the FPU stack and bailing out with #IND after a few calls. Additionally, add it back to libcntpr. 2019-03-03 16:11:27 +01:00
moldname-msvcrt.def
msvcrtex.cmake [MSVCRT] Export __acrt_iob_func to fix GCC build with latest RosBE 2.2 (#1835) 2019-10-20 12:44:17 +02: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.