]> pd.if.org Git - pdclib/blob - includes/errno.h
Initial load with header templates and some first declarations.
[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 // Provides 'errno', the auxiliary error handling of the standard library.
8 // ----------------------------------------------------------------------------
9
10 #ifndef __ERRNO_H
11 #define __ERRNO_H __ERRNO_H
12
13 // ----------------------------------------------------------------------------
14 // DECLARATIONS
15
16 extern int errno;
17
18 // ----------------------------------------------------------------------------
19 // DEFINES
20
21 #define EDOM      1 // domain error
22 #define EILSEQ    2 // illegal (multibyte) sequence
23 #define ERANGE    3 // range error
24
25 #endif // __ERRNO_H