errno.h 817 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /*
  6. * Error codes
  7. */
  8. #define EPERM 1
  9. #define ENOENT 2
  10. #define ESRCH 3
  11. #define EINTR 4
  12. #define EIO 5
  13. #define ENXIO 6
  14. #define E2BIG 7
  15. #define ENOEXEC 8
  16. #define EBADF 9
  17. #define ECHILD 10
  18. #define EAGAIN 11
  19. #define ENOMEM 12
  20. #define EACCES 13
  21. #define EFAULT 14
  22. #define ENOTBLK 15
  23. #define EBUSY 16
  24. #define EEXIST 17
  25. #define EXDEV 18
  26. #define ENODEV 19
  27. #define ENOTDIR 20
  28. #define EISDIR 21
  29. #define EINVAL 22
  30. #define ENFILE 23
  31. #define EMFILE 24
  32. #define ENOTTY 25
  33. #define ETXTBSY 26
  34. #define EFBIG 27
  35. #define ENOSPC 28
  36. #define ESPIPE 29
  37. #define EROFS 30
  38. #define EMLINK 31
  39. #define EPIPE 32
  40. /* math software */
  41. #define EDOM 33
  42. #define ERANGE 34
  43. #define EQUOT 35