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