2020-08-31 22:53:51 +08:00
|
|
|
_S(0, N_("Success"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#ifdef EPERM
|
|
|
|
/*
|
|
|
|
TRANS Only the owner of the file (or other resource)
|
|
|
|
TRANS or processes with special privileges can perform the operation. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPERM, N_("Operation not permitted"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOENT
|
|
|
|
/*
|
|
|
|
TRANS This is a ``file doesn't exist'' error
|
|
|
|
TRANS for ordinary files that are referenced in contexts where they are
|
|
|
|
TRANS expected to already exist. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOENT, N_("No such file or directory"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ESRCH
|
|
|
|
/*
|
|
|
|
TRANS No process matches the specified process ID. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ESRCH, N_("No such process"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EINTR
|
|
|
|
/*
|
|
|
|
TRANS An asynchronous signal occurred and prevented
|
|
|
|
TRANS completion of the call. When this happens, you should try the call
|
|
|
|
TRANS again.
|
|
|
|
TRANS
|
|
|
|
TRANS You can choose to have functions resume after a signal that is handled,
|
|
|
|
TRANS rather than failing with @code{EINTR}; see @ref{Interrupted
|
|
|
|
TRANS Primitives}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EINTR, N_("Interrupted system call"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EIO
|
|
|
|
/*
|
|
|
|
TRANS Usually used for physical read or write errors. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EIO, N_("Input/output error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENXIO
|
|
|
|
/*
|
|
|
|
TRANS The system tried to use the device
|
|
|
|
TRANS represented by a file you specified, and it couldn't find the device.
|
|
|
|
TRANS This can mean that the device file was installed incorrectly, or that
|
|
|
|
TRANS the physical device is missing or not correctly attached to the
|
|
|
|
TRANS computer. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENXIO, N_("No such device or address"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef E2BIG
|
|
|
|
/*
|
|
|
|
TRANS Used when the arguments passed to a new program
|
|
|
|
TRANS being executed with one of the @code{exec} functions (@pxref{Executing a
|
|
|
|
TRANS File}) occupy too much memory space. This condition never arises on
|
|
|
|
TRANS @gnuhurdsystems{}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(E2BIG, N_("Argument list too long"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOEXEC
|
|
|
|
/*
|
|
|
|
TRANS Invalid executable file format. This condition is detected by the
|
|
|
|
TRANS @code{exec} functions; see @ref{Executing a File}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOEXEC, N_("Exec format error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBADF
|
|
|
|
/*
|
|
|
|
TRANS For example, I/O on a descriptor that has been
|
|
|
|
TRANS closed or reading from a descriptor open only for writing (or vice
|
|
|
|
TRANS versa). */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBADF, N_("Bad file descriptor"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ECHILD
|
|
|
|
/*
|
|
|
|
TRANS This error happens on operations that are
|
|
|
|
TRANS supposed to manipulate child processes, when there aren't any processes
|
|
|
|
TRANS to manipulate. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ECHILD, N_("No child processes"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EDEADLK
|
|
|
|
/*
|
|
|
|
TRANS Allocating a system resource would have resulted in a
|
|
|
|
TRANS deadlock situation. The system does not guarantee that it will notice
|
|
|
|
TRANS all such situations. This error means you got lucky and the system
|
|
|
|
TRANS noticed; it might just hang. @xref{File Locks}, for an example. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EDEADLK, N_("Resource deadlock avoided"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOMEM
|
|
|
|
/*
|
|
|
|
TRANS The system cannot allocate more virtual memory
|
|
|
|
TRANS because its capacity is full. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOMEM, N_("Cannot allocate memory"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EACCES
|
|
|
|
/*
|
|
|
|
TRANS The file permissions do not allow the attempted operation. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EACCES, N_("Permission denied"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EFAULT
|
|
|
|
/*
|
|
|
|
TRANS An invalid pointer was detected.
|
|
|
|
TRANS On @gnuhurdsystems{}, this error never happens; you get a signal instead. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EFAULT, N_("Bad address"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTBLK
|
|
|
|
/*
|
|
|
|
TRANS A file that isn't a block special file was given in a situation that
|
|
|
|
TRANS requires one. For example, trying to mount an ordinary file as a file
|
|
|
|
TRANS system in Unix gives this error. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTBLK, N_("Block device required"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBUSY
|
|
|
|
/*
|
|
|
|
TRANS A system resource that can't be shared is already in use.
|
|
|
|
TRANS For example, if you try to delete a file that is the root of a currently
|
|
|
|
TRANS mounted filesystem, you get this error. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBUSY, N_("Device or resource busy"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EEXIST
|
|
|
|
/*
|
|
|
|
TRANS An existing file was specified in a context where it only
|
|
|
|
TRANS makes sense to specify a new file. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EEXIST, N_("File exists"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EXDEV
|
|
|
|
/*
|
|
|
|
TRANS An attempt to make an improper link across file systems was detected.
|
|
|
|
TRANS This happens not only when you use @code{link} (@pxref{Hard Links}) but
|
|
|
|
TRANS also when you rename a file with @code{rename} (@pxref{Renaming Files}). */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EXDEV, N_("Invalid cross-device link"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENODEV
|
|
|
|
/*
|
|
|
|
TRANS The wrong type of device was given to a function that expects a
|
|
|
|
TRANS particular sort of device. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENODEV, N_("No such device"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTDIR
|
|
|
|
/*
|
|
|
|
TRANS A file that isn't a directory was specified when a directory is required. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTDIR, N_("Not a directory"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EISDIR
|
|
|
|
/*
|
|
|
|
TRANS You cannot open a directory for writing,
|
|
|
|
TRANS or create or remove hard links to it. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EISDIR, N_("Is a directory"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EINVAL
|
|
|
|
/*
|
|
|
|
TRANS This is used to indicate various kinds of problems
|
|
|
|
TRANS with passing the wrong argument to a library function. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EINVAL, N_("Invalid argument"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EMFILE
|
|
|
|
/*
|
|
|
|
TRANS The current process has too many files open and can't open any more.
|
|
|
|
TRANS Duplicate descriptors do count toward this limit.
|
|
|
|
TRANS
|
|
|
|
TRANS In BSD and GNU, the number of open files is controlled by a resource
|
|
|
|
TRANS limit that can usually be increased. If you get this error, you might
|
|
|
|
TRANS want to increase the @code{RLIMIT_NOFILE} limit or make it unlimited;
|
|
|
|
TRANS @pxref{Limits on Resources}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EMFILE, N_("Too many open files"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENFILE
|
|
|
|
/*
|
|
|
|
TRANS There are too many distinct file openings in the entire system. Note
|
|
|
|
TRANS that any number of linked channels count as just one file opening; see
|
|
|
|
TRANS @ref{Linked Channels}. This error never occurs on @gnuhurdsystems{}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENFILE, N_("Too many open files in system"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTTY
|
|
|
|
/*
|
|
|
|
TRANS Inappropriate I/O control operation, such as trying to set terminal
|
|
|
|
TRANS modes on an ordinary file. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTTY, N_("Inappropriate ioctl for device"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ETXTBSY
|
|
|
|
/*
|
|
|
|
TRANS An attempt to execute a file that is currently open for writing, or
|
|
|
|
TRANS write to a file that is currently being executed. Often using a
|
|
|
|
TRANS debugger to run a program is considered having it open for writing and
|
|
|
|
TRANS will cause this error. (The name stands for ``text file busy''.) This
|
|
|
|
TRANS is not an error on @gnuhurdsystems{}; the text is copied as necessary. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ETXTBSY, N_("Text file busy"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EFBIG
|
|
|
|
/*
|
|
|
|
TRANS The size of a file would be larger than allowed by the system. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EFBIG, N_("File too large"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOSPC
|
|
|
|
/*
|
|
|
|
TRANS Write operation on a file failed because the
|
|
|
|
TRANS disk is full. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOSPC, N_("No space left on device"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ESPIPE
|
|
|
|
/*
|
|
|
|
TRANS Invalid seek operation (such as on a pipe). */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ESPIPE, N_("Illegal seek"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EROFS
|
|
|
|
/*
|
|
|
|
TRANS An attempt was made to modify something on a read-only file system. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EROFS, N_("Read-only file system"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EMLINK
|
|
|
|
/*
|
|
|
|
TRANS The link count of a single file would become too large.
|
|
|
|
TRANS @code{rename} can cause this error if the file being renamed already has
|
|
|
|
TRANS as many links as it can take (@pxref{Renaming Files}). */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EMLINK, N_("Too many links"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPIPE
|
|
|
|
/*
|
|
|
|
TRANS There is no process reading from the other end of a pipe.
|
|
|
|
TRANS Every library function that returns this error code also generates a
|
|
|
|
TRANS @code{SIGPIPE} signal; this signal terminates the program if not handled
|
|
|
|
TRANS or blocked. Thus, your program will never actually see @code{EPIPE}
|
|
|
|
TRANS unless it has handled or blocked @code{SIGPIPE}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPIPE, N_("Broken pipe"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EDOM
|
|
|
|
/*
|
|
|
|
TRANS Used by mathematical functions when an argument value does
|
|
|
|
TRANS not fall into the domain over which the function is defined. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EDOM, N_("Numerical argument out of domain"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ERANGE
|
|
|
|
/*
|
|
|
|
TRANS Used by mathematical functions when the result value is
|
|
|
|
TRANS not representable because of overflow or underflow. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ERANGE, N_("Numerical result out of range"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EAGAIN
|
|
|
|
/*
|
|
|
|
TRANS The call might work if you try again
|
|
|
|
TRANS later. The macro @code{EWOULDBLOCK} is another name for @code{EAGAIN};
|
|
|
|
TRANS they are always the same in @theglibc{}.
|
|
|
|
TRANS
|
|
|
|
TRANS This error can happen in a few different situations:
|
|
|
|
TRANS
|
|
|
|
TRANS @itemize @bullet
|
|
|
|
TRANS @item
|
|
|
|
TRANS An operation that would block was attempted on an object that has
|
|
|
|
TRANS non-blocking mode selected. Trying the same operation again will block
|
|
|
|
TRANS until some external condition makes it possible to read, write, or
|
|
|
|
TRANS connect (whatever the operation). You can use @code{select} to find out
|
|
|
|
TRANS when the operation will be possible; @pxref{Waiting for I/O}.
|
|
|
|
TRANS
|
|
|
|
TRANS @strong{Portability Note:} In many older Unix systems, this condition
|
|
|
|
TRANS was indicated by @code{EWOULDBLOCK}, which was a distinct error code
|
|
|
|
TRANS different from @code{EAGAIN}. To make your program portable, you should
|
|
|
|
TRANS check for both codes and treat them the same.
|
|
|
|
TRANS
|
|
|
|
TRANS @item
|
|
|
|
TRANS A temporary resource shortage made an operation impossible. @code{fork}
|
|
|
|
TRANS can return this error. It indicates that the shortage is expected to
|
|
|
|
TRANS pass, so your program can try the call again later and it may succeed.
|
|
|
|
TRANS It is probably a good idea to delay for a few seconds before trying it
|
|
|
|
TRANS again, to allow time for other processes to release scarce resources.
|
|
|
|
TRANS Such shortages are usually fairly serious and affect the whole system,
|
|
|
|
TRANS so usually an interactive program should report the error to the user
|
|
|
|
TRANS and return to its command loop.
|
|
|
|
TRANS @end itemize */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EAGAIN, N_("Resource temporarily unavailable"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EINPROGRESS
|
|
|
|
/*
|
|
|
|
TRANS An operation that cannot complete immediately was initiated on an object
|
|
|
|
TRANS that has non-blocking mode selected. Some functions that must always
|
|
|
|
TRANS block (such as @code{connect}; @pxref{Connecting}) never return
|
|
|
|
TRANS @code{EAGAIN}. Instead, they return @code{EINPROGRESS} to indicate that
|
|
|
|
TRANS the operation has begun and will take some time. Attempts to manipulate
|
|
|
|
TRANS the object before the call completes return @code{EALREADY}. You can
|
|
|
|
TRANS use the @code{select} function to find out when the pending operation
|
|
|
|
TRANS has completed; @pxref{Waiting for I/O}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EINPROGRESS, N_("Operation now in progress"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EALREADY
|
|
|
|
/*
|
|
|
|
TRANS An operation is already in progress on an object that has non-blocking
|
|
|
|
TRANS mode selected. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EALREADY, N_("Operation already in progress"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTSOCK
|
|
|
|
/*
|
|
|
|
TRANS A file that isn't a socket was specified when a socket is required. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTSOCK, N_("Socket operation on non-socket"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EMSGSIZE
|
|
|
|
/*
|
|
|
|
TRANS The size of a message sent on a socket was larger than the supported
|
|
|
|
TRANS maximum size. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EMSGSIZE, N_("Message too long"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPROTOTYPE
|
|
|
|
/*
|
|
|
|
TRANS The socket type does not support the requested communications protocol. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPROTOTYPE, N_("Protocol wrong type for socket"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOPROTOOPT
|
|
|
|
/*
|
|
|
|
TRANS You specified a socket option that doesn't make sense for the
|
|
|
|
TRANS particular protocol being used by the socket. @xref{Socket Options}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOPROTOOPT, N_("Protocol not available"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPROTONOSUPPORT
|
|
|
|
/*
|
|
|
|
TRANS The socket domain does not support the requested communications protocol
|
|
|
|
TRANS (perhaps because the requested protocol is completely invalid).
|
|
|
|
TRANS @xref{Creating a Socket}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPROTONOSUPPORT, N_("Protocol not supported"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ESOCKTNOSUPPORT
|
|
|
|
/*
|
|
|
|
TRANS The socket type is not supported. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ESOCKTNOSUPPORT, N_("Socket type not supported"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EOPNOTSUPP
|
|
|
|
/*
|
|
|
|
TRANS The operation you requested is not supported. Some socket functions
|
|
|
|
TRANS don't make sense for all types of sockets, and others may not be
|
|
|
|
TRANS implemented for all communications protocols. On @gnuhurdsystems{}, this
|
|
|
|
TRANS error can happen for many calls when the object does not support the
|
|
|
|
TRANS particular operation; it is a generic indication that the server knows
|
|
|
|
TRANS nothing to do for that call. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EOPNOTSUPP, N_("Operation not supported"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPFNOSUPPORT
|
|
|
|
/*
|
|
|
|
TRANS The socket communications protocol family you requested is not supported. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPFNOSUPPORT, N_("Protocol family not supported"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EAFNOSUPPORT
|
|
|
|
/*
|
|
|
|
TRANS The address family specified for a socket is not supported; it is
|
|
|
|
TRANS inconsistent with the protocol being used on the socket. @xref{Sockets}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EAFNOSUPPORT, N_("Address family not supported by protocol"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EADDRINUSE
|
|
|
|
/*
|
|
|
|
TRANS The requested socket address is already in use. @xref{Socket Addresses}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EADDRINUSE, N_("Address already in use"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EADDRNOTAVAIL
|
|
|
|
/*
|
|
|
|
TRANS The requested socket address is not available; for example, you tried
|
|
|
|
TRANS to give a socket a name that doesn't match the local host name.
|
|
|
|
TRANS @xref{Socket Addresses}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EADDRNOTAVAIL, N_("Cannot assign requested address"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENETDOWN
|
|
|
|
/*
|
|
|
|
TRANS A socket operation failed because the network was down. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENETDOWN, N_("Network is down"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENETUNREACH
|
|
|
|
/*
|
|
|
|
TRANS A socket operation failed because the subnet containing the remote host
|
|
|
|
TRANS was unreachable. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENETUNREACH, N_("Network is unreachable"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENETRESET
|
|
|
|
/*
|
|
|
|
TRANS A network connection was reset because the remote host crashed. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENETRESET, N_("Network dropped connection on reset"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ECONNABORTED
|
|
|
|
/*
|
|
|
|
TRANS A network connection was aborted locally. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ECONNABORTED, N_("Software caused connection abort"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ECONNRESET
|
|
|
|
/*
|
|
|
|
TRANS A network connection was closed for reasons outside the control of the
|
|
|
|
TRANS local host, such as by the remote machine rebooting or an unrecoverable
|
|
|
|
TRANS protocol violation. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ECONNRESET, N_("Connection reset by peer"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOBUFS
|
|
|
|
/*
|
|
|
|
TRANS The kernel's buffers for I/O operations are all in use. In GNU, this
|
|
|
|
TRANS error is always synonymous with @code{ENOMEM}; you may get one or the
|
|
|
|
TRANS other from network operations. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOBUFS, N_("No buffer space available"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EISCONN
|
|
|
|
/*
|
|
|
|
TRANS You tried to connect a socket that is already connected.
|
|
|
|
TRANS @xref{Connecting}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EISCONN, N_("Transport endpoint is already connected"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTCONN
|
|
|
|
/*
|
|
|
|
TRANS The socket is not connected to anything. You get this error when you
|
|
|
|
TRANS try to transmit data over a socket, without first specifying a
|
|
|
|
TRANS destination for the data. For a connectionless socket (for datagram
|
|
|
|
TRANS protocols, such as UDP), you get @code{EDESTADDRREQ} instead. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTCONN, N_("Transport endpoint is not connected"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EDESTADDRREQ
|
|
|
|
/*
|
|
|
|
TRANS No default destination address was set for the socket. You get this
|
|
|
|
TRANS error when you try to transmit data over a connectionless socket,
|
|
|
|
TRANS without first specifying a destination for the data with @code{connect}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EDESTADDRREQ, N_("Destination address required"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ESHUTDOWN
|
|
|
|
/*
|
|
|
|
TRANS The socket has already been shut down. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ESHUTDOWN, N_("Cannot send after transport endpoint shutdown"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ETOOMANYREFS
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ETOOMANYREFS, N_("Too many references: cannot splice"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ETIMEDOUT
|
|
|
|
/*
|
|
|
|
TRANS A socket operation with a specified timeout received no response during
|
|
|
|
TRANS the timeout period. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ETIMEDOUT, N_("Connection timed out"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ECONNREFUSED
|
|
|
|
/*
|
|
|
|
TRANS A remote host refused to allow the network connection (typically because
|
|
|
|
TRANS it is not running the requested service). */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ECONNREFUSED, N_("Connection refused"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ELOOP
|
|
|
|
/*
|
|
|
|
TRANS Too many levels of symbolic links were encountered in looking up a file name.
|
|
|
|
TRANS This often indicates a cycle of symbolic links. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ELOOP, N_("Too many levels of symbolic links"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENAMETOOLONG
|
|
|
|
/*
|
|
|
|
TRANS Filename too long (longer than @code{PATH_MAX}; @pxref{Limits for
|
|
|
|
TRANS Files}) or host name too long (in @code{gethostname} or
|
|
|
|
TRANS @code{sethostname}; @pxref{Host Identification}). */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENAMETOOLONG, N_("File name too long"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EHOSTDOWN
|
|
|
|
/*
|
|
|
|
TRANS The remote host for a requested network connection is down. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EHOSTDOWN, N_("Host is down"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
/*
|
|
|
|
TRANS The remote host for a requested network connection is not reachable. */
|
|
|
|
#ifdef EHOSTUNREACH
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EHOSTUNREACH, N_("No route to host"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTEMPTY
|
|
|
|
/*
|
|
|
|
TRANS Directory not empty, where an empty directory was expected. Typically,
|
|
|
|
TRANS this error occurs when you are trying to delete a directory. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTEMPTY, N_("Directory not empty"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EUSERS
|
|
|
|
/*
|
|
|
|
TRANS The file quota system is confused because there are too many users.
|
|
|
|
TRANS @c This can probably happen in a GNU system when using NFS. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EUSERS, N_("Too many users"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EDQUOT
|
|
|
|
/*
|
|
|
|
TRANS The user's disk quota was exceeded. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EDQUOT, N_("Disk quota exceeded"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ESTALE
|
|
|
|
/*
|
|
|
|
TRANS This indicates an internal confusion in the
|
|
|
|
TRANS file system which is due to file system rearrangements on the server host
|
|
|
|
TRANS for NFS file systems or corruption in other file systems.
|
|
|
|
TRANS Repairing this condition usually requires unmounting, possibly repairing
|
|
|
|
TRANS and remounting the file system. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ESTALE, N_("Stale file handle"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EREMOTE
|
|
|
|
/*
|
|
|
|
TRANS An attempt was made to NFS-mount a remote file system with a file name that
|
|
|
|
TRANS already specifies an NFS-mounted file.
|
|
|
|
TRANS (This is an error on some operating systems, but we expect it to work
|
|
|
|
TRANS properly on @gnuhurdsystems{}, making this error code impossible.) */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EREMOTE, N_("Object is remote"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOLCK
|
|
|
|
/*
|
|
|
|
TRANS This is used by the file locking facilities; see
|
|
|
|
TRANS @ref{File Locks}. This error is never generated by @gnuhurdsystems{}, but
|
|
|
|
TRANS it can result from an operation to an NFS server running another
|
|
|
|
TRANS operating system. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOLCK, N_("No locks available"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOSYS
|
|
|
|
/*
|
|
|
|
TRANS This indicates that the function called is
|
|
|
|
TRANS not implemented at all, either in the C library itself or in the
|
|
|
|
TRANS operating system. When you get this error, you can be sure that this
|
|
|
|
TRANS particular function will always fail with @code{ENOSYS} unless you
|
|
|
|
TRANS install a new version of the C library or the operating system. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOSYS, N_("Function not implemented"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EILSEQ
|
|
|
|
/*
|
|
|
|
TRANS While decoding a multibyte character the function came along an invalid
|
|
|
|
TRANS or an incomplete sequence of bytes or the given wide character is invalid. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EILSEQ, N_("Invalid or incomplete multibyte or wide character"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBADMSG
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBADMSG, N_("Bad message"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EIDRM
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EIDRM, N_("Identifier removed"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EMULTIHOP
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EMULTIHOP, N_("Multihop attempted"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENODATA
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENODATA, N_("No data available"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOLINK
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOLINK, N_("Link has been severed"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOMSG
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOMSG, N_("No message of desired type"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOSR
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOSR, N_("Out of streams resources"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOSTR
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOSTR, N_("Device not a stream"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EOVERFLOW
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EOVERFLOW, N_("Value too large for defined data type"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPROTO
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPROTO, N_("Protocol error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ETIME
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ETIME, N_("Timer expired"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ECANCELED
|
|
|
|
/*
|
|
|
|
TRANS An asynchronous operation was canceled before it
|
|
|
|
TRANS completed. @xref{Asynchronous I/O}. When you call @code{aio_cancel},
|
|
|
|
TRANS the normal result is for the operations affected to complete with this
|
|
|
|
TRANS error; @pxref{Cancel AIO Operations}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ECANCELED, N_("Operation canceled"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EOWNERDEAD
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EOWNERDEAD, N_("Owner died"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTRECOVERABLE
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTRECOVERABLE, N_("State not recoverable"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ERESTART
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ERESTART, N_("Interrupted system call should be restarted"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ECHRNG
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ECHRNG, N_("Channel number out of range"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EL2NSYNC
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EL2NSYNC, N_("Level 2 not synchronized"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EL3HLT
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EL3HLT, N_("Level 3 halted"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EL3RST
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EL3RST, N_("Level 3 reset"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ELNRNG
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ELNRNG, N_("Link number out of range"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EUNATCH
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EUNATCH, N_("Protocol driver not attached"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOCSI
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOCSI, N_("No CSI structure available"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EL2HLT
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EL2HLT, N_("Level 2 halted"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBADE
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBADE, N_("Invalid exchange"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBADR
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBADR, N_("Invalid request descriptor"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EXFULL
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EXFULL, N_("Exchange full"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOANO
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOANO, N_("No anode"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBADRQC
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBADRQC, N_("Invalid request code"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBADSLT
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBADSLT, N_("Invalid slot"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBFONT
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBFONT, N_("Bad font file format"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENONET
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENONET, N_("Machine is not on the network"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOPKG
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOPKG, N_("Package not installed"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EADV
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EADV, N_("Advertise error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ESRMNT
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ESRMNT, N_("Srmount error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ECOMM
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ECOMM, N_("Communication error on send"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EDOTDOT
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EDOTDOT, N_("RFS specific error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTUNIQ
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTUNIQ, N_("Name not unique on network"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBADFD
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBADFD, N_("File descriptor in bad state"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EREMCHG
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EREMCHG, N_("Remote address changed"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ELIBACC
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ELIBACC, N_("Can not access a needed shared library"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ELIBBAD
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ELIBBAD, N_("Accessing a corrupted shared library"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ELIBSCN
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ELIBSCN, N_(".lib section in a.out corrupted"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ELIBMAX
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ELIBMAX, N_("Attempting to link in too many shared libraries"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ELIBEXEC
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ELIBEXEC, N_("Cannot exec a shared library directly"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ESTRPIPE
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ESTRPIPE, N_("Streams pipe error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EUCLEAN
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EUCLEAN, N_("Structure needs cleaning"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOTNAM
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTNAM, N_("Not a XENIX named type file"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENAVAIL
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENAVAIL, N_("No XENIX semaphores available"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EISNAM
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EISNAM, N_("Is a named type file"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EREMOTEIO
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EREMOTEIO, N_("Remote I/O error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOMEDIUM
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOMEDIUM, N_("No medium found"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EMEDIUMTYPE
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EMEDIUMTYPE, N_("Wrong medium type"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENOKEY
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOKEY, N_("Required key not available"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EKEYEXPIRED
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EKEYEXPIRED, N_("Key has expired"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EKEYREVOKED
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EKEYREVOKED, N_("Key has been revoked"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EKEYREJECTED
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EKEYREJECTED, N_("Key was rejected by service"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ERFKILL
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ERFKILL, N_("Operation not possible due to RF-kill"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EHWPOISON
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EHWPOISON, N_("Memory page has hardware error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBADRPC
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBADRPC, N_("RPC struct is bad"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EFTYPE
|
|
|
|
/*
|
|
|
|
TRANS The file was the wrong type for the
|
|
|
|
TRANS operation, or a data file had the wrong format.
|
|
|
|
TRANS
|
|
|
|
TRANS On some systems @code{chmod} returns this error if you try to set the
|
|
|
|
TRANS sticky bit on a non-directory file; @pxref{Setting Permissions}. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EFTYPE, N_("Inappropriate file type or format"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPROCUNAVAIL
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPROCUNAVAIL, N_("RPC bad procedure for program"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EAUTH
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EAUTH, N_("Authentication error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EDIED
|
|
|
|
/*
|
|
|
|
TRANS On @gnuhurdsystems{}, opening a file returns this error when the file is
|
|
|
|
TRANS translated by a program and the translator program dies while starting
|
|
|
|
TRANS up, before it has connected to the file. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EDIED, N_("Translator died"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ERPCMISMATCH
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ERPCMISMATCH, N_("RPC version wrong"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EGREGIOUS
|
|
|
|
/*
|
|
|
|
TRANS You did @strong{what}? */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EGREGIOUS, N_("You really blew it this time"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPROCLIM
|
|
|
|
/*
|
|
|
|
TRANS This means that the per-user limit on new process would be exceeded by
|
|
|
|
TRANS an attempted @code{fork}. @xref{Limits on Resources}, for details on
|
|
|
|
TRANS the @code{RLIMIT_NPROC} limit. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPROCLIM, N_("Too many processes"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EGRATUITOUS
|
|
|
|
/*
|
|
|
|
TRANS This error code has no purpose. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EGRATUITOUS, N_("Gratuitous error"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#if defined (ENOTSUP) && ENOTSUP != EOPNOTSUPP
|
|
|
|
/*
|
|
|
|
TRANS A function returns this error when certain parameter
|
|
|
|
TRANS values are valid, but the functionality they request is not available.
|
|
|
|
TRANS This can mean that the function does not implement a particular command
|
|
|
|
TRANS or option value or flag bit at all. For functions that operate on some
|
|
|
|
TRANS object given in a parameter, such as a file descriptor or a port, it
|
|
|
|
TRANS might instead mean that only @emph{that specific object} (file
|
|
|
|
TRANS descriptor, port, etc.) is unable to support the other parameters given;
|
|
|
|
TRANS different file descriptors might support different ranges of parameter
|
|
|
|
TRANS values.
|
|
|
|
TRANS
|
|
|
|
TRANS If the entire function is not available at all in the implementation,
|
|
|
|
TRANS it returns @code{ENOSYS} instead. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENOTSUP, N_("Not supported"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPROGMISMATCH
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPROGMISMATCH, N_("RPC program version wrong"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EBACKGROUND
|
|
|
|
/*
|
|
|
|
TRANS On @gnuhurdsystems{}, servers supporting the @code{term} protocol return
|
|
|
|
TRANS this error for certain operations when the caller is not in the
|
|
|
|
TRANS foreground process group of the terminal. Users do not usually see this
|
|
|
|
TRANS error because functions such as @code{read} and @code{write} translate
|
|
|
|
TRANS it into a @code{SIGTTIN} or @code{SIGTTOU} signal. @xref{Job Control},
|
|
|
|
TRANS for information on process groups and these signals. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EBACKGROUND, N_("Inappropriate operation for background process"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EIEIO
|
|
|
|
/*
|
|
|
|
TRANS Go home and have a glass of warm, dairy-fresh milk.
|
|
|
|
TRANS @c Okay. Since you are dying to know, I'll tell you.
|
|
|
|
TRANS @c This is a joke, obviously. There is a children's song which begins,
|
|
|
|
TRANS @c "Old McDonald had a farm, e-i-e-i-o." Every time I see the (real)
|
|
|
|
TRANS @c errno macro EIO, I think about that song. Probably most of my
|
|
|
|
TRANS @c compatriots who program on Unix do, too. One of them must have stayed
|
|
|
|
TRANS @c up a little too late one night and decided to add it to Hurd or Glibc.
|
|
|
|
TRANS @c Whoever did it should be castigated, but it made me laugh.
|
|
|
|
TRANS @c --jtobey@channel1.com
|
|
|
|
TRANS @c
|
|
|
|
TRANS @c "bought the farm" means "died". -jtobey
|
|
|
|
TRANS @c
|
|
|
|
TRANS @c Translators, please do not translate this litteraly, translate it into
|
|
|
|
TRANS @c an idiomatic funny way of saying that the computer died. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EIEIO, N_("Computer bought the farm"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#if defined (EWOULDBLOCK) && EWOULDBLOCK != EAGAIN
|
|
|
|
/*
|
|
|
|
TRANS In @theglibc{}, this is another name for @code{EAGAIN} (above).
|
|
|
|
TRANS The values are always the same, on every operating system.
|
|
|
|
TRANS
|
|
|
|
TRANS C libraries in many older Unix systems have @code{EWOULDBLOCK} as a
|
|
|
|
TRANS separate error code. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EWOULDBLOCK, N_("Operation would block"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ENEEDAUTH
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ENEEDAUTH, N_("Need authenticator"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef ED
|
|
|
|
/*
|
|
|
|
TRANS The experienced user will know what is wrong.
|
|
|
|
TRANS @c This error code is a joke. Its perror text is part of the joke.
|
|
|
|
TRANS @c Don't change it. */
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(ED, N_("?"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|
|
|
|
#ifdef EPROGUNAVAIL
|
2020-08-31 22:53:51 +08:00
|
|
|
_S(EPROGUNAVAIL, N_("RPC program not available"))
|
2020-04-25 08:25:31 +08:00
|
|
|
#endif
|