/* This file is generated from errno.texi by errlist.awk. */
#include <errno.h>
#include <libintl.h>
#ifndef SYS_ERRLIST
# define SYS_ERRLIST _sys_errlist
# define SYS_ERRLIST_ALIAS sys_errlist
#endif
#ifndef SYS_NERR
# define SYS_NERR _sys_nerr
# define SYS_NERR_ALIAS sys_nerr
#endif
#ifndef ERR_REMAP
# define ERR_REMAP(n) n
#endif
const char *const SYS_ERRLIST[] =
{
[0] = N_("Success"),
#ifdef EPERM
/*
TRANS Operation not permitted; only the owner of the file (or other resource)
TRANS or processes with special privileges can perform the operation. */
[ERR_REMAP (EPERM)] = N_("Operation not permitted"),
#endif
#ifdef ENOENT
/*
TRANS No such file or directory. 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. */
[ERR_REMAP (ENOENT)] = N_("No such file or directory"),
#endif
#ifdef ESRCH
/*
TRANS No process matches the specified process ID. */
[ERR_REMAP (ESRCH)] = N_("No such process"),
#endif
#ifdef EINTR
/*
TRANS Interrupted function call; 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}. */
[ERR_REMAP (EINTR)] = N_("Interrupted system call"),
#endif
#ifdef EIO
/*
TRANS Input/output error; usually used for physical read or write errors. */
[ERR_REMAP (EIO)] = N_("Input/output error"),
#endif
#ifdef ENXIO
/*
TRANS No such device or address. 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. */
[ERR_REMAP (ENXIO)] = N_("No such device or address"),
#endif
#ifdef E2BIG
/*
TRANS Argument list too long; 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 in the
TRANS GNU system. */
[ERR_REMAP (E2BIG)] = N_("Argument list too long"),
#endif
#ifdef ENOEXEC
/*
TRANS Invalid executable file format. This condition is detected by the
TRANS @code{exec} functions; see @ref{Executing a File}. */
[ERR_REMAP (ENOEXEC)] = N_("Exec format error"),
#endif
#ifdef EBADF
/*
TRANS Bad file descriptor; 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). */
[ERR_REMAP (EBADF)] = N_("Bad file descriptor"),
#endif
#ifdef ECHILD
/*
TRANS There are no child processes. This error happens on operations that are
TRANS supposed to manipulate child processes, when there aren't any processes
TRANS to manipulate. */
[ERR_REMAP (ECHILD)] = N_("No child processes"),
#endif