reactos/sdk/lib/crt
Jérôme Gardou 8a6d653044 [CRT] Fix _onexit
Avoid calling malloc in CR initialisation code.
Have executables call msvcrt implementation, while the DLLs keep their own function tables

CORE-17362
2020-12-30 19:03:52 +01:00
..
conio
direct
except [CRT] Use chkstk_ms.s on x64 builds 2020-09-20 23:08:17 +02:00
float [CRT] Return from fpreset() 2020-09-20 23:08:17 +02:00
include [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
locale
math [MSVCRTEX] Add some floating point functions for CLang build 2020-11-16 16:58:10 +01:00
mbstring [CRT] Fix two obvious typos in _mbbtype(). 2018-10-07 22:56:14 +02:00
mem
misc [PROGMAN][CRT][USER32] Do not use LoadLibraryEx() NT6+ flags (#3152) 2020-09-13 23:42:09 +02:00
printf [CRT][USER32] fix wsprintf additional argument (%*s) (#1470) 2019-04-05 16:33:18 +09:00
process [CRT] spawn: define a unicode environment when needed 2018-10-13 20:30:07 +02:00
search
setjmp
signal
startup [CRT] Fix _onexit 2020-12-30 19:03:52 +01: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 [CRT] Use ASM aliases for CLang builds 2020-11-16 16:58:10 +01:00
string [SDK][STDLIB][STRING] Wine-sync wcsrtombs_l and _mbstowcs_l 2020-05-03 15:35:11 +02: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] Use chkstk_ms.s on x64 builds 2020-09-20 23:08:17 +02:00
crt.cmake [CRT] Remove duplicated atexit/onexit code 2020-11-01 09:33:14 +01:00
libcntpr.cmake [CRT] Use chkstk_ms.s on x64 builds 2020-09-20 23:08:17 +02:00
moldname-msvcrt.def
msvcrtex.cmake [CMAKE] Turn import libs into regular C static libs 2020-12-28 12:13:30 +01:00
oldnames-msvcrt.S
oldnames.cmake [CMAKE] Turn import libs into regular C static libs 2020-12-28 12:13:30 +01:00
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.