|
|
1.1 root 1: #ifndef _I386_ERRNO_H
2: #define _I386_ERRNO_H
3:
4: #ifdef MACH_INCLUDE
5: #define LINUX_EPERM 1 /* Operation not permitted */
6: #define LINUX_ENOENT 2 /* No such file or directory */
7: #define LINUX_ESRCH 3 /* No such process */
8: #define LINUX_EINTR 4 /* Interrupted system call */
9: #define LINUX_EIO 5 /* I/O error */
10: #define LINUX_ENXIO 6 /* No such device or address */
11: #define LINUX_E2BIG 7 /* Arg list too long */
12: #define LINUX_ENOEXEC 8 /* Exec format error */
13: #define LINUX_EBADF 9 /* Bad file number */
14: #define LINUX_ECHILD 10 /* No child processes */
15: #define LINUX_EAGAIN 11 /* Try again */
16: #define LINUX_ENOMEM 12 /* Out of memory */
17: #define LINUX_EACCES 13 /* Permission denied */
18: #define LINUX_EFAULT 14 /* Bad address */
19: #define LINUX_ENOTBLK 15 /* Block device required */
20: #define LINUX_EBUSY 16 /* Device or resource busy */
21: #define LINUX_EEXIST 17 /* File exists */
22: #define LINUX_EXDEV 18 /* Cross-device link */
23: #define LINUX_ENODEV 19 /* No such device */
24: #define LINUX_ENOTDIR 20 /* Not a directory */
25: #define LINUX_EISDIR 21 /* Is a directory */
26: #define LINUX_EINVAL 22 /* Invalid argument */
27: #define LINUX_ENFILE 23 /* File table overflow */
28: #define LINUX_EMFILE 24 /* Too many open files */
29: #define LINUX_ENOTTY 25 /* Not a typewriter */
30: #define LINUX_ETXTBSY 26 /* Text file busy */
31: #define LINUX_EFBIG 27 /* File too large */
32: #define LINUX_ENOSPC 28 /* No space left on device */
33: #define LINUX_ESPIPE 29 /* Illegal seek */
34: #define LINUX_EROFS 30 /* Read-only file system */
35: #define LINUX_EMLINK 31 /* Too many links */
36: #define LINUX_EPIPE 32 /* Broken pipe */
37: #define LINUX_EDOM 33 /* Math argument out of domain of func */
38: #define LINUX_ERANGE 34 /* Math result not representable */
39: #define LINUX_EDEADLK 35 /* Resource deadlock would occur */
40: #define LINUX_ENAMETOOLONG 36 /* File name too long */
41: #define LINUX_ENOLCK 37 /* No record locks available */
42: #define LINUX_ENOSYS 38 /* Function not implemented */
43: #define LINUX_ENOTEMPTY 39 /* Directory not empty */
44: #define LINUX_ELOOP 40 /* Too many symbolic links encountered */
45: #define LINUX_EWOULDBLOCK LINUX_EAGAIN /* Operation would block */
46: #define LINUX_ENOMSG 42 /* No message of desired type */
47: #define LINUX_EIDRM 43 /* Identifier removed */
48: #define LINUX_ECHRNG 44 /* Channel number out of range */
49: #define LINUX_EL2NSYNC 45 /* Level 2 not synchronized */
50: #define LINUX_EL3HLT 46 /* Level 3 halted */
51: #define LINUX_EL3RST 47 /* Level 3 reset */
52: #define LINUX_ELNRNG 48 /* Link number out of range */
53: #define LINUX_EUNATCH 49 /* Protocol driver not attached */
54: #define LINUX_ENOCSI 50 /* No CSI structure available */
55: #define LINUX_EL2HLT 51 /* Level 2 halted */
56: #define LINUX_EBADE 52 /* Invalid exchange */
57: #define LINUX_EBADR 53 /* Invalid request descriptor */
58: #define LINUX_EXFULL 54 /* Exchange full */
59: #define LINUX_ENOANO 55 /* No anode */
60: #define LINUX_EBADRQC 56 /* Invalid request code */
61: #define LINUX_EBADSLT 57 /* Invalid slot */
62: #define LINUX_EDEADLOCK 58 /* File locking deadlock error */
63: #define LINUX_EBFONT 59 /* Bad font file format */
64: #define LINUX_ENOSTR 60 /* Device not a stream */
65: #define LINUX_ENODATA 61 /* No data available */
66: #define LINUX_ETIME 62 /* Timer expired */
67: #define LINUX_ENOSR 63 /* Out of streams resources */
68: #define LINUX_ENONET 64 /* Machine is not on the network */
69: #define LINUX_ENOPKG 65 /* Package not installed */
70: #define LINUX_EREMOTE 66 /* Object is remote */
71: #define LINUX_ENOLINK 67 /* Link has been severed */
72: #define LINUX_EADV 68 /* Advertise error */
73: #define LINUX_ESRMNT 69 /* Srmount error */
74: #define LINUX_ECOMM 70 /* Communication error on send */
75: #define LINUX_EPROTO 71 /* Protocol error */
76: #define LINUX_EMULTIHOP 72 /* Multihop attempted */
77: #define LINUX_EDOTDOT 73 /* RFS specific error */
78: #define LINUX_EBADMSG 74 /* Not a data message */
79: #define LINUX_EOVERFLOW 75 /* Value too large for defined data type */
80: #define LINUX_ENOTUNIQ 76 /* Name not unique on network */
81: #define LINUX_EBADFD 77 /* File descriptor in bad state */
82: #define LINUX_EREMCHG 78 /* Remote address changed */
83: #define LINUX_ELIBACC 79 /* Can not access a needed shared library */
84: #define LINUX_ELIBBAD 80 /* Accessing a corrupted shared library */
85: #define LINUX_ELIBSCN 81 /* .lib section in a.out corrupted */
86: #define LINUX_ELIBMAX 82 /* Attempting to link in too many shared libraries */
87: #define LINUX_ELIBEXEC 83 /* Cannot exec a shared library directly */
88: #define LINUX_EILSEQ 84 /* Illegal byte sequence */
89: #define LINUX_ERESTART 85 /* Interrupted system call should be restarted */
90: #define LINUX_ESTRPIPE 86 /* Streams pipe error */
91: #define LINUX_EUSERS 87 /* Too many users */
92: #define LINUX_ENOTSOCK 88 /* Socket operation on non-socket */
93: #define LINUX_EDESTADDRREQ 89 /* Destination address required */
94: #define LINUX_EMSGSIZE 90 /* Message too long */
95: #define LINUX_EPROTOTYPE 91 /* Protocol wrong type for socket */
96: #define LINUX_ENOPROTOOPT 92 /* Protocol not available */
97: #define LINUX_EPROTONOSUPPORT 93 /* Protocol not supported */
98: #define LINUX_ESOCKTNOSUPPORT 94 /* Socket type not supported */
99: #define LINUX_EOPNOTSUPP 95 /* Operation not supported on transport endpoint */
100: #define LINUX_EPFNOSUPPORT 96 /* Protocol family not supported */
101: #define LINUX_EAFNOSUPPORT 97 /* Address family not supported by protocol */
102: #define LINUX_EADDRINUSE 98 /* Address already in use */
103: #define LINUX_EADDRNOTAVAIL 99 /* Cannot assign requested address */
104: #define LINUX_ENETDOWN 100 /* Network is down */
105: #define LINUX_ENETUNREACH 101 /* Network is unreachable */
106: #define LINUX_ENETRESET 102 /* Network dropped connection because of reset */
107: #define LINUX_ECONNABORTED 103 /* Software caused connection abort */
108: #define LINUX_ECONNRESET 104 /* Connection reset by peer */
109: #define LINUX_ENOBUFS 105 /* No buffer space available */
110: #define LINUX_EISCONN 106 /* Transport endpoint is already connected */
111: #define LINUX_ENOTCONN 107 /* Transport endpoint is not connected */
112: #define LINUX_ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */
113: #define LINUX_ETOOMANYREFS 109 /* Too many references: cannot splice */
114: #define LINUX_ETIMEDOUT 110 /* Connection timed out */
115: #define LINUX_ECONNREFUSED 111 /* Connection refused */
116: #define LINUX_EHOSTDOWN 112 /* Host is down */
117: #define LINUX_EHOSTUNREACH 113 /* No route to host */
118: #define LINUX_EALREADY 114 /* Operation already in progress */
119: #define LINUX_EINPROGRESS 115 /* Operation now in progress */
120: #define LINUX_ESTALE 116 /* Stale NFS file handle */
121: #define LINUX_EUCLEAN 117 /* Structure needs cleaning */
122: #define LINUX_ENOTNAM 118 /* Not a XENIX named type file */
123: #define LINUX_ENAVAIL 119 /* No XENIX semaphores available */
124: #define LINUX_EISNAM 120 /* Is a named type file */
125: #define LINUX_EREMOTEIO 121 /* Remote I/O error */
126: #define LINUX_EDQUOT 122 /* Quota exceeded */
127: #else /* ! MACH_INCLUDE */
128: #define EPERM 1 /* Operation not permitted */
129: #define ENOENT 2 /* No such file or directory */
130: #define ESRCH 3 /* No such process */
131: #define EINTR 4 /* Interrupted system call */
132: #define EIO 5 /* I/O error */
133: #define ENXIO 6 /* No such device or address */
134: #define E2BIG 7 /* Arg list too long */
135: #define ENOEXEC 8 /* Exec format error */
136: #define EBADF 9 /* Bad file number */
137: #define ECHILD 10 /* No child processes */
138: #define EAGAIN 11 /* Try again */
139: #define ENOMEM 12 /* Out of memory */
140: #define EACCES 13 /* Permission denied */
141: #define EFAULT 14 /* Bad address */
142: #define ENOTBLK 15 /* Block device required */
143: #define EBUSY 16 /* Device or resource busy */
144: #define EEXIST 17 /* File exists */
145: #define EXDEV 18 /* Cross-device link */
146: #define ENODEV 19 /* No such device */
147: #define ENOTDIR 20 /* Not a directory */
148: #define EISDIR 21 /* Is a directory */
149: #define EINVAL 22 /* Invalid argument */
150: #define ENFILE 23 /* File table overflow */
151: #define EMFILE 24 /* Too many open files */
152: #define ENOTTY 25 /* Not a typewriter */
153: #define ETXTBSY 26 /* Text file busy */
154: #define EFBIG 27 /* File too large */
155: #define ENOSPC 28 /* No space left on device */
156: #define ESPIPE 29 /* Illegal seek */
157: #define EROFS 30 /* Read-only file system */
158: #define EMLINK 31 /* Too many links */
159: #define EPIPE 32 /* Broken pipe */
160: #define EDOM 33 /* Math argument out of domain of func */
161: #define ERANGE 34 /* Math result not representable */
162: #define EDEADLK 35 /* Resource deadlock would occur */
163: #define ENAMETOOLONG 36 /* File name too long */
164: #define ENOLCK 37 /* No record locks available */
165: #define ENOSYS 38 /* Function not implemented */
166: #define ENOTEMPTY 39 /* Directory not empty */
167: #define ELOOP 40 /* Too many symbolic links encountered */
168: #define EWOULDBLOCK EAGAIN /* Operation would block */
169: #define ENOMSG 42 /* No message of desired type */
170: #define EIDRM 43 /* Identifier removed */
171: #define ECHRNG 44 /* Channel number out of range */
172: #define EL2NSYNC 45 /* Level 2 not synchronized */
173: #define EL3HLT 46 /* Level 3 halted */
174: #define EL3RST 47 /* Level 3 reset */
175: #define ELNRNG 48 /* Link number out of range */
176: #define EUNATCH 49 /* Protocol driver not attached */
177: #define ENOCSI 50 /* No CSI structure available */
178: #define EL2HLT 51 /* Level 2 halted */
179: #define EBADE 52 /* Invalid exchange */
180: #define EBADR 53 /* Invalid request descriptor */
181: #define EXFULL 54 /* Exchange full */
182: #define ENOANO 55 /* No anode */
183: #define EBADRQC 56 /* Invalid request code */
184: #define EBADSLT 57 /* Invalid slot */
185: #define EDEADLOCK 58 /* File locking deadlock error */
186: #define EBFONT 59 /* Bad font file format */
187: #define ENOSTR 60 /* Device not a stream */
188: #define ENODATA 61 /* No data available */
189: #define ETIME 62 /* Timer expired */
190: #define ENOSR 63 /* Out of streams resources */
191: #define ENONET 64 /* Machine is not on the network */
192: #define ENOPKG 65 /* Package not installed */
193: #define EREMOTE 66 /* Object is remote */
194: #define ENOLINK 67 /* Link has been severed */
195: #define EADV 68 /* Advertise error */
196: #define ESRMNT 69 /* Srmount error */
197: #define ECOMM 70 /* Communication error on send */
198: #define EPROTO 71 /* Protocol error */
199: #define EMULTIHOP 72 /* Multihop attempted */
200: #define EDOTDOT 73 /* RFS specific error */
201: #define EBADMSG 74 /* Not a data message */
202: #define EOVERFLOW 75 /* Value too large for defined data type */
203: #define ENOTUNIQ 76 /* Name not unique on network */
204: #define EBADFD 77 /* File descriptor in bad state */
205: #define EREMCHG 78 /* Remote address changed */
206: #define ELIBACC 79 /* Can not access a needed shared library */
207: #define ELIBBAD 80 /* Accessing a corrupted shared library */
208: #define ELIBSCN 81 /* .lib section in a.out corrupted */
209: #define ELIBMAX 82 /* Attempting to link in too many shared libraries */
210: #define ELIBEXEC 83 /* Cannot exec a shared library directly */
211: #define EILSEQ 84 /* Illegal byte sequence */
212: #define ERESTART 85 /* Interrupted system call should be restarted */
213: #define ESTRPIPE 86 /* Streams pipe error */
214: #define EUSERS 87 /* Too many users */
215: #define ENOTSOCK 88 /* Socket operation on non-socket */
216: #define EDESTADDRREQ 89 /* Destination address required */
217: #define EMSGSIZE 90 /* Message too long */
218: #define EPROTOTYPE 91 /* Protocol wrong type for socket */
219: #define ENOPROTOOPT 92 /* Protocol not available */
220: #define EPROTONOSUPPORT 93 /* Protocol not supported */
221: #define ESOCKTNOSUPPORT 94 /* Socket type not supported */
222: #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */
223: #define EPFNOSUPPORT 96 /* Protocol family not supported */
224: #define EAFNOSUPPORT 97 /* Address family not supported by protocol */
225: #define EADDRINUSE 98 /* Address already in use */
226: #define EADDRNOTAVAIL 99 /* Cannot assign requested address */
227: #define ENETDOWN 100 /* Network is down */
228: #define ENETUNREACH 101 /* Network is unreachable */
229: #define ENETRESET 102 /* Network dropped connection because of reset */
230: #define ECONNABORTED 103 /* Software caused connection abort */
231: #define ECONNRESET 104 /* Connection reset by peer */
232: #define ENOBUFS 105 /* No buffer space available */
233: #define EISCONN 106 /* Transport endpoint is already connected */
234: #define ENOTCONN 107 /* Transport endpoint is not connected */
235: #define ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */
236: #define ETOOMANYREFS 109 /* Too many references: cannot splice */
237: #define ETIMEDOUT 110 /* Connection timed out */
238: #define ECONNREFUSED 111 /* Connection refused */
239: #define EHOSTDOWN 112 /* Host is down */
240: #define EHOSTUNREACH 113 /* No route to host */
241: #define EALREADY 114 /* Operation already in progress */
242: #define EINPROGRESS 115 /* Operation now in progress */
243: #define ESTALE 116 /* Stale NFS file handle */
244: #define EUCLEAN 117 /* Structure needs cleaning */
245: #define ENOTNAM 118 /* Not a XENIX named type file */
246: #define ENAVAIL 119 /* No XENIX semaphores available */
247: #define EISNAM 120 /* Is a named type file */
248: #define EREMOTEIO 121 /* Remote I/O error */
249: #define EDQUOT 122 /* Quota exceeded */
250: #endif /* ! MACH_INCLUDE */
251:
252: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.