2007-03-14 20:24:57 +00:00
|
|
|
/* rterror.h */
|
|
|
|
|
|
|
|
#ifndef __CRT_INTERNAL_RTERROR_H
|
|
|
|
#define __CRT_INTERNAL_RTERROR_H
|
|
|
|
|
|
|
|
|
|
|
|
#define _RT_STACK 0 /* stack overflow */
|
|
|
|
#define _RT_NULLPTR 1 /* null pointer assignment */
|
|
|
|
#define _RT_FLOAT 2 /* floating point not loaded */
|
|
|
|
#define _RT_INTDIV 3 /* integer divide by 0 */
|
|
|
|
#define _RT_SPACEARG 4 /* not enough space for arguments */
|
|
|
|
#define _RT_SPACEENV 5 /* not enough space for environment */
|
|
|
|
#define _RT_ABORT 6 /* abnormal program termination */
|
|
|
|
#define _RT_THREAD 7 /* not enough space for thread data */
|
|
|
|
#define _RT_LOCK 8 /* unexpected multi-thread lock error */
|
|
|
|
#define _RT_HEAP 9 /* unexpected heap error */
|
|
|
|
#define _RT_OPENCON 10 /* unable to open console device */
|
|
|
|
#define _RT_NONCONT 11 /* non-continuable exception */
|
|
|
|
#define _RT_INVALDISP 12 /* invalid disposition of exception */
|
|
|
|
#define _RT_ONEXIT 13 /* insufficient heap to allocate
|
|
|
|
* initial table of function pointers
|
|
|
|
* used by _onexit()/atexit(). */
|
|
|
|
#define _RT_PUREVIRT 14 /* pure virtual function call attempted
|
|
|
|
* (C++ error) */
|
|
|
|
#define _RT_STDIOINIT 15 /* not enough space for stdio initialization */
|
|
|
|
#define _RT_LOWIOINIT 16 /* not enough space for lowio initialization */
|
|
|
|
|
2012-12-16 16:38:36 +00:00
|
|
|
__declspec(noreturn) void _amsg_exit (int errnum);
|
2007-03-14 20:24:57 +00:00
|
|
|
|
[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
|
|
|
/* not in any other header */
|
|
|
|
void _dosmaperr(unsigned long oserrcode);
|
2007-03-14 20:24:57 +00:00
|
|
|
|
|
|
|
#endif /* __MSVCRT_INTERNAL_RTERROR_H */
|