1 |
1632 |
jcastillo |
#ifndef _ALPHA_ERRNO_H
|
2 |
|
|
#define _ALPHA_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 EDEADLK 11 /* Resource deadlock would occur */
|
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 EAGAIN 35 /* Try again */
|
39 |
|
|
#define EWOULDBLOCK EAGAIN /* Operation would block */
|
40 |
|
|
#define EINPROGRESS 36 /* Operation now in progress */
|
41 |
|
|
#define EALREADY 37 /* Operation already in progress */
|
42 |
|
|
#define ENOTSOCK 38 /* Socket operation on non-socket */
|
43 |
|
|
#define EDESTADDRREQ 39 /* Destination address required */
|
44 |
|
|
#define EMSGSIZE 40 /* Message too long */
|
45 |
|
|
#define EPROTOTYPE 41 /* Protocol wrong type for socket */
|
46 |
|
|
#define ENOPROTOOPT 42 /* Protocol not available */
|
47 |
|
|
#define EPROTONOSUPPORT 43 /* Protocol not supported */
|
48 |
|
|
#define ESOCKTNOSUPPORT 44 /* Socket type not supported */
|
49 |
|
|
#define EOPNOTSUPP 45 /* Operation not supported on transport endpoint */
|
50 |
|
|
#define EPFNOSUPPORT 46 /* Protocol family not supported */
|
51 |
|
|
#define EAFNOSUPPORT 47 /* Address family not supported by protocol */
|
52 |
|
|
#define EADDRINUSE 48 /* Address already in use */
|
53 |
|
|
#define EADDRNOTAVAIL 49 /* Cannot assign requested address */
|
54 |
|
|
#define ENETDOWN 50 /* Network is down */
|
55 |
|
|
#define ENETUNREACH 51 /* Network is unreachable */
|
56 |
|
|
#define ENETRESET 52 /* Network dropped connection because of reset */
|
57 |
|
|
#define ECONNABORTED 53 /* Software caused connection abort */
|
58 |
|
|
#define ECONNRESET 54 /* Connection reset by peer */
|
59 |
|
|
#define ENOBUFS 55 /* No buffer space available */
|
60 |
|
|
#define EISCONN 56 /* Transport endpoint is already connected */
|
61 |
|
|
#define ENOTCONN 57 /* Transport endpoint is not connected */
|
62 |
|
|
#define ESHUTDOWN 58 /* Cannot send after transport endpoint shutdown */
|
63 |
|
|
#define ETOOMANYREFS 59 /* Too many references: cannot splice */
|
64 |
|
|
#define ETIMEDOUT 60 /* Connection timed out */
|
65 |
|
|
#define ECONNREFUSED 61 /* Connection refused */
|
66 |
|
|
#define ELOOP 62 /* Too many symbolic links encountered */
|
67 |
|
|
#define ENAMETOOLONG 63 /* File name too long */
|
68 |
|
|
#define EHOSTDOWN 64 /* Host is down */
|
69 |
|
|
#define EHOSTUNREACH 65 /* No route to host */
|
70 |
|
|
#define ENOTEMPTY 66 /* Directory not empty */
|
71 |
|
|
|
72 |
|
|
#define EUSERS 68 /* Too many users */
|
73 |
|
|
#define EDQUOT 69 /* Quota exceeded */
|
74 |
|
|
#define ESTALE 70 /* Stale NFS file handle */
|
75 |
|
|
#define EREMOTE 71 /* Object is remote */
|
76 |
|
|
|
77 |
|
|
#define ENOLCK 77 /* No record locks available */
|
78 |
|
|
#define ENOSYS 78 /* Function not implemented */
|
79 |
|
|
|
80 |
|
|
#define ENOMSG 80 /* No message of desired type */
|
81 |
|
|
#define EIDRM 81 /* Identifier removed */
|
82 |
|
|
#define ENOSR 82 /* Out of streams resources */
|
83 |
|
|
#define ETIME 83 /* Timer expired */
|
84 |
|
|
#define EBADMSG 84 /* Not a data message */
|
85 |
|
|
#define EPROTO 85 /* Protocol error */
|
86 |
|
|
#define ENODATA 86 /* No data available */
|
87 |
|
|
#define ENOSTR 87 /* Device not a stream */
|
88 |
|
|
|
89 |
|
|
#define ENOPKG 92 /* Package not installed */
|
90 |
|
|
|
91 |
|
|
#define EILSEQ 116 /* Illegal byte sequence */
|
92 |
|
|
|
93 |
|
|
/* The following are just random noise.. */
|
94 |
|
|
#define ECHRNG 88 /* Channel number out of range */
|
95 |
|
|
#define EL2NSYNC 89 /* Level 2 not synchronized */
|
96 |
|
|
#define EL3HLT 90 /* Level 3 halted */
|
97 |
|
|
#define EL3RST 91 /* Level 3 reset */
|
98 |
|
|
|
99 |
|
|
#define ELNRNG 93 /* Link number out of range */
|
100 |
|
|
#define EUNATCH 94 /* Protocol driver not attached */
|
101 |
|
|
#define ENOCSI 95 /* No CSI structure available */
|
102 |
|
|
#define EL2HLT 96 /* Level 2 halted */
|
103 |
|
|
#define EBADE 97 /* Invalid exchange */
|
104 |
|
|
#define EBADR 98 /* Invalid request descriptor */
|
105 |
|
|
#define EXFULL 99 /* Exchange full */
|
106 |
|
|
#define ENOANO 100 /* No anode */
|
107 |
|
|
#define EBADRQC 101 /* Invalid request code */
|
108 |
|
|
#define EBADSLT 102 /* Invalid slot */
|
109 |
|
|
|
110 |
|
|
#define EDEADLOCK EDEADLK
|
111 |
|
|
|
112 |
|
|
#define EBFONT 104 /* Bad font file format */
|
113 |
|
|
#define ENONET 105 /* Machine is not on the network */
|
114 |
|
|
#define ENOLINK 106 /* Link has been severed */
|
115 |
|
|
#define EADV 107 /* Advertise error */
|
116 |
|
|
#define ESRMNT 108 /* Srmount error */
|
117 |
|
|
#define ECOMM 109 /* Communication error on send */
|
118 |
|
|
#define EMULTIHOP 110 /* Multihop attempted */
|
119 |
|
|
#define EDOTDOT 111 /* RFS specific error */
|
120 |
|
|
#define EOVERFLOW 112 /* Value too large for defined data type */
|
121 |
|
|
#define ENOTUNIQ 113 /* Name not unique on network */
|
122 |
|
|
#define EBADFD 114 /* File descriptor in bad state */
|
123 |
|
|
#define EREMCHG 115 /* Remote address changed */
|
124 |
|
|
|
125 |
|
|
#define EUCLEAN 117 /* Structure needs cleaning */
|
126 |
|
|
#define ENOTNAM 118 /* Not a XENIX named type file */
|
127 |
|
|
#define ENAVAIL 119 /* No XENIX semaphores available */
|
128 |
|
|
#define EISNAM 120 /* Is a named type file */
|
129 |
|
|
#define EREMOTEIO 121 /* Remote I/O error */
|
130 |
|
|
|
131 |
|
|
#define ELIBACC 122 /* Can not access a needed shared library */
|
132 |
|
|
#define ELIBBAD 123 /* Accessing a corrupted shared library */
|
133 |
|
|
#define ELIBSCN 124 /* .lib section in a.out corrupted */
|
134 |
|
|
#define ELIBMAX 125 /* Attempting to link in too many shared libraries */
|
135 |
|
|
#define ELIBEXEC 126 /* Cannot exec a shared library directly */
|
136 |
|
|
#define ERESTART 127 /* Interrupted system call should be restarted */
|
137 |
|
|
#define ESTRPIPE 128 /* Streams pipe error */
|
138 |
|
|
|
139 |
|
|
#define ENOMEDIUM 129 /* No medium found */
|
140 |
|
|
#define EMEDIUMTYPE 130 /* Wrong medium type */
|
141 |
|
|
|
142 |
|
|
#endif
|