1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
|
#include <errno.h>
static const char *__strerror[] = {
#ifdef EILSEQ
[EILSEQ] = "Illegal sequence / Illegal byte sequence",
#endif
#ifdef EDOM
[EDOM] = "Domain error: The argument is outside the defined input domain",
#endif
#ifdef ERANGE
[ERANGE] = "Out of range: The result of the operation is too large or too small",
#endif
#ifdef ECANCELED
[ECANCELED] = "Operation canceled",
#endif
#ifdef ENETRESET
[ENETRESET] = "Connection abored by network",
#endif
#ifdef ENOTRECOVERABLE
[ENOTRECOVERABLE] = "State not recoverable",
#endif
#ifdef EOWNERDEAD
[EOWNERDEAD] = "Previous owner died",
#endif
#ifdef E2BIG
[E2BIG] = "Argument list too long",
#endif
#ifdef EACCESS
[EACCESS] = "Permission denied",
#endif
#ifdef EAGAIN
[EAGAIN] = "Resource unavailable, try again",
#endif
#ifdef EBADF
[EBADF] = "Bad file descriptor",
#endif
#ifdef EBUSY
[EBUSY] = "Device or resource busy",
#endif
#ifdef ECHILD
[ECHILD] = "No child processes",
#endif
#ifdef EDEADLK
[EDEADLK] = "Resource deadlock would occur",
#endif
#ifdef EEXIST
[EEXIST] = "File exists",
#endif
#ifdef EFAULT
[EFAULT] = "Bad address",
#endif
#ifdef EFBIG
[EFBIG] = "File too large",
#endif
#ifdef EINTR
[EINTR] = "Interrupted function",
#endif
#ifdef EINVAL
[EINVAL] = "Invalid argument",
#endif
#ifdef EIO
[EIO] = "I/O error",
#endif
#ifdef EISDIR
[EISDIR] = "Is a directory",
#endif
#ifdef EMFILE
[EMFILE] = "File descriptor value too large",
#endif
#ifdef EMLINK
[EMLINK] = "Too many links",
#endif
#ifdef ENAMETOOLONG
[ENAMETOOLONG] = "Filename too long",
#endif
#ifdef ENFILE
[ENFILE] = "Too many files open in system",
#endif
#ifdef ENODEV
[ENODEV] = "No such device",
#endif
#ifdef ENOENT
[ENOENT] = "No such file or directory",
#endif
#ifdef ENOEXEC
[ENOEXEC] = "Executable file format error",
#endif
#ifdef ENOLCK
[ENOLCK] = "No locks available",
#endif
#ifdef ENOMEM
[ENOMEM] = "Not enough space",
#endif
#ifdef ENOSPC
[ENOSPC] = "No space left on device",
#endif
#ifdef ENOSYS
[ENOSYS] = "Function not supported",
#endif
#ifdef ENOTDIR
[ENOTDIR] = "Not a directory or a symbolic link to a directory",
#endif
#ifdef ENOTEMPTY
[ENOTEMPTY] = "Directory not empty",
#endif
#ifdef ENOTSUP
[ENOTSUP] = "Not supported",
#endif
#ifdef ENOTTY
[ENOTTY] = "Inappropriate I/O control operation",
#endif
#ifdef ENXIO
[ENXIO] = "No such device or address",
#endif
#ifdef EOVERFLOW
[EOVERFLOW] = "Value too large to be stored in data type",
#endif
#ifdef EPERM
[EPERM] = "Operation not permitted",
#endif
#ifdef EPIPE
[EPIPE] = "Broken pipe",
#endif
#ifdef EROFS
[EROFS] = "Read-only file system",
#endif
#ifdef ESPIPE
[ESPIPE] = "Invalid seek",
#endif
#ifdef ESRCH
[ESRCH] = "No such process",
#endif
#ifdef EXDEV
[EXDEV] = "Cross-device link",
#endif
#ifdef EADDRINUSE
[EADDRINUSE] = "Address in use",
#endif
#ifdef EADDRNOTAVAIL
[EADDRNOTAVAIL] = "Address not available",
#endif
#ifdef EAFNOSUPPORT
[EAFNOSUPPORT] = "Address family not supported",
#endif
#ifdef EALREADY
[EALREADY] = "Connection already in progress",
#endif
#ifdef EBADMSG
[EBADMSG] = "Bad message",
#endif
#ifdef ECONNABORTED
[ECONNABORTED] = "Connection aborted",
#endif
#ifdef ECONNREFUSED
[ECONNREFUSED] = "Connection refused",
#endif
#ifdef ECONNRESET
[ECONNRESET] = "Connection reset",
#endif
#ifdef EDESTADDRREQ
[EDESTADDRREQ] = "Destination address required",
#endif
#ifdef EDQUOT
[EDQUOT] = "Reserved",
#endif
#ifdef EHOSTUNREACH
[EHOSTUNREACH] = "Host is unreachable",
#endif
#ifdef EINPROGRESS
[EINPROGRESS] = "Operation in progress",
#endif
#ifdef EISCONN
[EISCONN] = "Socket is connected",
#endif
#ifdef ELOOP
[ELOOP] = "Too many levels of symbolic links",
#endif
#ifdef EMSGSIZE
[EMSGSIZE] = "Message too large",
#endif
#ifdef EMULTIHOP
[EMULTIHOP] = "Reserved",
#endif
#ifdef ENETDOWN
[ENETDOWN] = "Network is down",
#endif
#ifdef ENETUNREACH
[ENETUNREACH] = "Network unreachable",
#endif
#ifdef ENOBUFS
[ENOBUFS] = "No buffer space available",
#endif
#ifdef ENODATA
[ENODATA] = "No message is available on the STREAM head read queue",
#endif
#ifdef ENOLINK
[ENOLINK] = "Reserved",
#endif
#ifdef ENOMSG
[ENOMSG] = "No message of the desired type",
#endif
#ifdef ENOPROTOOPT
[ENOPROTOOPT] = "Protocol not available",
#endif
#ifdef ENOSR
[ENOSR] = "No STREAM resources",
#endif
#ifdef ENOSTR
[ENOSTR] = "Not a STREAM",
#endif
#ifdef ENOTCONN
[ENOTCONN] = "The socket is not connected",
#endif
#ifdef ENOTSOCK
[ENOTSOCK] = "Not a socket",
#endif
#ifdef EOPNOTSUPP
[EOPNOTSUPP] = "Operation not supported on socket",
#endif
#ifdef EPROTO
[EPROTO] = "Protocol error",
#endif
#ifdef EPROTONOSUPPORT
[EPROTONOSUPPORT] = "Protocol not supported",
#endif
#ifdef EPROTOTYPE
[EPROTOTYPE] = "Protocol wrong type for socket",
#endif
#ifdef ESTALE
[ESTALE] = "Reserved",
#endif
#ifdef ETIME
[ETIME] = "Stream ioctl() timeout",
#endif
#ifdef ETIMEDOUT
[ETIMEDOUT] = "Connection timed out",
#endif
#ifdef EWOULDBLOCK
[EWOULDBLOCK] = "Operation would block",
#endif
#ifdef EIDRM
[EIDRM] = "Identifier removed",
#endif
#ifdef ETXTBSY
[ETXTBSY] = "Text file busy",
#endif
};
|