home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / d / djdev108.zip / INCLUDE / ERRNO.H < prev    next >
C/C++ Source or Header  |  1992-08-06  |  2KB  |  42 lines

  1. /*
  2. ** Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  3. **
  4. ** This file is distributed under the terms listed in the document
  5. ** "copying.dj", available from DJ Delorie at the address above.
  6. ** A copy of "copying.dj" should accompany this file; if not, a copy
  7. ** should be available from where this file was obtained.  This file
  8. ** may not be distributed without a verbatim copy of "copying.dj".
  9. **
  10. ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
  11. ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. */
  13.  
  14. #ifndef errno_h
  15. #define errno_h 1
  16.  
  17. #define ENOENT   2              /* No such file or directory    */
  18. #define ENOTDIR  3              /* No path                      */
  19. #define EMFILE   4              /* Too many open files          */
  20. #define EACCES   5              /* Permission denied            */
  21. #define EBADF    6              /* Bad file number              */
  22. #define EARENA   7              /* Arena trashed                */
  23. #define ENOMEM   8              /* Not enough core              */
  24. #define ESEGV    9              /* invalid memory address       */
  25. #define EBADENV 10              /* invalid environment          */
  26. #define ENODEV  15              /* No such device               */
  27. #define EINVAL  19              /* Invalid argument             */
  28. #define E2BIG   20              /* Arg list too long            */
  29. #define ENOEXEC 21              /* Exec format error            */
  30. #define EXDEV   22              /* Cross-device link            */
  31. #define EPIPE    32        /* POHC */
  32. #define EDOM    33              /* Math argument                */
  33. #define ERANGE  34              /* Result too large             */
  34. #define EWOULDBLOCK 35        /* POHC */
  35. #define EEXIST  36              /* File already exists          */
  36. #define EINTR    100        /* Interrupted system call    */
  37. #define EIO    101        /* I/O or bounds error        */
  38.  
  39. #include <std.h>
  40.  
  41. #endif
  42.