OLD | NEW |
1 /* This file is sorted such that 'errors' which represent exceptional | 1 /* This file is sorted such that 'errors' which represent exceptional |
2 * conditions under which a correct program may fail come first, followed | 2 * conditions under which a correct program may fail come first, followed |
3 * by messages that indicate an incorrect program or system failure. The | 3 * by messages that indicate an incorrect program or system failure. The |
4 * macro E() along with double-inclusion is used to ensure that ordering | 4 * macro E() along with double-inclusion is used to ensure that ordering |
5 * of the strings remains synchronized. */ | 5 * of the strings remains synchronized. */ |
6 | 6 |
7 E(EILSEQ, "Illegal byte sequence") | 7 E(EILSEQ, "Illegal byte sequence") |
8 E(EDOM, "Domain error") | 8 E(EDOM, "Domain error") |
9 E(ERANGE, "Result not representable") | 9 E(ERANGE, "Result not representable") |
10 | 10 |
11 E(ENOTTY, "Not a tty") | 11 E(ENOTTY, "Not a tty") |
12 E(EACCES, "Permission denied") | 12 E(EACCES, "Permission denied") |
13 E(EPERM, "Operation not permitted") | 13 E(EPERM, "Operation not permitted") |
14 E(ENOENT, "No such file or directory") | 14 E(ENOENT, "No such file or directory") |
15 E(ESRCH, "No such process") | 15 E(ESRCH, "No such process") |
16 E(EEXIST, "File exists") | 16 E(EEXIST, "File exists") |
17 | 17 |
18 E(EOVERFLOW, "Value too large for data type") | 18 E(EOVERFLOW, "Value too large for data type") |
19 E(ENOSPC, "No space left on device") | 19 E(ENOSPC, "No space left on device") |
20 E(ENOMEM, "Out of memory") | 20 E(ENOMEM, "Out of memory") |
21 | 21 |
22 E(EBUSY, "Resource busy") | 22 E(EBUSY, "Resource busy") |
23 E(EINTR, "Interrupted system call") | 23 E(EINTR, "Interrupted system call") |
24 E(EAGAIN, "Resource temporarily unavailable") | 24 E(EAGAIN, "Resource temporarily unavailable") |
25 E(ESPIPE, "Invalid seek") | 25 E(ESPIPE, "Invalid seek") |
26 | 26 |
27 E(EXDEV, "Cross-device link") | 27 E(EXDEV, "Cross-device link") |
28 E(EROFS, "Read-only file system") | 28 E(EROFS, "Read-only file system") |
29 E(ENOTEMPTY, "Directory not empty") | 29 E(ENOTEMPTY, "Directory not empty") |
30 | 30 |
31 E(ECONNRESET, "Connection reset by peer") | 31 E(ECONNRESET, "Connection reset by peer") |
32 E(ETIMEDOUT, "Operation timed out") | 32 E(ETIMEDOUT, "Operation timed out") |
33 E(ECONNREFUSED, "Connection refused") | 33 E(ECONNREFUSED, "Connection refused") |
34 E(EHOSTDOWN, "Host is down") | 34 E(EHOSTDOWN, "Host is down") |
35 E(EHOSTUNREACH, "Host is unreachable") | 35 E(EHOSTUNREACH, "Host is unreachable") |
36 E(EADDRINUSE, "Address in use") | 36 E(EADDRINUSE, "Address in use") |
37 | 37 |
38 E(EPIPE, "Broken pipe") | 38 E(EPIPE, "Broken pipe") |
39 E(EIO, "I/O error") | 39 E(EIO, "I/O error") |
40 E(ENXIO, "No such device or address") | 40 E(ENXIO, "No such device or address") |
41 E(ENOTBLK, "Block device required") | 41 E(ENOTBLK, "Block device required") |
42 E(ENODEV, "No such device") | 42 E(ENODEV, "No such device") |
43 E(ENOTDIR, "Not a directory") | 43 E(ENOTDIR, "Not a directory") |
44 E(EISDIR, "Is a directory") | 44 E(EISDIR, "Is a directory") |
45 E(ETXTBSY, "Text file busy") | 45 E(ETXTBSY, "Text file busy") |
46 E(ENOEXEC, "Exec format error") | 46 E(ENOEXEC, "Exec format error") |
47 | 47 |
48 E(EINVAL, "Invalid argument") | 48 E(EINVAL, "Invalid argument") |
49 | 49 |
50 E(E2BIG, "Argument list too long") | 50 E(E2BIG, "Argument list too long") |
51 E(ELOOP, "Symbolic link loop") | 51 E(ELOOP, "Symbolic link loop") |
52 E(ENAMETOOLONG, "Filename too long") | 52 E(ENAMETOOLONG, "Filename too long") |
53 E(ENFILE, "Too many open files in system") | 53 E(ENFILE, "Too many open files in system") |
54 E(EMFILE, "No file descriptors available") | 54 E(EMFILE, "No file descriptors available") |
55 E(EBADF, "Bad file descriptor") | 55 E(EBADF, "Bad file descriptor") |
56 E(ECHILD, "No child process") | 56 E(ECHILD, "No child process") |
57 E(EFAULT, "Bad address") | 57 E(EFAULT, "Bad address") |
58 E(EFBIG, "File too large") | 58 E(EFBIG, "File too large") |
59 E(EMLINK, "Too many links") | 59 E(EMLINK, "Too many links") |
60 E(ENOLCK, "No locks available") | 60 E(ENOLCK, "No locks available") |
61 | 61 |
62 E(EDEADLK, "Resource deadlock would occur") | 62 E(EDEADLK, "Resource deadlock would occur") |
63 E(ENOTRECOVERABLE, "State not recoverable") | 63 E(ENOTRECOVERABLE, "State not recoverable") |
64 E(EOWNERDEAD, "Previous owner died") | 64 E(EOWNERDEAD, "Previous owner died") |
65 E(ECANCELED, "Operation canceled") | 65 E(ECANCELED, "Operation canceled") |
66 E(ENOSYS, "Function not implemented") | 66 E(ENOSYS, "Function not implemented") |
67 E(ENOMSG, "No message of desired type") | 67 E(ENOMSG, "No message of desired type") |
68 E(EIDRM, "Identifier removed") | 68 E(EIDRM, "Identifier removed") |
69 E(ENOSTR, "Device not a stream") | 69 E(ENOSTR, "Device not a stream") |
70 E(ENODATA, "No data available") | 70 E(ENODATA, "No data available") |
71 E(ETIME, "Device timeout") | 71 E(ETIME, "Device timeout") |
72 E(ENOSR, "Out of streams resources") | 72 E(ENOSR, "Out of streams resources") |
73 E(ENOLINK, "Link has been severed") | 73 E(ENOLINK, "Link has been severed") |
74 E(EPROTO, "Protocol error") | 74 E(EPROTO, "Protocol error") |
75 E(EBADMSG, "Bad message") | 75 E(EBADMSG, "Bad message") |
76 E(EBADFD, "File descriptor in bad state") | 76 E(EBADFD, "File descriptor in bad state") |
77 E(ENOTSOCK, "Not a socket") | 77 E(ENOTSOCK, "Not a socket") |
78 E(EDESTADDRREQ, "Destination address required") | 78 E(EDESTADDRREQ, "Destination address required") |
79 E(EMSGSIZE, "Message too large") | 79 E(EMSGSIZE, "Message too large") |
80 E(EPROTOTYPE, "Protocol wrong type for socket") | 80 E(EPROTOTYPE, "Protocol wrong type for socket") |
81 E(ENOPROTOOPT, "Protocol not available") | 81 E(ENOPROTOOPT, "Protocol not available") |
82 E(EPROTONOSUPPORT,"Protocol not supported") | 82 E(EPROTONOSUPPORT, "Protocol not supported") |
83 E(ESOCKTNOSUPPORT,"Socket type not supported") | 83 E(ESOCKTNOSUPPORT, "Socket type not supported") |
84 E(ENOTSUP, "Not supported") | 84 E(ENOTSUP, "Not supported") |
85 E(EPFNOSUPPORT, "Protocol family not supported") | 85 E(EPFNOSUPPORT, "Protocol family not supported") |
86 E(EAFNOSUPPORT, "Address family not supported by protocol") | 86 E(EAFNOSUPPORT, "Address family not supported by protocol") |
87 E(EADDRNOTAVAIL,"Address not available") | 87 E(EADDRNOTAVAIL, "Address not available") |
88 E(ENETDOWN, "Network is down") | 88 E(ENETDOWN, "Network is down") |
89 E(ENETUNREACH, "Network unreachable") | 89 E(ENETUNREACH, "Network unreachable") |
90 E(ENETRESET, "Connection reset by network") | 90 E(ENETRESET, "Connection reset by network") |
91 E(ECONNABORTED, "Connection aborted") | 91 E(ECONNABORTED, "Connection aborted") |
92 E(ENOBUFS, "No buffer space available") | 92 E(ENOBUFS, "No buffer space available") |
93 E(EISCONN, "Socket is connected") | 93 E(EISCONN, "Socket is connected") |
94 E(ENOTCONN, "Socket not connected") | 94 E(ENOTCONN, "Socket not connected") |
95 E(ESHUTDOWN, "Cannot send after socket shutdown") | 95 E(ESHUTDOWN, "Cannot send after socket shutdown") |
96 E(EALREADY, "Operation already in progress") | 96 E(EALREADY, "Operation already in progress") |
97 E(EINPROGRESS, "Operation in progress") | 97 E(EINPROGRESS, "Operation in progress") |
98 E(ESTALE, "Stale file handle") | 98 E(ESTALE, "Stale file handle") |
99 E(EREMOTEIO, "Remote I/O error") | 99 E(EREMOTEIO, "Remote I/O error") |
100 E(EDQUOT, "Quota exceeded") | 100 E(EDQUOT, "Quota exceeded") |
101 E(ENOMEDIUM, "No medium found") | 101 E(ENOMEDIUM, "No medium found") |
102 E(EMEDIUMTYPE, "Wrong medium type") | 102 E(EMEDIUMTYPE, "Wrong medium type") |
103 | 103 |
104 E(0, "No error information") | 104 E(0, "No error information") |
OLD | NEW |