reactos/reactos/lib/sdk/crt
Sylvain Petreolle b30bf6de31 [CRT]
- Update file.c to recent wine. (now with locking!)
- implement/enable __wcserror, __wcserror_s, _access_s, _ctime32_s, _ctime64_s,
_cwprintf, _fseeki64, _ftelli64, _get_osplatform, _get_output_format,
_get_pgmptr, _get_wpgmptr, _get_terminate, _get_tzname, _get_unexpected,
_gmtime64_s, _i64toa_s, _i64tow_s, _initterm_e, _itoa_s, _itow_s,
_localtime32_s, _localtime64_s, _ltoa_s, _ltow_s, _putwch, _searchenv_s,
_sopen_s, _ui64toa_s, _ui64tow_s, _vcwprintf, _vsprintf_p, _waccess_s,
_wcserror, _wcserror_s, _wfopen_s, _wsopen_s, fopen_s, fprintf_s, fwprintf_s,
printf_s, strerror_s, strncpy_s, strtok_s, vfprintf_s, vfwprintf_s, vprintf_s,
vwprintf_s, wcscat_s, wcsncat_s, wcstok_s, wprintf_s. Most code comes from
wine.
- Fix __set_errno -> _set_errno and export it.
- Remove unneeded files.
[CRT_HEADERS]
- add threadmbcinfo struct.
- update some sec_api headers from mingw64 due to missing or incorrect
functions.

Patch by Samuel Serapion.
Changes to msvcrt spec by me due to winebuild.
CRLF/LF fixes.

svn path=/trunk/; revision=54651
2011-12-14 22:09:24 +00:00
..
conio [CRT] 2011-12-14 22:09:24 +00:00
direct [CRT] 2011-12-14 22:09:24 +00:00
except [CRT] 2011-12-14 22:09:24 +00:00
float [CRT] 2011-12-02 21:18:42 +00:00
include [CRT] 2011-12-14 22:09:24 +00:00
locale [CRT] 2011-12-14 22:09:24 +00:00
math [CRT] 2011-12-02 21:18:42 +00:00
mbstring [CRT] 2011-12-14 22:09:24 +00:00
mem Merge CRT changes from cmake branch (mainly MSVC compilation fixes) 2011-02-10 11:35:05 +00:00
misc [CRT] 2011-12-14 22:09:24 +00:00
printf [CRT] 2011-12-14 22:09:24 +00:00
process [CRT] 2011-12-14 22:09:24 +00:00
search [CRT] 2011-09-15 17:11:53 +00:00
setjmp [CRT] 2011-10-14 08:33:22 +00:00
signal [CRT] 2011-12-14 22:09:24 +00:00
startup [MSVCRTEX] 2011-11-06 13:07:43 +00:00
stdio [CRT] 2011-12-14 22:09:24 +00:00
stdlib [CRT] 2011-12-14 22:09:24 +00:00
string [CRT] 2011-12-14 22:09:24 +00:00
sys_stat
time [CRT] 2011-12-14 22:09:24 +00:00
wine [CRT] 2011-12-14 22:09:24 +00:00
wstring [CRT] 2011-12-14 22:09:24 +00:00
CMakeLists.txt [CMAKE] 2011-10-02 18:59:33 +00:00
crt.cmake [CRT] 2011-12-14 22:09:24 +00:00
crt.rbuild [CRT] 2011-12-14 22:09:24 +00:00
libcntpr.cmake [CRT] 2011-10-14 08:33:22 +00:00
libcntpr.rbuild [CRT] 2011-10-14 08:50:13 +00:00
moldname-msvcrt.def [CMAKE] 2011-05-23 15:50:03 +00:00
msvcrtex.cmake [CRT] 2011-12-02 21:18:42 +00:00
oldnames.cmake [CMAKE] 2011-09-18 00:57:17 +00:00
precomp.h [CRT] 2011-12-14 22:09:24 +00:00
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.