version 15, including all changes.
.
Rev |
Author |
# |
Line |
10 |
JohnButtery |
1 |
The following are the error values (and their meanings) returned by functions in the C library on a [POSIX] (or posix-like) system. You might like to look a some funny ApplicationErrorMessages as well or CommonErrors |
|
|
2 |
|
11 |
JohnMcPherson |
3 |
Some of the higher-numbered error codes are not [POSIX] and have different numbers on different architectures. The numbers listed here are used by the linux kernel on [x86]. |
|
|
4 |
|
|
|
5 |
See errno(3) for some of the Conformation data. |
10 |
JohnButtery |
6 |
|
|
|
7 |
---- |
15 |
PerryLorier |
8 |
<?plugin OldStyleTable |
11 |
JohnMcPherson |
9 |
|__Error Number__|__Error Constant Name__|__Error Message Text__|__Conforming To__ |
|
|
10 |
|1|[EPERM]|Operation not permitted|POSIX |
|
|
11 |
|2|[ENOENT]|No such file or directory|POSIX |
|
|
12 |
|3|[ESRCH]|No such process|POSIX |
|
|
13 |
|4|[EINTR]|Interrupted system call|POSIX |
|
|
14 |
|5|[EIO]|I/O error|POSIX |
|
|
15 |
|6|[ENXIO]|No such device or address|POSIX |
|
|
16 |
|7|[E2BIG]|Argument list too long|POSIX |
|
|
17 |
|8|[ENOEXEC]|Exec format error|POSIX |
|
|
18 |
|9|[EBADF]|Bad file number|POSIX |
|
|
19 |
|10|[ECHILD]|No child processes|POSIX |
|
|
20 |
|11|[EAGAIN],EWOULDBLOCK|Try again|POSIX |
|
|
21 |
|12|[ENOMEM]|Out of memory|POSIX |
|
|
22 |
|13|[EACCES]|Permission denied|POSIX |
|
|
23 |
|14|[EFAULT]|Bad address|POSIX |
10 |
JohnButtery |
24 |
|15|[ENOTBLK]|Block device required |
11 |
JohnMcPherson |
25 |
|16|[EBUSY]|Device or resource busy|POSIX |
|
|
26 |
|17|[EEXIST]|File exists|POSIX |
|
|
27 |
|18|[EXDEV]|Cross-device link|POSIX |
|
|
28 |
|19|[ENODEV]|No such device|POSIX |
|
|
29 |
|20|[ENOTDIR]|Not a directory|POSIX |
|
|
30 |
|21|[EISDIR]|Is a directory|POSIX |
|
|
31 |
|22|[EINVAL]|Invalid argument|POSIX |
|
|
32 |
|23|[ENFILE]|File table overflow|POSIX |
|
|
33 |
|24|[EMFILE]|Too many open files|POSIX |
|
|
34 |
|25|[ENOTTY]|Not a typewriter|POSIX |
|
|
35 |
|26|[ETXTBSY]|Text file busy|SYSV |
|
|
36 |
|27|[EFBIG]|File too large|POSIX |
|
|
37 |
|28|[ENOSPC]|No space left on device|POSIX |
|
|
38 |
|29|[ESPIPE]|Illegal seek|POSIX |
|
|
39 |
|30|[EROFS]|Read-only file system|POSIX |
|
|
40 |
|31|[EMLINK]|Too many links|POSIX |
|
|
41 |
|32|[EPIPE]|Broken pipe|POSIX |
|
|
42 |
|33|[EDOM]|Math argument out of domain of func|POSIX, ISO C |
|
|
43 |
|34|[ERANGE]|Math result not representable|POSIX, ISO C |
|
|
44 |
|35|[EDEADLK],EDEADLOCK|Resource deadlock would occur|POSIX |
|
|
45 |
|36|[ENAMETOOLONG]|File name too long|POSIX |
|
|
46 |
|37|[ENOLCK]|No record locks available|POSIX |
|
|
47 |
|38|[ENOSYS]|Function not implemented|POSIX |
|
|
48 |
|39|[ENOTEMPTY]|Directory not empty|POSIX |
10 |
JohnButtery |
49 |
|40|[ELOOP]|Too many symbolic links encountered |
|
|
50 |
|41||^------------- |
|
|
51 |
|42|[ENOMSG]|No message of desired type |
|
|
52 |
|43|[EIDRM]|Identifier removed |
|
|
53 |
|44|[ECHRNG]|Channel number out of range |
|
|
54 |
|45|[EL2NSYNC]|Level 2 not synchronized |
|
|
55 |
|46|[EL3HLT]|Level 3 halted |
|
|
56 |
|47|[EL3RST]|Level 3 reset |
|
|
57 |
|48|[ELNRNG]|Link number out of range |
|
|
58 |
|49|[EUNATCH]|Protocol driver not attached |
|
|
59 |
|50|[ENOCSI]|No CSI structure available |
|
|
60 |
|51|[EL2HLT]|Level 2 halted |
|
|
61 |
|52|[EBADE]|Invalid exchange |
|
|
62 |
|53|[EBADR]|Invalid request descriptor |
|
|
63 |
|54|[EXFULL]|Exchange full |
|
|
64 |
|55|[ENOANO]|No anode |
|
|
65 |
|56|[EBADRQC]|Invalid request code |
|
|
66 |
|57|[EBADSLT]|Invalid slot |
|
|
67 |
|58||^--------- |
|
|
68 |
|59|[EBFONT]|Bad font file format |
|
|
69 |
|60|[ENOSTR]|Device not a stream |
|
|
70 |
|61|[ENODATA]|No data available |
|
|
71 |
|62|[ETIME]|Timer expired |
|
|
72 |
|63|[ENOSR]|Out of streams resources |
|
|
73 |
|64|[ENONET]|Machine is not on the network |
|
|
74 |
|65|[ENOPKG]|Package not installed |
|
|
75 |
|66|[EREMOTE]|Object is remote |
|
|
76 |
|67|[ENOLINK]|Link has been severed |
|
|
77 |
|68|[EADV]|Advertise error |
|
|
78 |
|69|[ESRMNT]|Srmount error |
|
|
79 |
|70|[ECOMM]|Communication error on send |
|
|
80 |
|71|[EPROTO]|Protocol error |
|
|
81 |
|72|[EMULTIHOP]|Multihop attempted |
|
|
82 |
|73|[EDOTDOT]|RFS specific error |
|
|
83 |
|74|[EBADMSG]|Not a data message |
|
|
84 |
|75|[EOVERFLOW]|Value too large for defined data type |
|
|
85 |
|76|[ENOTUNIQ]|Name not unique on network |
|
|
86 |
|77|[EBADFD]|File descriptor in bad state |
|
|
87 |
|78|[EREMCHG]|Remote address changed |
|
|
88 |
|79|[ELIBACC]|Can not access a needed shared library |
|
|
89 |
|80|[ELIBBAD]|Accessing a corrupted shared library |
13 |
StuartYeates |
90 |
|81|[ELIBSCN]|.lib section in [a.out] corrupted |
10 |
JohnButtery |
91 |
|82|[ELIBMAX]|Attempting to link in too many shared libraries |
|
|
92 |
|83|[ELIBEXEC]|Cannot exec a shared library directly |
13 |
StuartYeates |
93 |
|84|[EILSEQ]|Illegal byte sequence|[ISO] [C] (Amendment 1) |
10 |
JohnButtery |
94 |
|85|[ERESTART]|Interrupted system call should be restarted |
13 |
StuartYeates |
95 |
|86|[ESTRPIPE]|Streams [Pipe] error |
10 |
JohnButtery |
96 |
|87|[EUSERS]|Too many users |
|
|
97 |
|88|[ENOTSOCK]|Socket operation on non-socket |
|
|
98 |
|89|[EDESTADDRREQ]|Destination address required |
11 |
JohnMcPherson |
99 |
|90|[EMSGSIZE]|Message too long|POSIX |
10 |
JohnButtery |
100 |
|91|[EPROTOTYPE]|Protocol wrong type for socket |
|
|
101 |
|92|[ENOPROTOOPT]|Protocol not available |
|
|
102 |
|93|[EPROTONOSUPPORT]|Protocol not supported |
|
|
103 |
|94|[ESOCKTNOSUPPORT]|Socket type not supported |
|
|
104 |
|95|[EOPNOTSUPP]|Operation not supported on transport endpoint |
|
|
105 |
|96|[EPFNOSUPPORT]|Protocol family not supported |
|
|
106 |
|97|[EAFNOSUPPORT]|Address family not supported by protocol |
|
|
107 |
|98|[EADDRINUSE]|Address already in use |
|
|
108 |
|99|[EADDRNOTAVAIL]|Cannot assign requested address |
|
|
109 |
|100|[ENETDOWN]|Network is down |
|
|
110 |
|101|[ENETUNREACH]|Network is unreachable |
|
|
111 |
|102|[ENETRESET]|Network dropped connection because of reset |
|
|
112 |
|103|[ECONNABORTED]|Software caused connection abort |
|
|
113 |
|104|[ECONNRESET]|Connection reset by peer |
|
|
114 |
|105|[ENOBUFS]|No buffer space available |
|
|
115 |
|106|[EISCONN]|Transport endpoint is already connected |
|
|
116 |
|107|[ENOTCONN]|Transport endpoint is not connected |
|
|
117 |
|108|[ESHUTDOWN]|Cannot send after transport endpoint shutdown |
|
|
118 |
|109|[ETOOMANYREFS]|Too many references: cannot splice |
11 |
JohnMcPherson |
119 |
|110|[ETIMEDOUT]|Connection timed out|POSIX |
10 |
JohnButtery |
120 |
|111|[ECONNREFUSED]|Connection refused |
|
|
121 |
|112|[EHOSTDOWN]|Host is down |
|
|
122 |
|113|[EHOSTUNREACH]|No route to host |
|
|
123 |
|114|[EALREADY]|Operation already in progress |
|
|
124 |
|115|[EINPROGRESS]|Operation now in progress |
13 |
StuartYeates |
125 |
|116|[ESTALE]|Stale [NFS] file handle |
10 |
JohnButtery |
126 |
|117|[EUCLEAN]|Structure needs cleaning |
12 |
StuartYeates |
127 |
|118|[ENOTNAM]|Not a [Xenix] named type file |
|
|
128 |
|119|[ENAVAIL]|No [Xenix] semaphores available |
10 |
JohnButtery |
129 |
|120|[EISNAM]|Is a named type file |
|
|
130 |
|121|[EREMOTEIO]|Remote I/O error |
|
|
131 |
|122|[EDQUOT]|Quota exceeded |
|
|
132 |
|123|[ENOMEDIUM]|No medium found |
|
|
133 |
|124|[EMEDIUMTYPE]|Wrong medium type |
15 |
PerryLorier |
134 |
?> |
14 |
PerryLorier |
135 |
|
|
|
136 |
---- |
|
|
137 |
CategoryErrors |