1 |
1275 |
phoenix |
#ifndef _PARISC_ERRNO_H
|
2 |
|
|
#define _PARISC_ERRNO_H
|
3 |
|
|
|
4 |
|
|
#define EPERM 1 /* Operation not permitted */
|
5 |
|
|
#define ENOENT 2 /* No such file or directory */
|
6 |
|
|
#define ESRCH 3 /* No such process */
|
7 |
|
|
#define EINTR 4 /* Interrupted system call */
|
8 |
|
|
#define EIO 5 /* I/O error */
|
9 |
|
|
#define ENXIO 6 /* No such device or address */
|
10 |
|
|
#define E2BIG 7 /* Arg list too long */
|
11 |
|
|
#define ENOEXEC 8 /* Exec format error */
|
12 |
|
|
#define EBADF 9 /* Bad file number */
|
13 |
|
|
#define ECHILD 10 /* No child processes */
|
14 |
|
|
#define EAGAIN 11 /* Try again */
|
15 |
|
|
#define ENOMEM 12 /* Out of memory */
|
16 |
|
|
#define EACCES 13 /* Permission denied */
|
17 |
|
|
#define EFAULT 14 /* Bad address */
|
18 |
|
|
#define ENOTBLK 15 /* Block device required */
|
19 |
|
|
#define EBUSY 16 /* Device or resource busy */
|
20 |
|
|
#define EEXIST 17 /* File exists */
|
21 |
|
|
#define EXDEV 18 /* Cross-device link */
|
22 |
|
|
#define ENODEV 19 /* No such device */
|
23 |
|
|
#define ENOTDIR 20 /* Not a directory */
|
24 |
|
|
#define EISDIR 21 /* Is a directory */
|
25 |
|
|
#define EINVAL 22 /* Invalid argument */
|
26 |
|
|
#define ENFILE 23 /* File table overflow */
|
27 |
|
|
#define EMFILE 24 /* Too many open files */
|
28 |
|
|
#define ENOTTY 25 /* Not a typewriter */
|
29 |
|
|
#define ETXTBSY 26 /* Text file busy */
|
30 |
|
|
#define EFBIG 27 /* File too large */
|
31 |
|
|
#define ENOSPC 28 /* No space left on device */
|
32 |
|
|
#define ESPIPE 29 /* Illegal seek */
|
33 |
|
|
#define EROFS 30 /* Read-only file system */
|
34 |
|
|
#define EMLINK 31 /* Too many links */
|
35 |
|
|
#define EPIPE 32 /* Broken pipe */
|
36 |
|
|
#define EDOM 33 /* Math argument out of domain of func */
|
37 |
|
|
#define ERANGE 34 /* Math result not representable */
|
38 |
|
|
#define ENOMSG 35 /* No message of desired type */
|
39 |
|
|
#define EIDRM 36 /* Identifier removed */
|
40 |
|
|
#define ECHRNG 37 /* Channel number out of range */
|
41 |
|
|
#define EL2NSYNC 38 /* Level 2 not synchronized */
|
42 |
|
|
#define EL3HLT 39 /* Level 3 halted */
|
43 |
|
|
#define EL3RST 40 /* Level 3 reset */
|
44 |
|
|
#define ELNRNG 41 /* Link number out of range */
|
45 |
|
|
#define EUNATCH 42 /* Protocol driver not attached */
|
46 |
|
|
#define ENOCSI 43 /* No CSI structure available */
|
47 |
|
|
#define EL2HLT 44 /* Level 2 halted */
|
48 |
|
|
#define EDEADLK 45 /* Resource deadlock would occur */
|
49 |
|
|
#define EDEADLOCK EDEADLK
|
50 |
|
|
#define ENOLCK 46 /* No record locks available */
|
51 |
|
|
#define EILSEQ 47 /* Illegal byte sequence */
|
52 |
|
|
|
53 |
|
|
#define ENONET 50 /* Machine is not on the network */
|
54 |
|
|
#define ENODATA 51 /* No data available */
|
55 |
|
|
#define ETIME 52 /* Timer expired */
|
56 |
|
|
#define ENOSR 53 /* Out of streams resources */
|
57 |
|
|
#define ENOSTR 54 /* Device not a stream */
|
58 |
|
|
#define ENOPKG 55 /* Package not installed */
|
59 |
|
|
|
60 |
|
|
#define ENOLINK 57 /* Link has been severed */
|
61 |
|
|
#define EADV 58 /* Advertise error */
|
62 |
|
|
#define ESRMNT 59 /* Srmount error */
|
63 |
|
|
#define ECOMM 60 /* Communication error on send */
|
64 |
|
|
#define EPROTO 61 /* Protocol error */
|
65 |
|
|
|
66 |
|
|
#define EMULTIHOP 64 /* Multihop attempted */
|
67 |
|
|
|
68 |
|
|
#define EDOTDOT 66 /* RFS specific error */
|
69 |
|
|
#define EBADMSG 67 /* Not a data message */
|
70 |
|
|
#define EUSERS 68 /* Too many users */
|
71 |
|
|
#define EDQUOT 69 /* Quota exceeded */
|
72 |
|
|
#define ESTALE 70 /* Stale NFS file handle */
|
73 |
|
|
#define EREMOTE 71 /* Object is remote */
|
74 |
|
|
#define EOVERFLOW 72 /* Value too large for defined data type */
|
75 |
|
|
|
76 |
|
|
/* these errnos are defined by Linux but not HPUX. */
|
77 |
|
|
|
78 |
|
|
#define EBADE 160 /* Invalid exchange */
|
79 |
|
|
#define EBADR 161 /* Invalid request descriptor */
|
80 |
|
|
#define EXFULL 162 /* Exchange full */
|
81 |
|
|
#define ENOANO 163 /* No anode */
|
82 |
|
|
#define EBADRQC 164 /* Invalid request code */
|
83 |
|
|
#define EBADSLT 165 /* Invalid slot */
|
84 |
|
|
#define EBFONT 166 /* Bad font file format */
|
85 |
|
|
#define ENOTUNIQ 167 /* Name not unique on network */
|
86 |
|
|
#define EBADFD 168 /* File descriptor in bad state */
|
87 |
|
|
#define EREMCHG 169 /* Remote address changed */
|
88 |
|
|
#define ELIBACC 170 /* Can not access a needed shared library */
|
89 |
|
|
#define ELIBBAD 171 /* Accessing a corrupted shared library */
|
90 |
|
|
#define ELIBSCN 172 /* .lib section in a.out corrupted */
|
91 |
|
|
#define ELIBMAX 173 /* Attempting to link in too many shared libraries */
|
92 |
|
|
#define ELIBEXEC 174 /* Cannot exec a shared library directly */
|
93 |
|
|
#define ERESTART 175 /* Interrupted system call should be restarted */
|
94 |
|
|
#define ESTRPIPE 176 /* Streams pipe error */
|
95 |
|
|
#define EUCLEAN 177 /* Structure needs cleaning */
|
96 |
|
|
#define ENOTNAM 178 /* Not a XENIX named type file */
|
97 |
|
|
#define ENAVAIL 179 /* No XENIX semaphores available */
|
98 |
|
|
#define EISNAM 180 /* Is a named type file */
|
99 |
|
|
#define EREMOTEIO 181 /* Remote I/O error */
|
100 |
|
|
#define ENOMEDIUM 182 /* No medium found */
|
101 |
|
|
#define EMEDIUMTYPE 183 /* Wrong medium type */
|
102 |
|
|
|
103 |
|
|
/* We now return you to your regularly scheduled HPUX. */
|
104 |
|
|
|
105 |
|
|
#define ENOSYM 215 /* symbol does not exist in executable */
|
106 |
|
|
#define ENOTSOCK 216 /* Socket operation on non-socket */
|
107 |
|
|
#define EDESTADDRREQ 217 /* Destination address required */
|
108 |
|
|
#define EMSGSIZE 218 /* Message too long */
|
109 |
|
|
#define EPROTOTYPE 219 /* Protocol wrong type for socket */
|
110 |
|
|
#define ENOPROTOOPT 220 /* Protocol not available */
|
111 |
|
|
#define EPROTONOSUPPORT 221 /* Protocol not supported */
|
112 |
|
|
#define ESOCKTNOSUPPORT 222 /* Socket type not supported */
|
113 |
|
|
#define EOPNOTSUPP 223 /* Operation not supported on transport endpoint */
|
114 |
|
|
#define EPFNOSUPPORT 224 /* Protocol family not supported */
|
115 |
|
|
#define EAFNOSUPPORT 225 /* Address family not supported by protocol */
|
116 |
|
|
#define EADDRINUSE 226 /* Address already in use */
|
117 |
|
|
#define EADDRNOTAVAIL 227 /* Cannot assign requested address */
|
118 |
|
|
#define ENETDOWN 228 /* Network is down */
|
119 |
|
|
#define ENETUNREACH 229 /* Network is unreachable */
|
120 |
|
|
#define ENETRESET 230 /* Network dropped connection because of reset */
|
121 |
|
|
#define ECONNABORTED 231 /* Software caused connection abort */
|
122 |
|
|
#define ECONNRESET 232 /* Connection reset by peer */
|
123 |
|
|
#define ENOBUFS 233 /* No buffer space available */
|
124 |
|
|
#define EISCONN 234 /* Transport endpoint is already connected */
|
125 |
|
|
#define ENOTCONN 235 /* Transport endpoint is not connected */
|
126 |
|
|
#define ESHUTDOWN 236 /* Cannot send after transport endpoint shutdown */
|
127 |
|
|
#define ETOOMANYREFS 237 /* Too many references: cannot splice */
|
128 |
|
|
#define EREFUSED ECONNREFUSED /* for HP's NFS apparently */
|
129 |
|
|
#define ETIMEDOUT 238 /* Connection timed out */
|
130 |
|
|
#define ECONNREFUSED 239 /* Connection refused */
|
131 |
|
|
#define EREMOTERELEASE 240 /* Remote peer released connection */
|
132 |
|
|
#define EHOSTDOWN 241 /* Host is down */
|
133 |
|
|
#define EHOSTUNREACH 242 /* No route to host */
|
134 |
|
|
|
135 |
|
|
#define EALREADY 244 /* Operation already in progress */
|
136 |
|
|
#define EINPROGRESS 245 /* Operation now in progress */
|
137 |
|
|
#define EWOULDBLOCK 246 /* Operation would block (Linux returns EAGAIN) */
|
138 |
|
|
#define ENOTEMPTY 247 /* Directory not empty */
|
139 |
|
|
#define ENAMETOOLONG 248 /* File name too long */
|
140 |
|
|
#define ELOOP 249 /* Too many symbolic links encountered */
|
141 |
|
|
#define ENOSYS 251 /* Function not implemented */
|
142 |
|
|
|
143 |
|
|
#define ENOTSUP 252 /* Function not implemented (POSIX.4 / HPUX) */
|
144 |
|
|
#define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
#endif
|