errno.h 828 B

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