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