errno.h 468 B

1234567891011121314151617181920
  1. /*
  2. * errno.h - errors
  3. */
  4. /* $Id$ */
  5. #if !defined(_ERRNO_H)
  6. #define _ERRNO_H
  7. #include <sys/errno.h>
  8. /* The standard requires the next two definitions. If they are also in
  9. * <sys/errno.h>, their values should be equal. The <sys/errno.h> supplied
  10. * with the compiler doesn't contain them.
  11. */
  12. #define EDOM 33 /* math arg out of domain of func */
  13. #define ERANGE 34 /* math result not representable */
  14. extern int errno; /* error number */
  15. #endif /* _ERRNO_H */