:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / include / msvcrt / internal / rterror.h
1 /* rterror.h */
2
3 #ifndef __MSVCRT_INTERNAL_RTERROR_H
4 #define __MSVCRT_INTERNAL_RTERROR_H
5
6 #define _RT_STACK       0       /* stack overflow */
7 #define _RT_NULLPTR     1       /* null pointer assignment */
8 #define _RT_FLOAT       2       /* floating point not loaded */
9 #define _RT_INTDIV      3       /* integer divide by 0 */
10 #define _RT_SPACEARG    4       /* not enough space for arguments */
11 #define _RT_SPACEENV    5       /* not enough space for environment */
12 #define _RT_ABORT       6       /* abnormal program termination */
13 #define _RT_THREAD      7       /* not enough space for thread data */
14 #define _RT_LOCK        8       /* unexpected multi-thread lock error */
15 #define _RT_HEAP        9       /* unexpected heap error */
16 #define _RT_OPENCON     10      /* unable to open console device */
17 #define _RT_NONCONT     11      /* non-continuable exception */
18 #define _RT_INVALDISP   12      /* invalid disposition of exception */
19 #define _RT_ONEXIT      13      /* insufficient heap to allocate
20                                  * initial table of function pointers
21                                  * used by _onexit()/atexit(). */
22 #define _RT_PUREVIRT    14      /* pure virtual function call attempted
23                                  * (C++ error) */
24 #define _RT_STDIOINIT   15      /* not enough space for stdio initialization */
25 #define _RT_LOWIOINIT   16      /* not enough space for lowio initialization */
26
27 void _amsg_exit (int errnum);
28
29 #endif  /* __MSVCRT_INTERNAL_RTERROR_H */