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