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