errno.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #ifndef _ALPHA_ERRNO_H
  2. #define _ALPHA_ERRNO_H
  3. #include <asm-generic/errno-base.h>
  4. #undef EAGAIN /* 11 in errno-base.h */
  5. #define EDEADLK 11 /* Resource deadlock would occur */
  6. #define EAGAIN 35 /* Try again */
  7. #define EWOULDBLOCK EAGAIN /* Operation would block */
  8. #define EINPROGRESS 36 /* Operation now in progress */
  9. #define EALREADY 37 /* Operation already in progress */
  10. #define ENOTSOCK 38 /* Socket operation on non-socket */
  11. #define EDESTADDRREQ 39 /* Destination address required */
  12. #define EMSGSIZE 40 /* Message too long */
  13. #define EPROTOTYPE 41 /* Protocol wrong type for socket */
  14. #define ENOPROTOOPT 42 /* Protocol not available */
  15. #define EPROTONOSUPPORT 43 /* Protocol not supported */
  16. #define ESOCKTNOSUPPORT 44 /* Socket type not supported */
  17. #define EOPNOTSUPP 45 /* Operation not supported on transport endpoint */
  18. #define EPFNOSUPPORT 46 /* Protocol family not supported */
  19. #define EAFNOSUPPORT 47 /* Address family not supported by protocol */
  20. #define EADDRINUSE 48 /* Address already in use */
  21. #define EADDRNOTAVAIL 49 /* Cannot assign requested address */
  22. #define ENETDOWN 50 /* Network is down */
  23. #define ENETUNREACH 51 /* Network is unreachable */
  24. #define ENETRESET 52 /* Network dropped connection because of reset */
  25. #define ECONNABORTED 53 /* Software caused connection abort */
  26. #define ECONNRESET 54 /* Connection reset by peer */
  27. #define ENOBUFS 55 /* No buffer space available */
  28. #define EISCONN 56 /* Transport endpoint is already connected */
  29. #define ENOTCONN 57 /* Transport endpoint is not connected */
  30. #define ESHUTDOWN 58 /* Cannot send after transport endpoint shutdown */
  31. #define ETOOMANYREFS 59 /* Too many references: cannot splice */
  32. #define ETIMEDOUT 60 /* Connection timed out */
  33. #define ECONNREFUSED 61 /* Connection refused */
  34. #define ELOOP 62 /* Too many symbolic links encountered */
  35. #define ENAMETOOLONG 63 /* File name too long */
  36. #define EHOSTDOWN 64 /* Host is down */
  37. #define EHOSTUNREACH 65 /* No route to host */
  38. #define ENOTEMPTY 66 /* Directory not empty */
  39. #define EUSERS 68 /* Too many users */
  40. #define EDQUOT 69 /* Quota exceeded */
  41. #define ESTALE 70 /* Stale file handle */
  42. #define EREMOTE 71 /* Object is remote */
  43. #define ENOLCK 77 /* No record locks available */
  44. #define ENOSYS 78 /* Function not implemented */
  45. #define ENOMSG 80 /* No message of desired type */
  46. #define EIDRM 81 /* Identifier removed */
  47. #define ENOSR 82 /* Out of streams resources */
  48. #define ETIME 83 /* Timer expired */
  49. #define EBADMSG 84 /* Not a data message */
  50. #define EPROTO 85 /* Protocol error */
  51. #define ENODATA 86 /* No data available */
  52. #define ENOSTR 87 /* Device not a stream */
  53. #define ENOPKG 92 /* Package not installed */
  54. #define EILSEQ 116 /* Illegal byte sequence */
  55. /* The following are just random noise.. */
  56. #define ECHRNG 88 /* Channel number out of range */
  57. #define EL2NSYNC 89 /* Level 2 not synchronized */
  58. #define EL3HLT 90 /* Level 3 halted */
  59. #define EL3RST 91 /* Level 3 reset */
  60. #define ELNRNG 93 /* Link number out of range */
  61. #define EUNATCH 94 /* Protocol driver not attached */
  62. #define ENOCSI 95 /* No CSI structure available */
  63. #define EL2HLT 96 /* Level 2 halted */
  64. #define EBADE 97 /* Invalid exchange */
  65. #define EBADR 98 /* Invalid request descriptor */
  66. #define EXFULL 99 /* Exchange full */
  67. #define ENOANO 100 /* No anode */
  68. #define EBADRQC 101 /* Invalid request code */
  69. #define EBADSLT 102 /* Invalid slot */
  70. #define EDEADLOCK EDEADLK
  71. #define EBFONT 104 /* Bad font file format */
  72. #define ENONET 105 /* Machine is not on the network */
  73. #define ENOLINK 106 /* Link has been severed */
  74. #define EADV 107 /* Advertise error */
  75. #define ESRMNT 108 /* Srmount error */
  76. #define ECOMM 109 /* Communication error on send */
  77. #define EMULTIHOP 110 /* Multihop attempted */
  78. #define EDOTDOT 111 /* RFS specific error */
  79. #define EOVERFLOW 112 /* Value too large for defined data type */
  80. #define ENOTUNIQ 113 /* Name not unique on network */
  81. #define EBADFD 114 /* File descriptor in bad state */
  82. #define EREMCHG 115 /* Remote address changed */
  83. #define EUCLEAN 117 /* Structure needs cleaning */
  84. #define ENOTNAM 118 /* Not a XENIX named type file */
  85. #define ENAVAIL 119 /* No XENIX semaphores available */
  86. #define EISNAM 120 /* Is a named type file */
  87. #define EREMOTEIO 121 /* Remote I/O error */
  88. #define ELIBACC 122 /* Can not access a needed shared library */
  89. #define ELIBBAD 123 /* Accessing a corrupted shared library */
  90. #define ELIBSCN 124 /* .lib section in a.out corrupted */
  91. #define ELIBMAX 125 /* Attempting to link in too many shared libraries */
  92. #define ELIBEXEC 126 /* Cannot exec a shared library directly */
  93. #define ERESTART 127 /* Interrupted system call should be restarted */
  94. #define ESTRPIPE 128 /* Streams pipe error */
  95. #define ENOMEDIUM 129 /* No medium found */
  96. #define EMEDIUMTYPE 130 /* Wrong medium type */
  97. #define ECANCELED 131 /* Operation Cancelled */
  98. #define ENOKEY 132 /* Required key not available */
  99. #define EKEYEXPIRED 133 /* Key has expired */
  100. #define EKEYREVOKED 134 /* Key has been revoked */
  101. #define EKEYREJECTED 135 /* Key was rejected by service */
  102. /* for robust mutexes */
  103. #define EOWNERDEAD 136 /* Owner died */
  104. #define ENOTRECOVERABLE 137 /* State not recoverable */
  105. #define ERFKILL 138 /* Operation not possible due to RF-kill */
  106. #define EHWPOISON 139 /* Memory page has hardware error */
  107. #endif