1989-05-16 13:13:53 +00:00
|
|
|
/*
|
|
|
|
* errno.h - errors
|
|
|
|
*/
|
1994-06-24 14:02:31 +00:00
|
|
|
/* $Id$ */
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1989-12-18 14:00:32 +00:00
|
|
|
#if !defined(_ERRNO_H)
|
|
|
|
#define _ERRNO_H
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1989-12-18 14:00:32 +00:00
|
|
|
#include <sys/errno.h>
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1989-12-18 14:00:32 +00:00
|
|
|
/* The standard requires the next two definitions. If they are also in
|
|
|
|
* <sys/errno.h>, their values should be equal. The <sys/errno.h> supplied
|
|
|
|
* with the compiler doesn't contain them.
|
|
|
|
*/
|
1989-05-16 13:13:53 +00:00
|
|
|
#define EDOM 33 /* math arg out of domain of func */
|
|
|
|
#define ERANGE 34 /* math result not representable */
|
|
|
|
|
1989-12-18 14:00:32 +00:00
|
|
|
extern int errno; /* error number */
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1989-12-18 14:00:32 +00:00
|
|
|
#endif /* _ERRNO_H */
|