Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc.git] / sysdeps / gnu / errlist.c
blob59e7f52b97064c6f42842ed206fe135bf7105aa2
1 /* This file is generated from errno.texi by errlist.awk. */
3 #include <errno.h>
5 const char *_sys_errlist[] =
7 [0] = N_("Success"),
8 #ifdef EPERM
9 [EPERM] = N_("Operation not permitted"),
10 #endif
11 #ifdef ENOENT
12 [ENOENT] = N_("No such file or directory"),
13 #endif
14 #ifdef ESRCH
15 [ESRCH] = N_("No such process"),
16 #endif
17 #ifdef EINTR
18 [EINTR] = N_("Interrupted system call"),
19 #endif
20 #ifdef EIO
21 [EIO] = N_("Input/output error"),
22 #endif
23 #ifdef ENXIO
24 [ENXIO] = N_("Device not configured"),
25 #endif
26 #ifdef E2BIG
27 [E2BIG] = N_("Argument list too long"),
28 #endif
29 #ifdef ENOEXEC
30 [ENOEXEC] = N_("Exec format error"),
31 #endif
32 #ifdef EBADF
33 [EBADF] = N_("Bad file descriptor"),
34 #endif
35 #ifdef ECHILD
36 [ECHILD] = N_("No child processes"),
37 #endif
38 #ifdef EDEADLK
39 [EDEADLK] = N_("Resource deadlock avoided"),
40 #endif
41 #ifdef ENOMEM
42 [ENOMEM] = N_("Cannot allocate memory"),
43 #endif
44 #ifdef EACCES
45 [EACCES] = N_("Permission denied"),
46 #endif
47 #ifdef EFAULT
48 [EFAULT] = N_("Bad address"),
49 #endif
50 #ifdef ENOTBLK
51 [ENOTBLK] = N_("Block device required"),
52 #endif
53 #ifdef EBUSY
54 [EBUSY] = N_("Device or resource busy"),
55 #endif
56 #ifdef EEXIST
57 [EEXIST] = N_("File exists"),
58 #endif
59 #ifdef EXDEV
60 [EXDEV] = N_("Invalid cross-device link"),
61 #endif
62 #ifdef ENODEV
63 [ENODEV] = N_("Operation not supported by device"),
64 #endif
65 #ifdef ENOTDIR
66 [ENOTDIR] = N_("Not a directory"),
67 #endif
68 #ifdef EISDIR
69 [EISDIR] = N_("Is a directory"),
70 #endif
71 #ifdef EINVAL
72 [EINVAL] = N_("Invalid argument"),
73 #endif
74 #ifdef EMFILE
75 [EMFILE] = N_("Too many open files"),
76 #endif
77 #ifdef ENFILE
78 [ENFILE] = N_("Too many open files in system"),
79 #endif
80 #ifdef ENOTTY
81 [ENOTTY] = N_("Inappropriate ioctl for device"),
82 #endif
83 #ifdef ETXTBSY
84 [ETXTBSY] = N_("Text file busy"),
85 #endif
86 #ifdef EFBIG
87 [EFBIG] = N_("File too large"),
88 #endif
89 #ifdef ENOSPC
90 [ENOSPC] = N_("No space left on device"),
91 #endif
92 #ifdef ESPIPE
93 [ESPIPE] = N_("Illegal seek"),
94 #endif
95 #ifdef EROFS
96 [EROFS] = N_("Read-only file system"),
97 #endif
98 #ifdef EMLINK
99 [EMLINK] = N_("Too many links"),
100 #endif
101 #ifdef EPIPE
102 [EPIPE] = N_("Broken pipe"),
103 #endif
104 #ifdef EDOM
105 [EDOM] = N_("Numerical argument out of domain"),
106 #endif
107 #ifdef ERANGE
108 [ERANGE] = N_("Numerical result out of range"),
109 #endif
110 #ifdef EAGAIN
111 [EAGAIN] = N_("Resource temporarily unavailable"),
112 #endif
113 #if defined (EWOULDBLOCK) && EWOULDBLOCK != EAGAIN
114 [EWOULDBLOCK] = N_("Operation would block"),
115 #endif
116 #ifdef EINPROGRESS
117 [EINPROGRESS] = N_("Operation now in progress"),
118 #endif
119 #ifdef EALREADY
120 [EALREADY] = N_("Operation already in progress"),
121 #endif
122 #ifdef ENOTSOCK
123 [ENOTSOCK] = N_("Socket operation on non-socket"),
124 #endif
125 #ifdef EMSGSIZE
126 [EMSGSIZE] = N_("Message too long"),
127 #endif
128 #ifdef EPROTOTYPE
129 [EPROTOTYPE] = N_("Protocol wrong type for socket"),
130 #endif
131 #ifdef ENOPROTOOPT
132 [ENOPROTOOPT] = N_("Protocol not available"),
133 #endif
134 #ifdef EPROTONOSUPPORT
135 [EPROTONOSUPPORT] = N_("Protocol not supported"),
136 #endif
137 #ifdef ESOCKTNOSUPPORT
138 [ESOCKTNOSUPPORT] = N_("Socket type not supported"),
139 #endif
140 #ifdef EOPNOTSUPP
141 [EOPNOTSUPP] = N_("Operation not supported"),
142 #endif
143 #ifdef EPFNOSUPPORT
144 [EPFNOSUPPORT] = N_("Protocol family not supported"),
145 #endif
146 #ifdef EAFNOSUPPORT
147 [EAFNOSUPPORT] = N_("Address family not supported by protocol"),
148 #endif
149 #ifdef EADDRINUSE
150 [EADDRINUSE] = N_("Address already in use"),
151 #endif
152 #ifdef EADDRNOTAVAIL
153 [EADDRNOTAVAIL] = N_("Cannot assign requested address"),
154 #endif
155 #ifdef ENETDOWN
156 [ENETDOWN] = N_("Network is down"),
157 #endif
158 #ifdef ENETUNREACH
159 [ENETUNREACH] = N_("Network is unreachable"),
160 #endif
161 #ifdef ENETRESET
162 [ENETRESET] = N_("Network dropped connection on reset"),
163 #endif
164 #ifdef ECONNABORTED
165 [ECONNABORTED] = N_("Software caused connection abort"),
166 #endif
167 #ifdef ECONNRESET
168 [ECONNRESET] = N_("Connection reset by peer"),
169 #endif
170 #ifdef ENOBUFS
171 [ENOBUFS] = N_("No buffer space available"),
172 #endif
173 #ifdef EISCONN
174 [EISCONN] = N_("Transport endpoint is already connected"),
175 #endif
176 #ifdef ENOTCONN
177 [ENOTCONN] = N_("Transport endpoint is not connected"),
178 #endif
179 #ifdef EDESTADDRREQ
180 [EDESTADDRREQ] = N_("Destination address required"),
181 #endif
182 #ifdef ESHUTDOWN
183 [ESHUTDOWN] = N_("Cannot send after transport endpoint shutdown"),
184 #endif
185 #ifdef ETOOMANYREFS
186 [ETOOMANYREFS] = N_("Too many references: cannot splice"),
187 #endif
188 #ifdef ETIMEDOUT
189 [ETIMEDOUT] = N_("Connection timed out"),
190 #endif
191 #ifdef ECONNREFUSED
192 [ECONNREFUSED] = N_("Connection refused"),
193 #endif
194 #ifdef ELOOP
195 [ELOOP] = N_("Too many levels of symbolic links"),
196 #endif
197 #ifdef ENAMETOOLONG
198 [ENAMETOOLONG] = N_("File name too long"),
199 #endif
200 #ifdef EHOSTDOWN
201 [EHOSTDOWN] = N_("Host is down"),
202 #endif
203 #ifdef EHOSTUNREACH
204 [EHOSTUNREACH] = N_("No route to host"),
205 #endif
206 #ifdef ENOTEMPTY
207 [ENOTEMPTY] = N_("Directory not empty"),
208 #endif
209 #ifdef EPROCLIM
210 [EPROCLIM] = N_("Too many processes"),
211 #endif
212 #ifdef EUSERS
213 [EUSERS] = N_("Too many users"),
214 #endif
215 #ifdef EDQUOT
216 [EDQUOT] = N_("Disc quota exceeded"),
217 #endif
218 #ifdef ESTALE
219 [ESTALE] = N_("Stale NFS file handle"),
220 #endif
221 #ifdef EREMOTE
222 [EREMOTE] = N_("Object is remote"),
223 #endif
224 #ifdef EBADRPC
225 [EBADRPC] = N_("RPC struct is bad"),
226 #endif
227 #ifdef ERPCMISMATCH
228 [ERPCMISMATCH] = N_("RPC version wrong"),
229 #endif
230 #ifdef EPROGUNAVAIL
231 [EPROGUNAVAIL] = N_("RPC program not available"),
232 #endif
233 #ifdef EPROGMISMATCH
234 [EPROGMISMATCH] = N_("RPC program version wrong"),
235 #endif
236 #ifdef EPROCUNAVAIL
237 [EPROCUNAVAIL] = N_("RPC bad procedure for program"),
238 #endif
239 #ifdef ENOLCK
240 [ENOLCK] = N_("No locks available"),
241 #endif
242 #ifdef EFTYPE
243 [EFTYPE] = N_("Inappropriate file type or format"),
244 #endif
245 #ifdef EAUTH
246 [EAUTH] = N_("Authentication error"),
247 #endif
248 #ifdef ENEEDAUTH
249 [ENEEDAUTH] = N_("Need authenticator"),
250 #endif
251 #ifdef ENOSYS
252 [ENOSYS] = N_("Function not implemented"),
253 #endif
254 #ifdef EILSEQ
255 [EILSEQ] = N_("Invalid or incomplete multibyte or wide character"),
256 #endif
257 #ifdef EBACKGROUND
258 [EBACKGROUND] = N_("Inappropriate operation for background process"),
259 #endif
260 #ifdef EDIED
261 [EDIED] = N_("Translator died"),
262 #endif
263 #ifdef ED
264 [ED] = N_("?"),
265 #endif
266 #ifdef EGREGIOUS
267 [EGREGIOUS] = N_("You really blew it this time"),
268 #endif
269 #ifdef EIEIO
270 [EIEIO] = N_("Computer bought the farm"),
271 #endif
272 #ifdef EGRATUITOUS
273 [EGRATUITOUS] = N_("Gratuitous error"),
274 #endif
275 #ifdef ERESTART
276 [ERESTART] = N_("Interrupted system call should be restarted"),
277 #endif
278 #ifdef ENOMSG
279 [ENOMSG] = N_("No message of desired type"),
280 #endif
281 #ifdef EIDRM
282 [EIDRM] = N_("Identifier removed"),
283 #endif
284 #ifdef ECHRNG
285 [ECHRNG] = N_("Channel number out of range"),
286 #endif
287 #ifdef EL2NSYNC
288 [EL2NSYNC] = N_("Level 2 not synchronized"),
289 #endif
290 #ifdef EL3HLT
291 [EL3HLT] = N_("Level 3 halted"),
292 #endif
293 #ifdef EL3RST
294 [EL3RST] = N_("Level 3 reset"),
295 #endif
296 #ifdef ELNRNG
297 [ELNRNG] = N_("Link number out of range"),
298 #endif
299 #ifdef EUNATCH
300 [EUNATCH] = N_("Protocol driver not attached"),
301 #endif
302 #ifdef ENOCSI
303 [ENOCSI] = N_("No CSI structure available"),
304 #endif
305 #ifdef EL2HLT
306 [EL2HLT] = N_("Level 2 halted"),
307 #endif
308 #ifdef EBADE
309 [EBADE] = N_("Invalid exchange"),
310 #endif
311 #ifdef EBADR
312 [EBADR] = N_("Invalid request descriptor"),
313 #endif
314 #ifdef EXFULL
315 [EXFULL] = N_("Exchange full"),
316 #endif
317 #ifdef ENOANO
318 [ENOANO] = N_("No anode"),
319 #endif
320 #ifdef EBADRQC
321 [EBADRQC] = N_("Invalid request code"),
322 #endif
323 #ifdef EBADSLT
324 [EBADSLT] = N_("Invalid slot"),
325 #endif
326 #ifdef EDEADLOCK
327 [EDEADLOCK] = N_("File locking deadlock error"),
328 #endif
329 #ifdef EBFONT
330 [EBFONT] = N_("Bad font file format"),
331 #endif
332 #ifdef ENOSTR
333 [ENOSTR] = N_("Device not a stream"),
334 #endif
335 #ifdef ENODATA
336 [ENODATA] = N_("No data available"),
337 #endif
338 #ifdef ETIME
339 [ETIME] = N_("Timer expired"),
340 #endif
341 #ifdef ENOSR
342 [ENOSR] = N_("Out of streams resources"),
343 #endif
344 #ifdef ENONET
345 [ENONET] = N_("Machine is not on the network"),
346 #endif
347 #ifdef ENOPKG
348 [ENOPKG] = N_("Package not installed"),
349 #endif
350 #ifdef ENOLINK
351 [ENOLINK] = N_("Link has been severed"),
352 #endif
353 #ifdef EADV
354 [EADV] = N_("Advertise error"),
355 #endif
356 #ifdef ESRMNT
357 [ESRMNT] = N_("Srmount error"),
358 #endif
359 #ifdef ECOMM
360 [ECOMM] = N_("Communication error on send"),
361 #endif
362 #ifdef EPROTO
363 [EPROTO] = N_("Protocol error"),
364 #endif
365 #ifdef EMULTIHOP
366 [EMULTIHOP] = N_("Multihop attempted"),
367 #endif
368 #ifdef EDOTDOT
369 [EDOTDOT] = N_("RFS specific error"),
370 #endif
371 #ifdef EBADMSG
372 [EBADMSG] = N_("Not a data message"),
373 #endif
374 #ifdef EOVERFLOW
375 [EOVERFLOW] = N_("Value too large for defined data type"),
376 #endif
377 #ifdef ENOTUNIQ
378 [ENOTUNIQ] = N_("Name not unique on network"),
379 #endif
380 #ifdef EBADFD
381 [EBADFD] = N_("File descriptor in bad state"),
382 #endif
383 #ifdef EREMCHG
384 [EREMCHG] = N_("Remote address changed"),
385 #endif
386 #ifdef ELIBACC
387 [ELIBACC] = N_("Can not access a needed shared library"),
388 #endif
389 #ifdef ELIBBAD
390 [ELIBBAD] = N_("Accessing a corrupted shared library"),
391 #endif
392 #ifdef ELIBSCN
393 [ELIBSCN] = N_(".lib section in a.out corrupted"),
394 #endif
395 #ifdef ELIBMAX
396 [ELIBMAX] = N_("Attempting to link in too many shared libraries"),
397 #endif
398 #ifdef ELIBEXEC
399 [ELIBEXEC] = N_("Cannot exec a shared library directly"),
400 #endif
401 #ifdef ESTRPIPE
402 [ESTRPIPE] = N_("Streams pipe error"),
403 #endif
404 #ifdef EUCLEAN
405 [EUCLEAN] = N_("Structure needs cleaning"),
406 #endif
407 #ifdef ENOTNAM
408 [ENOTNAM] = N_("Not a XENIX named type file"),
409 #endif
410 #ifdef ENAVAIL
411 [ENAVAIL] = N_("No XENIX semaphores available"),
412 #endif
413 #ifdef EISNAM
414 [EISNAM] = N_("Is a named type file"),
415 #endif
416 #ifdef EREMOTEIO
417 [EREMOTEIO] = N_("Remote I/O error"),
418 #endif
421 const int _sys_nerr = sizeof _sys_errlist / sizeof _sys_errlist[0];
422 weak_alias (_sys_errlist, sys_errlist)
423 weak_alias (_sys_nerr, sys_nerr)