mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 13:15:07 +00:00
![]() Import the following Wine commits: * ea2798f1ce9 Iván Matellanes: msvcrt: _setmode should check if file descriptor is valid. * 9b495caacfd Carlo Bramini: msvcrt: Call SetFilePointer() with correct parameters. * 13f34481b26 Carlo Bramini: msvcrt: Use MSVCRT_xxx macros instead of the same ones from GLIBC. * 781b069ed81 Piotr Caban: msvcrt: Don't close HANDLE if stdout or stderr is sharing it. |
||
---|---|---|
.. | ||
conio | ||
direct | ||
except | ||
float | ||
include | ||
locale | ||
math | ||
mbstring | ||
mem | ||
misc | ||
printf | ||
process | ||
search | ||
setjmp | ||
signal | ||
startup | ||
stdio | ||
stdlib | ||
string | ||
sys_stat | ||
time | ||
wine | ||
wstring | ||
CMakeLists.txt | ||
crt.cmake | ||
libcntpr.cmake | ||
moldname-msvcrt.def | ||
msvcrtex.cmake | ||
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.