]> pd.if.org Git - pdclib/blob - includes/errno.h
Re-import from Subversion.
[pdclib] / includes / errno.h
1 /* ----------------------------------------------------------------------------
2  * $Id$
3  * ----------------------------------------------------------------------------
4  * Public Domain C Library - http://pdclib.sourceforge.net
5  * This code is Public Domain. Use, modify, and redistribute at will.
6  * ----------------------------------------------------------------------------
7  * Errors
8  * --------------------------------------------------------------------------*/
9
10 #ifndef _ERRNO_H
11 #define _ERRNO_H _ERRNO_H
12
13 #ifndef _PERSONALITY
14 #define _PERSONALITY _PERSONALITY
15 #include "__personality.h"
16 #endif /* _PERSONALITY */
17
18 /* TODO: Documentation */
19
20 /* ----------------------------------------------------------------------------
21  * DECLARATIONS
22  * --------------------------------------------------------------------------*/
23
24 extern int errno;
25
26 /* ----------------------------------------------------------------------------
27  * DEFINES
28  * --------------------------------------------------------------------------*/
29
30 #define EDOM   _EDOM   /* domain error                                       */
31 #define EILSEQ _EILSEQ /* illegal (multibyte) sequence                       */
32 #define ERANGE _ERANGE /* range error                                        */
33
34 #endif /* _ERRNO_H */