update from main archive 961001
[glibc.git] / sysdeps / gnu / errlist.c
blob3e62c5f127e05d38e77c6e21277b9f68dd823eee
1 /* This file is generated from errno.texi by errlist.awk. */
3 #include <errno.h>
5 const char *const _sys_errlist[] =
7 [0] = N_("Success"),
8 #ifdef EPERM
9 /*
10 TRANS Operation not permitted; only the owner of the file (or other resource)
11 TRANS or processes with special privileges can perform the operation. */
12 [EPERM] = N_("Operation not permitted"),
13 #endif
14 #ifdef ENOENT
16 TRANS No such file or directory. This is a ``file doesn't exist'' error
17 TRANS for ordinary files that are referenced in contexts where they are
18 TRANS expected to already exist. */
19 [ENOENT] = N_("No such file or directory"),
20 #endif
21 #ifdef ESRCH
23 TRANS No process matches the specified process ID. */
24 [ESRCH] = N_("No such process"),
25 #endif
26 #ifdef EINTR
28 TRANS Interrupted function call; an asynchronous signal occured and prevented
29 TRANS completion of the call. When this happens, you should try the call
30 TRANS again.
31 TRANS
32 TRANS You can choose to have functions resume after a signal that is handled,
33 TRANS rather than failing with @code{EINTR}; see @ref{Interrupted
34 TRANS Primitives}. */
35 [EINTR] = N_("Interrupted system call"),
36 #endif
37 #ifdef EIO
39 TRANS Input/output error; usually used for physical read or write errors. */
40 [EIO] = N_("Input/output error"),
41 #endif
42 #ifdef ENXIO
44 TRANS No such device or address. The system tried to use the device
45 TRANS represented by a file you specified, and it couldn't find the device.
46 TRANS This can mean that the device file was installed incorrectly, or that
47 TRANS the physical device is missing or not correctly attached to the
48 TRANS computer. */
49 [ENXIO] = N_("Device not configured"),
50 #endif
51 #ifdef E2BIG
53 TRANS Argument list too long; used when the arguments passed to a new program
54 TRANS being executed with one of the @code{exec} functions (@pxref{Executing a
55 TRANS File}) occupy too much memory space. This condition never arises in the
56 TRANS GNU system. */
57 [E2BIG] = N_("Argument list too long"),
58 #endif
59 #ifdef ENOEXEC
61 TRANS Invalid executable file format. This condition is detected by the
62 TRANS @code{exec} functions; see @ref{Executing a File}. */
63 [ENOEXEC] = N_("Exec format error"),
64 #endif
65 #ifdef EBADF
67 TRANS Bad file descriptor; for example, I/O on a descriptor that has been
68 TRANS closed or reading from a descriptor open only for writing (or vice
69 TRANS versa). */
70 [EBADF] = N_("Bad file descriptor"),
71 #endif
72 #ifdef ECHILD
74 TRANS There are no child processes. This error happens on operations that are
75 TRANS supposed to manipulate child processes, when there aren't any processes
76 TRANS to manipulate. */
77 [ECHILD] = N_("No child processes"),
78 #endif
79 #ifdef EDEADLK
81 TRANS Deadlock avoided; allocating a system resource would have resulted in a
82 TRANS deadlock situation. The system does not guarantee that it will notice
83 TRANS all such situations. This error means you got lucky and the system
84 TRANS noticed; it might just hang. @xref{File Locks}, for an example. */
85 [EDEADLK] = N_("Resource deadlock avoided"),
86 #endif
87 #ifdef ENOMEM
89 TRANS No memory available. The system cannot allocate more virtual memory
90 TRANS because its capacity is full. */
91 [ENOMEM] = N_("Cannot allocate memory"),
92 #endif
93 #ifdef EACCES
95 TRANS Permission denied; the file permissions do not allow the attempted operation. */
96 [EACCES] = N_("Permission denied"),
97 #endif
98 #ifdef EFAULT
100 TRANS Bad address; an invalid pointer was detected.
101 TRANS In the GNU system, this error never happens; you get a signal instead. */
102 [EFAULT] = N_("Bad address"),
103 #endif
104 #ifdef ENOTBLK
106 TRANS A file that isn't a block special file was given in a situation that
107 TRANS requires one. For example, trying to mount an ordinary file as a file
108 TRANS system in Unix gives this error. */
109 [ENOTBLK] = N_("Block device required"),
110 #endif
111 #ifdef EBUSY
113 TRANS Resource busy; a system resource that can't be shared is already in use.
114 TRANS For example, if you try to delete a file that is the root of a currently
115 TRANS mounted filesystem, you get this error. */
116 [EBUSY] = N_("Device or resource busy"),
117 #endif
118 #ifdef EEXIST
120 TRANS File exists; an existing file was specified in a context where it only
121 TRANS makes sense to specify a new file. */
122 [EEXIST] = N_("File exists"),
123 #endif
124 #ifdef EXDEV
126 TRANS An attempt to make an improper link across file systems was detected.
127 TRANS This happens not only when you use @code{link} (@pxref{Hard Links}) but
128 TRANS also when you rename a file with @code{rename} (@pxref{Renaming Files}). */
129 [EXDEV] = N_("Invalid cross-device link"),
130 #endif
131 #ifdef ENODEV
133 TRANS The wrong type of device was given to a function that expects a
134 TRANS particular sort of device. */
135 [ENODEV] = N_("Operation not supported by device"),
136 #endif
137 #ifdef ENOTDIR
139 TRANS A file that isn't a directory was specified when a directory is required. */
140 [ENOTDIR] = N_("Not a directory"),
141 #endif
142 #ifdef EISDIR
144 TRANS File is a directory; you cannot open a directory for writing,
145 TRANS or create or remove hard links to it. */
146 [EISDIR] = N_("Is a directory"),
147 #endif
148 #ifdef EINVAL
150 TRANS Invalid argument. This is used to indicate various kinds of problems
151 TRANS with passing the wrong argument to a library function. */
152 [EINVAL] = N_("Invalid argument"),
153 #endif
154 #ifdef EMFILE
156 TRANS The current process has too many files open and can't open any more.
157 TRANS Duplicate descriptors do count toward this limit.
158 TRANS
159 TRANS In BSD and GNU, the number of open files is controlled by a resource
160 TRANS limit that can usually be increased. If you get this error, you might
161 TRANS want to increase the @code{RLIMIT_NOFILE} limit or make it unlimited;
162 TRANS @pxref{Limits on Resources}. */
163 [EMFILE] = N_("Too many open files"),
164 #endif
165 #ifdef ENFILE
167 TRANS There are too many distinct file openings in the entire system. Note
168 TRANS that any number of linked channels count as just one file opening; see
169 TRANS @ref{Linked Channels}. This error never occurs in the GNU system. */
170 [ENFILE] = N_("Too many open files in system"),
171 #endif
172 #ifdef ENOTTY
174 TRANS Inappropriate I/O control operation, such as trying to set terminal
175 TRANS modes on an ordinary file. */
176 [ENOTTY] = N_("Inappropriate ioctl for device"),
177 #endif
178 #ifdef ETXTBSY
180 TRANS An attempt to execute a file that is currently open for writing, or
181 TRANS write to a file that is currently being executed. Often using a
182 TRANS debugger to run a program is considered having it open for writing and
183 TRANS will cause this error. (The name stands for ``text file busy''.) This
184 TRANS is not an error in the GNU system; the text is copied as necessary. */
185 [ETXTBSY] = N_("Text file busy"),
186 #endif
187 #ifdef EFBIG
189 TRANS File too big; the size of a file would be larger than allowed by the system. */
190 [EFBIG] = N_("File too large"),
191 #endif
192 #ifdef ENOSPC
194 TRANS No space left on device; write operation on a file failed because the
195 TRANS disk is full. */
196 [ENOSPC] = N_("No space left on device"),
197 #endif
198 #ifdef ESPIPE
200 TRANS Invalid seek operation (such as on a pipe). */
201 [ESPIPE] = N_("Illegal seek"),
202 #endif
203 #ifdef EROFS
205 TRANS An attempt was made to modify something on a read-only file system. */
206 [EROFS] = N_("Read-only file system"),
207 #endif
208 #ifdef EMLINK
210 TRANS Too many links; the link count of a single file would become too large.
211 TRANS @code{rename} can cause this error if the file being renamed already has
212 TRANS as many links as it can take (@pxref{Renaming Files}). */
213 [EMLINK] = N_("Too many links"),
214 #endif
215 #ifdef EPIPE
217 TRANS Broken pipe; there is no process reading from the other end of a pipe.
218 TRANS Every library function that returns this error code also generates a
219 TRANS @code{SIGPIPE} signal; this signal terminates the program if not handled
220 TRANS or blocked. Thus, your program will never actually see @code{EPIPE}
221 TRANS unless it has handled or blocked @code{SIGPIPE}. */
222 [EPIPE] = N_("Broken pipe"),
223 #endif
224 #ifdef EDOM
226 TRANS Domain error; used by mathematical functions when an argument value does
227 TRANS not fall into the domain over which the function is defined. */
228 [EDOM] = N_("Numerical argument out of domain"),
229 #endif
230 #ifdef ERANGE
232 TRANS Range error; used by mathematical functions when the result value is
233 TRANS not representable because of overflow or underflow. */
234 [ERANGE] = N_("Numerical result out of range"),
235 #endif
236 #ifdef EAGAIN
238 TRANS Resource temporarily unavailable; the call might work if you try again
239 TRANS later. The macro @code{EWOULDBLOCK} is another name for @code{EAGAIN};
240 TRANS they are always the same in the GNU C library.
241 TRANS
242 TRANS This error can happen in a few different situations:
243 TRANS
244 TRANS @itemize @bullet
245 TRANS @item
246 TRANS An operation that would block was attempted on an object that has
247 TRANS non-blocking mode selected. Trying the same operation again will block
248 TRANS until some external condition makes it possible to read, write, or
249 TRANS connect (whatever the operation). You can use @code{select} to find out
250 TRANS when the operation will be possible; @pxref{Waiting for I/O}.
251 TRANS
252 TRANS @strong{Portability Note:} In older Unix many systems, this condition
253 TRANS was indicated by @code{EWOULDBLOCK}, which was a distinct error code
254 TRANS different from @code{EAGAIN}. To make your program portable, you should
255 TRANS check for both codes and treat them the same.
256 TRANS
257 TRANS @item
258 TRANS A temporary resource shortage made an operation impossible. @code{fork}
259 TRANS can return this error. It indicates that the shortage is expected to
260 TRANS pass, so your program can try the call again later and it may succeed.
261 TRANS It is probably a good idea to delay for a few seconds before trying it
262 TRANS again, to allow time for other processes to release scarce resources.
263 TRANS Such shortages are usually fairly serious and affect the whole system,
264 TRANS so usually an interactive program should report the error to the user
265 TRANS and return to its command loop.
266 TRANS @end itemize */
267 [EAGAIN] = N_("Resource temporarily unavailable"),
268 #endif
269 #if defined (EWOULDBLOCK) && EWOULDBLOCK != EAGAIN
271 TRANS In the GNU C library, this is another name for @code{EAGAIN} (above).
272 TRANS The values are always the same, on every operating system.
273 TRANS
274 TRANS C libraries in many older Unix systems have @code{EWOULDBLOCK} as a
275 TRANS separate error code. */
276 [EWOULDBLOCK] = N_("Operation would block"),
277 #endif
278 #ifdef EINPROGRESS
280 TRANS An operation that cannot complete immediately was initiated on an object
281 TRANS that has non-blocking mode selected. Some functions that must always
282 TRANS block (such as @code{connect}; @pxref{Connecting}) never return
283 TRANS @code{EAGAIN}. Instead, they return @code{EINPROGRESS} to indicate that
284 TRANS the operation has begun and will take some time. Attempts to manipulate
285 TRANS the object before the call completes return @code{EALREADY}. You can
286 TRANS use the @code{select} function to find out when the pending operation
287 TRANS has completed; @pxref{Waiting for I/O}. */
288 [EINPROGRESS] = N_("Operation now in progress"),
289 #endif
290 #ifdef EALREADY
292 TRANS An operation is already in progress on an object that has non-blocking
293 TRANS mode selected. */
294 [EALREADY] = N_("Operation already in progress"),
295 #endif
296 #ifdef ENOTSOCK
298 TRANS A file that isn't a socket was specified when a socket is required. */
299 [ENOTSOCK] = N_("Socket operation on non-socket"),
300 #endif
301 #ifdef EMSGSIZE
303 TRANS The size of a message sent on a socket was larger than the supported
304 TRANS maximum size. */
305 [EMSGSIZE] = N_("Message too long"),
306 #endif
307 #ifdef EPROTOTYPE
309 TRANS The socket type does not support the requested communications protocol. */
310 [EPROTOTYPE] = N_("Protocol wrong type for socket"),
311 #endif
312 #ifdef ENOPROTOOPT
314 TRANS You specified a socket option that doesn't make sense for the
315 TRANS particular protocol being used by the socket. @xref{Socket Options}. */
316 [ENOPROTOOPT] = N_("Protocol not available"),
317 #endif
318 #ifdef EPROTONOSUPPORT
320 TRANS The socket domain does not support the requested communications protocol
321 TRANS (perhaps because the requested protocol is completely invalid.)
322 TRANS @xref{Creating a Socket}. */
323 [EPROTONOSUPPORT] = N_("Protocol not supported"),
324 #endif
325 #ifdef ESOCKTNOSUPPORT
327 TRANS The socket type is not supported. */
328 [ESOCKTNOSUPPORT] = N_("Socket type not supported"),
329 #endif
330 #ifdef EOPNOTSUPP
332 TRANS The operation you requested is not supported. Some socket functions
333 TRANS don't make sense for all types of sockets, and others may not be
334 TRANS implemented for all communications protocols. In the GNU system, this
335 TRANS error can happen for many calls when the object does not support the
336 TRANS particular operation; it is a generic indication that the server knows
337 TRANS nothing to do for that call. */
338 [EOPNOTSUPP] = N_("Operation not supported"),
339 #endif
340 #ifdef EPFNOSUPPORT
342 TRANS The socket communications protocol family you requested is not supported. */
343 [EPFNOSUPPORT] = N_("Protocol family not supported"),
344 #endif
345 #ifdef EAFNOSUPPORT
347 TRANS The address family specified for a socket is not supported; it is
348 TRANS inconsistent with the protocol being used on the socket. @xref{Sockets}. */
349 [EAFNOSUPPORT] = N_("Address family not supported by protocol"),
350 #endif
351 #ifdef EADDRINUSE
353 TRANS The requested socket address is already in use. @xref{Socket Addresses}. */
354 [EADDRINUSE] = N_("Address already in use"),
355 #endif
356 #ifdef EADDRNOTAVAIL
358 TRANS The requested socket address is not available; for example, you tried
359 TRANS to give a socket a name that doesn't match the local host name.
360 TRANS @xref{Socket Addresses}. */
361 [EADDRNOTAVAIL] = N_("Cannot assign requested address"),
362 #endif
363 #ifdef ENETDOWN
365 TRANS A socket operation failed because the network was down. */
366 [ENETDOWN] = N_("Network is down"),
367 #endif
368 #ifdef ENETUNREACH
370 TRANS A socket operation failed because the subnet containing the remote host
371 TRANS was unreachable. */
372 [ENETUNREACH] = N_("Network is unreachable"),
373 #endif
374 #ifdef ENETRESET
376 TRANS A network connection was reset because the remote host crashed. */
377 [ENETRESET] = N_("Network dropped connection on reset"),
378 #endif
379 #ifdef ECONNABORTED
381 TRANS A network connection was aborted locally. */
382 [ECONNABORTED] = N_("Software caused connection abort"),
383 #endif
384 #ifdef ECONNRESET
386 TRANS A network connection was closed for reasons outside the control of the
387 TRANS local host, such as by the remote machine rebooting or an unrecoverable
388 TRANS protocol violation. */
389 [ECONNRESET] = N_("Connection reset by peer"),
390 #endif
391 #ifdef ENOBUFS
393 TRANS The kernel's buffers for I/O operations are all in use. In GNU, this
394 TRANS error is always synonymous with @code{ENOMEM}; you may get one or the
395 TRANS other from network operations. */
396 [ENOBUFS] = N_("No buffer space available"),
397 #endif
398 #ifdef EISCONN
400 TRANS You tried to connect a socket that is already connected.
401 TRANS @xref{Connecting}. */
402 [EISCONN] = N_("Transport endpoint is already connected"),
403 #endif
404 #ifdef ENOTCONN
406 TRANS The socket is not connected to anything. You get this error when you
407 TRANS try to transmit data over a socket, without first specifying a
408 TRANS destination for the data. For a connectionless socket (for datagram
409 TRANS protocols, such as UDP), you get @code{EDESTADDRREQ} instead. */
410 [ENOTCONN] = N_("Transport endpoint is not connected"),
411 #endif
412 #ifdef EDESTADDRREQ
414 TRANS No default destination address was set for the socket. You get this
415 TRANS error when you try to transmit data over a connectionless socket,
416 TRANS without first specifying a destination for the data with @code{connect}. */
417 [EDESTADDRREQ] = N_("Destination address required"),
418 #endif
419 #ifdef ESHUTDOWN
421 TRANS The socket has already been shut down. */
422 [ESHUTDOWN] = N_("Cannot send after transport endpoint shutdown"),
423 #endif
424 #ifdef ETOOMANYREFS
426 TRANS ??? */
427 [ETOOMANYREFS] = N_("Too many references: cannot splice"),
428 #endif
429 #ifdef ETIMEDOUT
431 TRANS A socket operation with a specified timeout received no response during
432 TRANS the timeout period. */
433 [ETIMEDOUT] = N_("Connection timed out"),
434 #endif
435 #ifdef ECONNREFUSED
437 TRANS A remote host refused to allow the network connection (typically because
438 TRANS it is not running the requested service). */
439 [ECONNREFUSED] = N_("Connection refused"),
440 #endif
441 #ifdef ELOOP
443 TRANS Too many levels of symbolic links were encountered in looking up a file name.
444 TRANS This often indicates a cycle of symbolic links. */
445 [ELOOP] = N_("Too many levels of symbolic links"),
446 #endif
447 #ifdef ENAMETOOLONG
449 TRANS Filename too long (longer than @code{PATH_MAX}; @pxref{Limits for
450 TRANS Files}) or host name too long (in @code{gethostname} or
451 TRANS @code{sethostname}; @pxref{Host Identification}). */
452 [ENAMETOOLONG] = N_("File name too long"),
453 #endif
454 #ifdef EHOSTDOWN
456 TRANS The remote host for a requested network connection is down. */
457 [EHOSTDOWN] = N_("Host is down"),
458 #endif
459 #ifdef EHOSTUNREACH
461 TRANS The remote host for a requested network connection is not reachable. */
462 [EHOSTUNREACH] = N_("No route to host"),
463 #endif
464 #ifdef ENOTEMPTY
466 TRANS Directory not empty, where an empty directory was expected. Typically,
467 TRANS this error occurs when you are trying to delete a directory. */
468 [ENOTEMPTY] = N_("Directory not empty"),
469 #endif
470 #ifdef EPROCLIM
472 TRANS This means that the per-user limit on new process would be exceeded by
473 TRANS an attempted @code{fork}. @xref{Limits on Resources}, for details on
474 TRANS the @code{RLIMIT_NPROC} limit. */
475 [EPROCLIM] = N_("Too many processes"),
476 #endif
477 #ifdef EUSERS
479 TRANS The file quota system is confused because there are too many users.
480 TRANS @c This can probably happen in a GNU system when using NFS. */
481 [EUSERS] = N_("Too many users"),
482 #endif
483 #ifdef EDQUOT
485 TRANS The user's disk quota was exceeded. */
486 [EDQUOT] = N_("Disc quota exceeded"),
487 #endif
488 #ifdef ESTALE
490 TRANS Stale NFS file handle. This indicates an internal confusion in the NFS
491 TRANS system which is due to file system rearrangements on the server host.
492 TRANS Repairing this condition usually requires unmounting and remounting
493 TRANS the NFS file system on the local host. */
494 [ESTALE] = N_("Stale NFS file handle"),
495 #endif
496 #ifdef EREMOTE
498 TRANS An attempt was made to NFS-mount a remote file system with a file name that
499 TRANS already specifies an NFS-mounted file.
500 TRANS (This is an error on some operating systems, but we expect it to work
501 TRANS properly on the GNU system, making this error code impossible.) */
502 [EREMOTE] = N_("Object is remote"),
503 #endif
504 #ifdef EBADRPC
506 TRANS ??? */
507 [EBADRPC] = N_("RPC struct is bad"),
508 #endif
509 #ifdef ERPCMISMATCH
511 TRANS ??? */
512 [ERPCMISMATCH] = N_("RPC version wrong"),
513 #endif
514 #ifdef EPROGUNAVAIL
516 TRANS ??? */
517 [EPROGUNAVAIL] = N_("RPC program not available"),
518 #endif
519 #ifdef EPROGMISMATCH
521 TRANS ??? */
522 [EPROGMISMATCH] = N_("RPC program version wrong"),
523 #endif
524 #ifdef EPROCUNAVAIL
526 TRANS ??? */
527 [EPROCUNAVAIL] = N_("RPC bad procedure for program"),
528 #endif
529 #ifdef ENOLCK
531 TRANS No locks available. This is used by the file locking facilities; see
532 TRANS @ref{File Locks}. This error is never generated by the GNU system, but
533 TRANS it can result from an operation to an NFS server running another
534 TRANS operating system. */
535 [ENOLCK] = N_("No locks available"),
536 #endif
537 #ifdef EFTYPE
539 TRANS Inappropriate file type or format. The file was the wrong type for the
540 TRANS operation, or a data file had the wrong format.
541 TRANS
542 TRANS On some systems @code{chmod} returns this error if you try to set the
543 TRANS sticky bit on a non-directory file; @pxref{Setting Permissions}. */
544 [EFTYPE] = N_("Inappropriate file type or format"),
545 #endif
546 #ifdef EAUTH
548 TRANS ??? */
549 [EAUTH] = N_("Authentication error"),
550 #endif
551 #ifdef ENEEDAUTH
553 TRANS ??? */
554 [ENEEDAUTH] = N_("Need authenticator"),
555 #endif
556 #ifdef ENOSYS
558 TRANS Function not implemented. Some functions have commands or options defined
559 TRANS that might not be supported in all implementations, and this is the kind
560 TRANS of error you get if you request them and they are not supported. */
561 [ENOSYS] = N_("Function not implemented"),
562 #endif
563 #ifdef EILSEQ
565 TRANS While decoding a multibyte character the function came along an invalid
566 TRANS or an incomplete sequence of bytes or the given wide character is invalid. */
567 [EILSEQ] = N_("Invalid or incomplete multibyte or wide character"),
568 #endif
569 #ifdef EBACKGROUND
571 TRANS In the GNU system, servers supporting the @code{term} protocol return
572 TRANS this error for certain operations when the caller is not in the
573 TRANS foreground process group of the terminal. Users do not usually see this
574 TRANS error because functions such as @code{read} and @code{write} translate
575 TRANS it into a @code{SIGTTIN} or @code{SIGTTOU} signal. @xref{Job Control},
576 TRANS for information on process groups and these signals. */
577 [EBACKGROUND] = N_("Inappropriate operation for background process"),
578 #endif
579 #ifdef EDIED
581 TRANS In the GNU system, opening a file returns this error when the file is
582 TRANS translated by a program and the translator program dies while starting
583 TRANS up, before it has connected to the file. */
584 [EDIED] = N_("Translator died"),
585 #endif
586 #ifdef ED
588 TRANS The experienced user will know what is wrong.
589 TRANS @c This error code is a joke. Its perror text is part of the joke.
590 TRANS @c Don't change it. */
591 [ED] = N_("?"),
592 #endif
593 #ifdef EGREGIOUS
595 TRANS You did @strong{what}? */
596 [EGREGIOUS] = N_("You really blew it this time"),
597 #endif
598 #ifdef EIEIO
600 TRANS Go home and have a glass of warm, dairy-fresh milk. */
601 [EIEIO] = N_("Computer bought the farm"),
602 #endif
603 #ifdef EGRATUITOUS
605 TRANS This error code has no purpose. */
606 [EGRATUITOUS] = N_("Gratuitous error"),
607 #endif
608 #ifdef ERESTART
609 /* */
610 [ERESTART] = N_("Interrupted system call should be restarted"),
611 #endif
612 #ifdef ENOMSG
613 /* */
614 [ENOMSG] = N_("No message of desired type"),
615 #endif
616 #ifdef EIDRM
617 /* */
618 [EIDRM] = N_("Identifier removed"),
619 #endif
620 #ifdef ECHRNG
621 /* */
622 [ECHRNG] = N_("Channel number out of range"),
623 #endif
624 #ifdef EL2NSYNC
625 /* */
626 [EL2NSYNC] = N_("Level 2 not synchronized"),
627 #endif
628 #ifdef EL3HLT
629 /* */
630 [EL3HLT] = N_("Level 3 halted"),
631 #endif
632 #ifdef EL3RST
633 /* */
634 [EL3RST] = N_("Level 3 reset"),
635 #endif
636 #ifdef ELNRNG
637 /* */
638 [ELNRNG] = N_("Link number out of range"),
639 #endif
640 #ifdef EUNATCH
641 /* */
642 [EUNATCH] = N_("Protocol driver not attached"),
643 #endif
644 #ifdef ENOCSI
645 /* */
646 [ENOCSI] = N_("No CSI structure available"),
647 #endif
648 #ifdef EL2HLT
649 /* */
650 [EL2HLT] = N_("Level 2 halted"),
651 #endif
652 #ifdef EBADE
653 /* */
654 [EBADE] = N_("Invalid exchange"),
655 #endif
656 #ifdef EBADR
657 /* */
658 [EBADR] = N_("Invalid request descriptor"),
659 #endif
660 #ifdef EXFULL
661 /* */
662 [EXFULL] = N_("Exchange full"),
663 #endif
664 #ifdef ENOANO
665 /* */
666 [ENOANO] = N_("No anode"),
667 #endif
668 #ifdef EBADRQC
669 /* */
670 [EBADRQC] = N_("Invalid request code"),
671 #endif
672 #ifdef EBADSLT
673 /* */
674 [EBADSLT] = N_("Invalid slot"),
675 #endif
676 #if defined (EDEADLOCK) && EDEADLOCK != EDEADLK
677 /* */
678 [EDEADLOCK] = N_("File locking deadlock error"),
679 #endif
680 #ifdef EBFONT
681 /* */
682 [EBFONT] = N_("Bad font file format"),
683 #endif
684 #ifdef ENOSTR
685 /* */
686 [ENOSTR] = N_("Device not a stream"),
687 #endif
688 #ifdef ENODATA
689 /* */
690 [ENODATA] = N_("No data available"),
691 #endif
692 #ifdef ETIME
693 /* */
694 [ETIME] = N_("Timer expired"),
695 #endif
696 #ifdef ENOSR
697 /* */
698 [ENOSR] = N_("Out of streams resources"),
699 #endif
700 #ifdef ENONET
701 /* */
702 [ENONET] = N_("Machine is not on the network"),
703 #endif
704 #ifdef ENOPKG
705 /* */
706 [ENOPKG] = N_("Package not installed"),
707 #endif
708 #ifdef ENOLINK
709 /* */
710 [ENOLINK] = N_("Link has been severed"),
711 #endif
712 #ifdef EADV
713 /* */
714 [EADV] = N_("Advertise error"),
715 #endif
716 #ifdef ESRMNT
717 /* */
718 [ESRMNT] = N_("Srmount error"),
719 #endif
720 #ifdef ECOMM
721 /* */
722 [ECOMM] = N_("Communication error on send"),
723 #endif
724 #ifdef EPROTO
725 /* */
726 [EPROTO] = N_("Protocol error"),
727 #endif
728 #ifdef EMULTIHOP
729 /* */
730 [EMULTIHOP] = N_("Multihop attempted"),
731 #endif
732 #ifdef EDOTDOT
733 /* */
734 [EDOTDOT] = N_("RFS specific error"),
735 #endif
736 #ifdef EBADMSG
737 /* */
738 [EBADMSG] = N_("Not a data message"),
739 #endif
740 #ifdef EOVERFLOW
741 /* */
742 [EOVERFLOW] = N_("Value too large for defined data type"),
743 #endif
744 #ifdef ENOTUNIQ
745 /* */
746 [ENOTUNIQ] = N_("Name not unique on network"),
747 #endif
748 #ifdef EBADFD
749 /* */
750 [EBADFD] = N_("File descriptor in bad state"),
751 #endif
752 #ifdef EREMCHG
753 /* */
754 [EREMCHG] = N_("Remote address changed"),
755 #endif
756 #ifdef ELIBACC
757 /* */
758 [ELIBACC] = N_("Can not access a needed shared library"),
759 #endif
760 #ifdef ELIBBAD
761 /* */
762 [ELIBBAD] = N_("Accessing a corrupted shared library"),
763 #endif
764 #ifdef ELIBSCN
765 /* */
766 [ELIBSCN] = N_(".lib section in a.out corrupted"),
767 #endif
768 #ifdef ELIBMAX
769 /* */
770 [ELIBMAX] = N_("Attempting to link in too many shared libraries"),
771 #endif
772 #ifdef ELIBEXEC
773 /* */
774 [ELIBEXEC] = N_("Cannot exec a shared library directly"),
775 #endif
776 #ifdef ESTRPIPE
777 /* */
778 [ESTRPIPE] = N_("Streams pipe error"),
779 #endif
780 #ifdef EUCLEAN
781 /* */
782 [EUCLEAN] = N_("Structure needs cleaning"),
783 #endif
784 #ifdef ENOTNAM
785 /* */
786 [ENOTNAM] = N_("Not a XENIX named type file"),
787 #endif
788 #ifdef ENAVAIL
789 /* */
790 [ENAVAIL] = N_("No XENIX semaphores available"),
791 #endif
792 #ifdef EISNAM
793 /* */
794 [EISNAM] = N_("Is a named type file"),
795 #endif
796 #ifdef EREMOTEIO
797 /* */
798 [EREMOTEIO] = N_("Remote I/O error"),
799 #endif
802 const int _sys_nerr = sizeof _sys_errlist / sizeof _sys_errlist[0];
803 weak_alias (_sys_errlist, sys_errlist)
804 weak_alias (_sys_nerr, sys_nerr)