errno.h 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #ifndef _PARISC_ERRNO_H
  2. #define _PARISC_ERRNO_H
  3. #include <asm-generic/errno-base.h>
  4. #define ENOMSG 35 /* No message of desired type */
  5. #define EIDRM 36 /* Identifier removed */
  6. #define ECHRNG 37 /* Channel number out of range */
  7. #define EL2NSYNC 38 /* Level 2 not synchronized */
  8. #define EL3HLT 39 /* Level 3 halted */
  9. #define EL3RST 40 /* Level 3 reset */
  10. #define ELNRNG 41 /* Link number out of range */
  11. #define EUNATCH 42 /* Protocol driver not attached */
  12. #define ENOCSI 43 /* No CSI structure available */
  13. #define EL2HLT 44 /* Level 2 halted */
  14. #define EDEADLK 45 /* Resource deadlock would occur */
  15. #define EDEADLOCK EDEADLK
  16. #define ENOLCK 46 /* No record locks available */
  17. #define EILSEQ 47 /* Illegal byte sequence */
  18. #define ENONET 50 /* Machine is not on the network */
  19. #define ENODATA 51 /* No data available */
  20. #define ETIME 52 /* Timer expired */
  21. #define ENOSR 53 /* Out of streams resources */
  22. #define ENOSTR 54 /* Device not a stream */
  23. #define ENOPKG 55 /* Package not installed */
  24. #define ENOLINK 57 /* Link has been severed */
  25. #define EADV 58 /* Advertise error */
  26. #define ESRMNT 59 /* Srmount error */
  27. #define ECOMM 60 /* Communication error on send */
  28. #define EPROTO 61 /* Protocol error */
  29. #define EMULTIHOP 64 /* Multihop attempted */
  30. #define EDOTDOT 66 /* RFS specific error */
  31. #define EBADMSG 67 /* Not a data message */
  32. #define EUSERS 68 /* Too many users */
  33. #define EDQUOT 69 /* Quota exceeded */
  34. #define ESTALE 70 /* Stale file handle */
  35. #define EREMOTE 71 /* Object is remote */
  36. #define EOVERFLOW 72 /* Value too large for defined data type */
  37. /* these errnos are defined by Linux but not HPUX. */
  38. #define EBADE 160 /* Invalid exchange */
  39. #define EBADR 161 /* Invalid request descriptor */
  40. #define EXFULL 162 /* Exchange full */
  41. #define ENOANO 163 /* No anode */
  42. #define EBADRQC 164 /* Invalid request code */
  43. #define EBADSLT 165 /* Invalid slot */
  44. #define EBFONT 166 /* Bad font file format */
  45. #define ENOTUNIQ 167 /* Name not unique on network */
  46. #define EBADFD 168 /* File descriptor in bad state */
  47. #define EREMCHG 169 /* Remote address changed */
  48. #define ELIBACC 170 /* Can not access a needed shared library */
  49. #define ELIBBAD 171 /* Accessing a corrupted shared library */
  50. #define ELIBSCN 172 /* .lib section in a.out corrupted */
  51. #define ELIBMAX 173 /* Attempting to link in too many shared libraries */
  52. #define ELIBEXEC 174 /* Cannot exec a shared library directly */
  53. #define ERESTART 175 /* Interrupted system call should be restarted */
  54. #define ESTRPIPE 176 /* Streams pipe error */
  55. #define EUCLEAN 177 /* Structure needs cleaning */
  56. #define ENOTNAM 178 /* Not a XENIX named type file */
  57. #define ENAVAIL 179 /* No XENIX semaphores available */
  58. #define EISNAM 180 /* Is a named type file */
  59. #define EREMOTEIO 181 /* Remote I/O error */
  60. #define ENOMEDIUM 182 /* No medium found */
  61. #define EMEDIUMTYPE 183 /* Wrong medium type */
  62. #define ENOKEY 184 /* Required key not available */
  63. #define EKEYEXPIRED 185 /* Key has expired */
  64. #define EKEYREVOKED 186 /* Key has been revoked */
  65. #define EKEYREJECTED 187 /* Key was rejected by service */
  66. /* We now return you to your regularly scheduled HPUX. */
  67. #define ENOSYM 215 /* symbol does not exist in executable */
  68. #define ENOTSOCK 216 /* Socket operation on non-socket */
  69. #define EDESTADDRREQ 217 /* Destination address required */
  70. #define EMSGSIZE 218 /* Message too long */
  71. #define EPROTOTYPE 219 /* Protocol wrong type for socket */
  72. #define ENOPROTOOPT 220 /* Protocol not available */
  73. #define EPROTONOSUPPORT 221 /* Protocol not supported */
  74. #define ESOCKTNOSUPPORT 222 /* Socket type not supported */
  75. #define EOPNOTSUPP 223 /* Operation not supported on transport endpoint */
  76. #define EPFNOSUPPORT 224 /* Protocol family not supported */
  77. #define EAFNOSUPPORT 225 /* Address family not supported by protocol */
  78. #define EADDRINUSE 226 /* Address already in use */
  79. #define EADDRNOTAVAIL 227 /* Cannot assign requested address */
  80. #define ENETDOWN 228 /* Network is down */
  81. #define ENETUNREACH 229 /* Network is unreachable */
  82. #define ENETRESET 230 /* Network dropped connection because of reset */
  83. #define ECONNABORTED 231 /* Software caused connection abort */
  84. #define ECONNRESET 232 /* Connection reset by peer */
  85. #define ENOBUFS 233 /* No buffer space available */
  86. #define EISCONN 234 /* Transport endpoint is already connected */
  87. #define ENOTCONN 235 /* Transport endpoint is not connected */
  88. #define ESHUTDOWN 236 /* Cannot send after transport endpoint shutdown */
  89. #define ETOOMANYREFS 237 /* Too many references: cannot splice */
  90. #define ETIMEDOUT 238 /* Connection timed out */
  91. #define ECONNREFUSED 239 /* Connection refused */
  92. #define EREFUSED ECONNREFUSED /* for HP's NFS apparently */
  93. #define EREMOTERELEASE 240 /* Remote peer released connection */
  94. #define EHOSTDOWN 241 /* Host is down */
  95. #define EHOSTUNREACH 242 /* No route to host */
  96. #define EALREADY 244 /* Operation already in progress */
  97. #define EINPROGRESS 245 /* Operation now in progress */
  98. #define EWOULDBLOCK EAGAIN /* Operation would block (Not HPUX compliant) */
  99. #define ENOTEMPTY 247 /* Directory not empty */
  100. #define ENAMETOOLONG 248 /* File name too long */
  101. #define ELOOP 249 /* Too many symbolic links encountered */
  102. #define ENOSYS 251 /* Function not implemented */
  103. #define ENOTSUP 252 /* Function not implemented (POSIX.4 / HPUX) */
  104. #define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */
  105. #define ECANCELED ECANCELLED /* SuSv3 and Solaris wants one 'L' */
  106. /* for robust mutexes */
  107. #define EOWNERDEAD 254 /* Owner died */
  108. #define ENOTRECOVERABLE 255 /* State not recoverable */
  109. #define ERFKILL 256 /* Operation not possible due to RF-kill */
  110. #define EHWPOISON 257 /* Memory page has hardware error */
  111. #endif