blob: 915044b5ca380fab27582c708923a71911ea4b5c [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001/* 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
7E(EILSEQ, "Illegal byte sequence")
Rich Felkerd75348d2013-02-07 03:05:54 -05008E(EDOM, "Domain error")
Rich Felker0b44a032011-02-12 00:22:29 -05009E(ERANGE, "Result not representable")
10
11E(ENOTTY, "Not a tty")
12E(EACCES, "Permission denied")
13E(EPERM, "Operation not permitted")
14E(ENOENT, "No such file or directory")
15E(ESRCH, "No such process")
16E(EEXIST, "File exists")
17
Rich Felkerd75348d2013-02-07 03:05:54 -050018E(EOVERFLOW, "Value too large for data type")
Rich Felker0b44a032011-02-12 00:22:29 -050019E(ENOSPC, "No space left on device")
20E(ENOMEM, "Out of memory")
21
Rich Felkerd75348d2013-02-07 03:05:54 -050022E(EBUSY, "Resource busy")
Rich Felker0b44a032011-02-12 00:22:29 -050023E(EINTR, "Interrupted system call")
Rich Felkerd75348d2013-02-07 03:05:54 -050024E(EAGAIN, "Resource temporarily unavailable")
25E(ESPIPE, "Invalid seek")
Rich Felker0b44a032011-02-12 00:22:29 -050026
27E(EXDEV, "Cross-device link")
28E(EROFS, "Read-only file system")
29E(ENOTEMPTY, "Directory not empty")
30
31E(ECONNRESET, "Connection reset by peer")
Rich Felkerd75348d2013-02-07 03:05:54 -050032E(ETIMEDOUT, "Operation timed out")
Rich Felker0b44a032011-02-12 00:22:29 -050033E(ECONNREFUSED, "Connection refused")
34E(EHOSTDOWN, "Host is down")
Rich Felkerd75348d2013-02-07 03:05:54 -050035E(EHOSTUNREACH, "Host is unreachable")
36E(EADDRINUSE, "Address in use")
Rich Felker0b44a032011-02-12 00:22:29 -050037
38E(EPIPE, "Broken pipe")
39E(EIO, "I/O error")
40E(ENXIO, "No such device or address")
41E(ENOTBLK, "Block device required")
42E(ENODEV, "No such device")
43E(ENOTDIR, "Not a directory")
44E(EISDIR, "Is a directory")
45E(ETXTBSY, "Text file busy")
46E(ENOEXEC, "Exec format error")
47
48E(EINVAL, "Invalid argument")
49
50E(E2BIG, "Argument list too long")
Rich Felkerd75348d2013-02-07 03:05:54 -050051E(ELOOP, "Symbolic link loop")
Rich Felker0b44a032011-02-12 00:22:29 -050052E(ENAMETOOLONG, "Filename too long")
Rich Felkerd75348d2013-02-07 03:05:54 -050053E(ENFILE, "Too many open files in system")
54E(EMFILE, "No file descriptors available")
55E(EBADF, "Bad file descriptor")
56E(ECHILD, "No child process")
Rich Felker0b44a032011-02-12 00:22:29 -050057E(EFAULT, "Bad address")
58E(EFBIG, "File too large")
59E(EMLINK, "Too many links")
Rich Felkerd75348d2013-02-07 03:05:54 -050060E(ENOLCK, "No locks available")
Rich Felker0b44a032011-02-12 00:22:29 -050061
62E(EDEADLK, "Resource deadlock would occur")
Rich Felkerd75348d2013-02-07 03:05:54 -050063E(ENOTRECOVERABLE, "State not recoverable")
Rich Felkerb9e08302013-02-07 03:13:35 -050064E(EOWNERDEAD, "Previous owner died")
Rich Felkerd75348d2013-02-07 03:05:54 -050065E(ECANCELED, "Operation canceled")
66E(ENOSYS, "Function not implemented")
Rich Felker0b44a032011-02-12 00:22:29 -050067E(ENOMSG, "No message of desired type")
68E(EIDRM, "Identifier removed")
69E(ENOSTR, "Device not a stream")
70E(ENODATA, "No data available")
Rich Felkerd75348d2013-02-07 03:05:54 -050071E(ETIME, "Device timeout")
Rich Felker0b44a032011-02-12 00:22:29 -050072E(ENOSR, "Out of streams resources")
73E(ENOLINK, "Link has been severed")
74E(EPROTO, "Protocol error")
Rich Felkerd75348d2013-02-07 03:05:54 -050075E(EBADMSG, "Bad message")
Rich Felker0b44a032011-02-12 00:22:29 -050076E(EBADFD, "File descriptor in bad state")
Rich Felkerd75348d2013-02-07 03:05:54 -050077E(ENOTSOCK, "Not a socket")
Rich Felker0b44a032011-02-12 00:22:29 -050078E(EDESTADDRREQ, "Destination address required")
Rich Felkerd75348d2013-02-07 03:05:54 -050079E(EMSGSIZE, "Message too large")
Rich Felker0b44a032011-02-12 00:22:29 -050080E(EPROTOTYPE, "Protocol wrong type for socket")
81E(ENOPROTOOPT, "Protocol not available")
82E(EPROTONOSUPPORT,"Protocol not supported")
83E(ESOCKTNOSUPPORT,"Socket type not supported")
Rich Felkerd75348d2013-02-07 03:05:54 -050084E(ENOTSUP, "Not supported")
Rich Felker0b44a032011-02-12 00:22:29 -050085E(EPFNOSUPPORT, "Protocol family not supported")
86E(EAFNOSUPPORT, "Address family not supported by protocol")
Rich Felkerd75348d2013-02-07 03:05:54 -050087E(EADDRNOTAVAIL,"Address not available")
Rich Felker0b44a032011-02-12 00:22:29 -050088E(ENETDOWN, "Network is down")
Rich Felkerd75348d2013-02-07 03:05:54 -050089E(ENETUNREACH, "Network unreachable")
90E(ENETRESET, "Connection reset by network")
91E(ECONNABORTED, "Connection aborted")
Rich Felker0b44a032011-02-12 00:22:29 -050092E(ENOBUFS, "No buffer space available")
93E(EISCONN, "Socket is connected")
Rich Felkerd75348d2013-02-07 03:05:54 -050094E(ENOTCONN, "Socket not connected")
Rich Felker0b44a032011-02-12 00:22:29 -050095E(ESHUTDOWN, "Cannot send after socket shutdown")
96E(EALREADY, "Operation already in progress")
Rich Felkerd75348d2013-02-07 03:05:54 -050097E(EINPROGRESS, "Operation in progress")
98E(ESTALE, "Stale file handle")
Rich Felker0b44a032011-02-12 00:22:29 -050099E(EREMOTEIO, "Remote I/O error")
100E(EDQUOT, "Quota exceeded")
101E(ENOMEDIUM, "No medium found")
102E(EMEDIUMTYPE, "Wrong medium type")
103
Rich Felker9d2a15a2012-04-16 18:37:53 -0400104E(0, "No error information")