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

source code of glibc/sysdeps/gnu/errlist.h