Back to index

glibc  2.9
errlist.c
Go to the documentation of this file.
00001 /* This file is generated from errno.texi by errlist.awk.  */
00002 
00003 #include <errno.h>
00004 #include <libintl.h>
00005 
00006 #ifndef ERR_REMAP
00007 # define ERR_REMAP(n) n
00008 #endif
00009 
00010 #if !defined EMIT_ERR_MAX && !defined ERRLIST_NO_COMPAT
00011 # include <errlist-compat.h>
00012 #endif
00013 #ifdef ERR_MAX
00014 # define ERRLIST_SIZE ERR_MAX + 1
00015 #else
00016 # define ERRLIST_SIZE
00017 #endif
00018 const char *const _sys_errlist_internal[ERRLIST_SIZE] =
00019   {
00020     [0] = N_("Success"),
00021 #ifdef EPERM
00022 /*
00023 TRANS Operation not permitted; only the owner of the file (or other resource)
00024 TRANS or processes with special privileges can perform the operation. */
00025     [ERR_REMAP (EPERM)] = N_("Operation not permitted"),
00026 # if EPERM > ERR_MAX
00027 # undef ERR_MAX
00028 # define ERR_MAX EPERM
00029 # endif
00030 #endif
00031 #ifdef ENOENT
00032 /*
00033 TRANS No such file or directory.  This is a ``file doesn't exist'' error
00034 TRANS for ordinary files that are referenced in contexts where they are
00035 TRANS expected to already exist. */
00036     [ERR_REMAP (ENOENT)] = N_("No such file or directory"),
00037 # if ENOENT > ERR_MAX
00038 # undef ERR_MAX
00039 # define ERR_MAX ENOENT
00040 # endif
00041 #endif
00042 #ifdef ESRCH
00043 /*
00044 TRANS No process matches the specified process ID. */
00045     [ERR_REMAP (ESRCH)] = N_("No such process"),
00046 # if ESRCH > ERR_MAX
00047 # undef ERR_MAX
00048 # define ERR_MAX ESRCH
00049 # endif
00050 #endif
00051 #ifdef EINTR
00052 /*
00053 TRANS Interrupted function call; an asynchronous signal occurred and prevented
00054 TRANS completion of the call.  When this happens, you should try the call
00055 TRANS again.
00056 TRANS 
00057 TRANS You can choose to have functions resume after a signal that is handled,
00058 TRANS rather than failing with @code{EINTR}; see @ref{Interrupted
00059 TRANS Primitives}. */
00060     [ERR_REMAP (EINTR)] = N_("Interrupted system call"),
00061 # if EINTR > ERR_MAX
00062 # undef ERR_MAX
00063 # define ERR_MAX EINTR
00064 # endif
00065 #endif
00066 #ifdef EIO
00067 /*
00068 TRANS Input/output error; usually used for physical read or write errors. */
00069     [ERR_REMAP (EIO)] = N_("Input/output error"),
00070 # if EIO > ERR_MAX
00071 # undef ERR_MAX
00072 # define ERR_MAX EIO
00073 # endif
00074 #endif
00075 #ifdef ENXIO
00076 /*
00077 TRANS No such device or address.  The system tried to use the device
00078 TRANS represented by a file you specified, and it couldn't find the device.
00079 TRANS This can mean that the device file was installed incorrectly, or that
00080 TRANS the physical device is missing or not correctly attached to the
00081 TRANS computer. */
00082     [ERR_REMAP (ENXIO)] = N_("No such device or address"),
00083 # if ENXIO > ERR_MAX
00084 # undef ERR_MAX
00085 # define ERR_MAX ENXIO
00086 # endif
00087 #endif
00088 #ifdef E2BIG
00089 /*
00090 TRANS Argument list too long; used when the arguments passed to a new program
00091 TRANS being executed with one of the @code{exec} functions (@pxref{Executing a
00092 TRANS File}) occupy too much memory space.  This condition never arises in the
00093 TRANS GNU system. */
00094     [ERR_REMAP (E2BIG)] = N_("Argument list too long"),
00095 # if E2BIG > ERR_MAX
00096 # undef ERR_MAX
00097 # define ERR_MAX E2BIG
00098 # endif
00099 #endif
00100 #ifdef ENOEXEC
00101 /*
00102 TRANS Invalid executable file format.  This condition is detected by the
00103 TRANS @code{exec} functions; see @ref{Executing a File}. */
00104     [ERR_REMAP (ENOEXEC)] = N_("Exec format error"),
00105 # if ENOEXEC > ERR_MAX
00106 # undef ERR_MAX
00107 # define ERR_MAX ENOEXEC
00108 # endif
00109 #endif
00110 #ifdef EBADF
00111 /*
00112 TRANS Bad file descriptor; for example, I/O on a descriptor that has been
00113 TRANS closed or reading from a descriptor open only for writing (or vice
00114 TRANS versa). */
00115     [ERR_REMAP (EBADF)] = N_("Bad file descriptor"),
00116 # if EBADF > ERR_MAX
00117 # undef ERR_MAX
00118 # define ERR_MAX EBADF
00119 # endif
00120 #endif
00121 #ifdef ECHILD
00122 /*
00123 TRANS There are no child processes.  This error happens on operations that are
00124 TRANS supposed to manipulate child processes, when there aren't any processes
00125 TRANS to manipulate. */
00126     [ERR_REMAP (ECHILD)] = N_("No child processes"),
00127 # if ECHILD > ERR_MAX
00128 # undef ERR_MAX
00129 # define ERR_MAX ECHILD
00130 # endif
00131 #endif
00132 #ifdef EDEADLK
00133 /*
00134 TRANS Deadlock avoided; allocating a system resource would have resulted in a
00135 TRANS deadlock situation.  The system does not guarantee that it will notice
00136 TRANS all such situations.  This error means you got lucky and the system
00137 TRANS noticed; it might just hang.  @xref{File Locks}, for an example. */
00138     [ERR_REMAP (EDEADLK)] = N_("Resource deadlock avoided"),
00139 # if EDEADLK > ERR_MAX
00140 # undef ERR_MAX
00141 # define ERR_MAX EDEADLK
00142 # endif
00143 #endif
00144 #ifdef ENOMEM
00145 /*
00146 TRANS No memory available.  The system cannot allocate more virtual memory
00147 TRANS because its capacity is full. */
00148     [ERR_REMAP (ENOMEM)] = N_("Cannot allocate memory"),
00149 # if ENOMEM > ERR_MAX
00150 # undef ERR_MAX
00151 # define ERR_MAX ENOMEM
00152 # endif
00153 #endif
00154 #ifdef EACCES
00155 /*
00156 TRANS Permission denied; the file permissions do not allow the attempted operation. */
00157     [ERR_REMAP (EACCES)] = N_("Permission denied"),
00158 # if EACCES > ERR_MAX
00159 # undef ERR_MAX
00160 # define ERR_MAX EACCES
00161 # endif
00162 #endif
00163 #ifdef EFAULT
00164 /*
00165 TRANS Bad address; an invalid pointer was detected.
00166 TRANS In the GNU system, this error never happens; you get a signal instead. */
00167     [ERR_REMAP (EFAULT)] = N_("Bad address"),
00168 # if EFAULT > ERR_MAX
00169 # undef ERR_MAX
00170 # define ERR_MAX EFAULT
00171 # endif
00172 #endif
00173 #ifdef ENOTBLK
00174 /*
00175 TRANS A file that isn't a block special file was given in a situation that
00176 TRANS requires one.  For example, trying to mount an ordinary file as a file
00177 TRANS system in Unix gives this error. */
00178     [ERR_REMAP (ENOTBLK)] = N_("Block device required"),
00179 # if ENOTBLK > ERR_MAX
00180 # undef ERR_MAX
00181 # define ERR_MAX ENOTBLK
00182 # endif
00183 #endif
00184 #ifdef EBUSY
00185 /*
00186 TRANS Resource busy; a system resource that can't be shared is already in use.
00187 TRANS For example, if you try to delete a file that is the root of a currently
00188 TRANS mounted filesystem, you get this error. */
00189     [ERR_REMAP (EBUSY)] = N_("Device or resource busy"),
00190 # if EBUSY > ERR_MAX
00191 # undef ERR_MAX
00192 # define ERR_MAX EBUSY
00193 # endif
00194 #endif
00195 #ifdef EEXIST
00196 /*
00197 TRANS File exists; an existing file was specified in a context where it only
00198 TRANS makes sense to specify a new file. */
00199     [ERR_REMAP (EEXIST)] = N_("File exists"),
00200 # if EEXIST > ERR_MAX
00201 # undef ERR_MAX
00202 # define ERR_MAX EEXIST
00203 # endif
00204 #endif
00205 #ifdef EXDEV
00206 /*
00207 TRANS An attempt to make an improper link across file systems was detected.
00208 TRANS This happens not only when you use @code{link} (@pxref{Hard Links}) but
00209 TRANS also when you rename a file with @code{rename} (@pxref{Renaming Files}). */
00210     [ERR_REMAP (EXDEV)] = N_("Invalid cross-device link"),
00211 # if EXDEV > ERR_MAX
00212 # undef ERR_MAX
00213 # define ERR_MAX EXDEV
00214 # endif
00215 #endif
00216 #ifdef ENODEV
00217 /*
00218 TRANS The wrong type of device was given to a function that expects a
00219 TRANS particular sort of device. */
00220     [ERR_REMAP (ENODEV)] = N_("No such device"),
00221 # if ENODEV > ERR_MAX
00222 # undef ERR_MAX
00223 # define ERR_MAX ENODEV
00224 # endif
00225 #endif
00226 #ifdef ENOTDIR
00227 /*
00228 TRANS A file that isn't a directory was specified when a directory is required. */
00229     [ERR_REMAP (ENOTDIR)] = N_("Not a directory"),
00230 # if ENOTDIR > ERR_MAX
00231 # undef ERR_MAX
00232 # define ERR_MAX ENOTDIR
00233 # endif
00234 #endif
00235 #ifdef EISDIR
00236 /*
00237 TRANS File is a directory; you cannot open a directory for writing,
00238 TRANS or create or remove hard links to it. */
00239     [ERR_REMAP (EISDIR)] = N_("Is a directory"),
00240 # if EISDIR > ERR_MAX
00241 # undef ERR_MAX
00242 # define ERR_MAX EISDIR
00243 # endif
00244 #endif
00245 #ifdef EINVAL
00246 /*
00247 TRANS Invalid argument.  This is used to indicate various kinds of problems
00248 TRANS with passing the wrong argument to a library function. */
00249     [ERR_REMAP (EINVAL)] = N_("Invalid argument"),
00250 # if EINVAL > ERR_MAX
00251 # undef ERR_MAX
00252 # define ERR_MAX EINVAL
00253 # endif
00254 #endif
00255 #ifdef EMFILE
00256 /*
00257 TRANS The current process has too many files open and can't open any more.
00258 TRANS Duplicate descriptors do count toward this limit.
00259 TRANS 
00260 TRANS In BSD and GNU, the number of open files is controlled by a resource
00261 TRANS limit that can usually be increased.  If you get this error, you might
00262 TRANS want to increase the @code{RLIMIT_NOFILE} limit or make it unlimited;
00263 TRANS @pxref{Limits on Resources}. */
00264     [ERR_REMAP (EMFILE)] = N_("Too many open files"),
00265 # if EMFILE > ERR_MAX
00266 # undef ERR_MAX
00267 # define ERR_MAX EMFILE
00268 # endif
00269 #endif
00270 #ifdef ENFILE
00271 /*
00272 TRANS There are too many distinct file openings in the entire system.  Note
00273 TRANS that any number of linked channels count as just one file opening; see
00274 TRANS @ref{Linked Channels}.  This error never occurs in the GNU system. */
00275     [ERR_REMAP (ENFILE)] = N_("Too many open files in system"),
00276 # if ENFILE > ERR_MAX
00277 # undef ERR_MAX
00278 # define ERR_MAX ENFILE
00279 # endif
00280 #endif
00281 #ifdef ENOTTY
00282 /*
00283 TRANS Inappropriate I/O control operation, such as trying to set terminal
00284 TRANS modes on an ordinary file. */
00285     [ERR_REMAP (ENOTTY)] = N_("Inappropriate ioctl for device"),
00286 # if ENOTTY > ERR_MAX
00287 # undef ERR_MAX
00288 # define ERR_MAX ENOTTY
00289 # endif
00290 #endif
00291 #ifdef ETXTBSY
00292 /*
00293 TRANS An attempt to execute a file that is currently open for writing, or
00294 TRANS write to a file that is currently being executed.  Often using a
00295 TRANS debugger to run a program is considered having it open for writing and
00296 TRANS will cause this error.  (The name stands for ``text file busy''.)  This
00297 TRANS is not an error in the GNU system; the text is copied as necessary. */
00298     [ERR_REMAP (ETXTBSY)] = N_("Text file busy"),
00299 # if ETXTBSY > ERR_MAX
00300 # undef ERR_MAX
00301 # define ERR_MAX ETXTBSY
00302 # endif
00303 #endif
00304 #ifdef EFBIG
00305 /*
00306 TRANS File too big; the size of a file would be larger than allowed by the system. */
00307     [ERR_REMAP (EFBIG)] = N_("File too large"),
00308 # if EFBIG > ERR_MAX
00309 # undef ERR_MAX
00310 # define ERR_MAX EFBIG
00311 # endif
00312 #endif
00313 #ifdef ENOSPC
00314 /*
00315 TRANS No space left on device; write operation on a file failed because the
00316 TRANS disk is full. */
00317     [ERR_REMAP (ENOSPC)] = N_("No space left on device"),
00318 # if ENOSPC > ERR_MAX
00319 # undef ERR_MAX
00320 # define ERR_MAX ENOSPC
00321 # endif
00322 #endif
00323 #ifdef ESPIPE
00324 /*
00325 TRANS Invalid seek operation (such as on a pipe). */
00326     [ERR_REMAP (ESPIPE)] = N_("Illegal seek"),
00327 # if ESPIPE > ERR_MAX
00328 # undef ERR_MAX
00329 # define ERR_MAX ESPIPE
00330 # endif
00331 #endif
00332 #ifdef EROFS
00333 /*
00334 TRANS An attempt was made to modify something on a read-only file system. */
00335     [ERR_REMAP (EROFS)] = N_("Read-only file system"),
00336 # if EROFS > ERR_MAX
00337 # undef ERR_MAX
00338 # define ERR_MAX EROFS
00339 # endif
00340 #endif
00341 #ifdef EMLINK
00342 /*
00343 TRANS Too many links; the link count of a single file would become too large.
00344 TRANS @code{rename} can cause this error if the file being renamed already has
00345 TRANS as many links as it can take (@pxref{Renaming Files}). */
00346     [ERR_REMAP (EMLINK)] = N_("Too many links"),
00347 # if EMLINK > ERR_MAX
00348 # undef ERR_MAX
00349 # define ERR_MAX EMLINK
00350 # endif
00351 #endif
00352 #ifdef EPIPE
00353 /*
00354 TRANS Broken pipe; there is no process reading from the other end of a pipe.
00355 TRANS Every library function that returns this error code also generates a
00356 TRANS @code{SIGPIPE} signal; this signal terminates the program if not handled
00357 TRANS or blocked.  Thus, your program will never actually see @code{EPIPE}
00358 TRANS unless it has handled or blocked @code{SIGPIPE}. */
00359     [ERR_REMAP (EPIPE)] = N_("Broken pipe"),
00360 # if EPIPE > ERR_MAX
00361 # undef ERR_MAX
00362 # define ERR_MAX EPIPE
00363 # endif
00364 #endif
00365 #ifdef EDOM
00366 /*
00367 TRANS Domain error; used by mathematical functions when an argument value does
00368 TRANS not fall into the domain over which the function is defined. */
00369     [ERR_REMAP (EDOM)] = N_("Numerical argument out of domain"),
00370 # if EDOM > ERR_MAX
00371 # undef ERR_MAX
00372 # define ERR_MAX EDOM
00373 # endif
00374 #endif
00375 #ifdef ERANGE
00376 /*
00377 TRANS Range error; used by mathematical functions when the result value is
00378 TRANS not representable because of overflow or underflow. */
00379     [ERR_REMAP (ERANGE)] = N_("Numerical result out of range"),
00380 # if ERANGE > ERR_MAX
00381 # undef ERR_MAX
00382 # define ERR_MAX ERANGE
00383 # endif
00384 #endif
00385 #ifdef EAGAIN
00386 /*
00387 TRANS Resource temporarily unavailable; the call might work if you try again
00388 TRANS later.  The macro @code{EWOULDBLOCK} is another name for @code{EAGAIN};
00389 TRANS they are always the same in the GNU C library.
00390 TRANS 
00391 TRANS This error can happen in a few different situations:
00392 TRANS 
00393 TRANS @itemize @bullet
00394 TRANS @item
00395 TRANS An operation that would block was attempted on an object that has
00396 TRANS non-blocking mode selected.  Trying the same operation again will block
00397 TRANS until some external condition makes it possible to read, write, or
00398 TRANS connect (whatever the operation).  You can use @code{select} to find out
00399 TRANS when the operation will be possible; @pxref{Waiting for I/O}.
00400 TRANS 
00401 TRANS @strong{Portability Note:} In many older Unix systems, this condition
00402 TRANS was indicated by @code{EWOULDBLOCK}, which was a distinct error code
00403 TRANS different from @code{EAGAIN}.  To make your program portable, you should
00404 TRANS check for both codes and treat them the same.
00405 TRANS 
00406 TRANS @item
00407 TRANS A temporary resource shortage made an operation impossible.  @code{fork}
00408 TRANS can return this error.  It indicates that the shortage is expected to
00409 TRANS pass, so your program can try the call again later and it may succeed.
00410 TRANS It is probably a good idea to delay for a few seconds before trying it
00411 TRANS again, to allow time for other processes to release scarce resources.
00412 TRANS Such shortages are usually fairly serious and affect the whole system,
00413 TRANS so usually an interactive program should report the error to the user
00414 TRANS and return to its command loop.
00415 TRANS @end itemize */
00416     [ERR_REMAP (EAGAIN)] = N_("Resource temporarily unavailable"),
00417 # if EAGAIN > ERR_MAX
00418 # undef ERR_MAX
00419 # define ERR_MAX EAGAIN
00420 # endif
00421 #endif
00422 #if defined (EWOULDBLOCK) && EWOULDBLOCK != EAGAIN
00423 /*
00424 TRANS In the GNU C library, this is another name for @code{EAGAIN} (above).
00425 TRANS The values are always the same, on every operating system.
00426 TRANS 
00427 TRANS C libraries in many older Unix systems have @code{EWOULDBLOCK} as a
00428 TRANS separate error code. */
00429     [ERR_REMAP (EWOULDBLOCK)] = N_("Operation would block"),
00430 # if EWOULDBLOCK > ERR_MAX
00431 # undef ERR_MAX
00432 # define ERR_MAX EWOULDBLOCK
00433 # endif
00434 #endif
00435 #ifdef EINPROGRESS
00436 /*
00437 TRANS An operation that cannot complete immediately was initiated on an object
00438 TRANS that has non-blocking mode selected.  Some functions that must always
00439 TRANS block (such as @code{connect}; @pxref{Connecting}) never return
00440 TRANS @code{EAGAIN}.  Instead, they return @code{EINPROGRESS} to indicate that
00441 TRANS the operation has begun and will take some time.  Attempts to manipulate
00442 TRANS the object before the call completes return @code{EALREADY}.  You can
00443 TRANS use the @code{select} function to find out when the pending operation
00444 TRANS has completed; @pxref{Waiting for I/O}. */
00445     [ERR_REMAP (EINPROGRESS)] = N_("Operation now in progress"),
00446 # if EINPROGRESS > ERR_MAX
00447 # undef ERR_MAX
00448 # define ERR_MAX EINPROGRESS
00449 # endif
00450 #endif
00451 #ifdef EALREADY
00452 /*
00453 TRANS An operation is already in progress on an object that has non-blocking
00454 TRANS mode selected. */
00455     [ERR_REMAP (EALREADY)] = N_("Operation already in progress"),
00456 # if EALREADY > ERR_MAX
00457 # undef ERR_MAX
00458 # define ERR_MAX EALREADY
00459 # endif
00460 #endif
00461 #ifdef ENOTSOCK
00462 /*
00463 TRANS A file that isn't a socket was specified when a socket is required. */
00464     [ERR_REMAP (ENOTSOCK)] = N_("Socket operation on non-socket"),
00465 # if ENOTSOCK > ERR_MAX
00466 # undef ERR_MAX
00467 # define ERR_MAX ENOTSOCK
00468 # endif
00469 #endif
00470 #ifdef EMSGSIZE
00471 /*
00472 TRANS The size of a message sent on a socket was larger than the supported
00473 TRANS maximum size. */
00474     [ERR_REMAP (EMSGSIZE)] = N_("Message too long"),
00475 # if EMSGSIZE > ERR_MAX
00476 # undef ERR_MAX
00477 # define ERR_MAX EMSGSIZE
00478 # endif
00479 #endif
00480 #ifdef EPROTOTYPE
00481 /*
00482 TRANS The socket type does not support the requested communications protocol. */
00483     [ERR_REMAP (EPROTOTYPE)] = N_("Protocol wrong type for socket"),
00484 # if EPROTOTYPE > ERR_MAX
00485 # undef ERR_MAX
00486 # define ERR_MAX EPROTOTYPE
00487 # endif
00488 #endif
00489 #ifdef ENOPROTOOPT
00490 /*
00491 TRANS You specified a socket option that doesn't make sense for the
00492 TRANS particular protocol being used by the socket.  @xref{Socket Options}. */
00493     [ERR_REMAP (ENOPROTOOPT)] = N_("Protocol not available"),
00494 # if ENOPROTOOPT > ERR_MAX
00495 # undef ERR_MAX
00496 # define ERR_MAX ENOPROTOOPT
00497 # endif
00498 #endif
00499 #ifdef EPROTONOSUPPORT
00500 /*
00501 TRANS The socket domain does not support the requested communications protocol
00502 TRANS (perhaps because the requested protocol is completely invalid).
00503 TRANS @xref{Creating a Socket}. */
00504     [ERR_REMAP (EPROTONOSUPPORT)] = N_("Protocol not supported"),
00505 # if EPROTONOSUPPORT > ERR_MAX
00506 # undef ERR_MAX
00507 # define ERR_MAX EPROTONOSUPPORT
00508 # endif
00509 #endif
00510 #ifdef ESOCKTNOSUPPORT
00511 /*
00512 TRANS The socket type is not supported. */
00513     [ERR_REMAP (ESOCKTNOSUPPORT)] = N_("Socket type not supported"),
00514 # if ESOCKTNOSUPPORT > ERR_MAX
00515 # undef ERR_MAX
00516 # define ERR_MAX ESOCKTNOSUPPORT
00517 # endif
00518 #endif
00519 #ifdef EOPNOTSUPP
00520 /*
00521 TRANS The operation you requested is not supported.  Some socket functions
00522 TRANS don't make sense for all types of sockets, and others may not be
00523 TRANS implemented for all communications protocols.  In the GNU system, this
00524 TRANS error can happen for many calls when the object does not support the
00525 TRANS particular operation; it is a generic indication that the server knows
00526 TRANS nothing to do for that call. */
00527     [ERR_REMAP (EOPNOTSUPP)] = N_("Operation not supported"),
00528 # if EOPNOTSUPP > ERR_MAX
00529 # undef ERR_MAX
00530 # define ERR_MAX EOPNOTSUPP
00531 # endif
00532 #endif
00533 #ifdef EPFNOSUPPORT
00534 /*
00535 TRANS The socket communications protocol family you requested is not supported. */
00536     [ERR_REMAP (EPFNOSUPPORT)] = N_("Protocol family not supported"),
00537 # if EPFNOSUPPORT > ERR_MAX
00538 # undef ERR_MAX
00539 # define ERR_MAX EPFNOSUPPORT
00540 # endif
00541 #endif
00542 #ifdef EAFNOSUPPORT
00543 /*
00544 TRANS The address family specified for a socket is not supported; it is
00545 TRANS inconsistent with the protocol being used on the socket.  @xref{Sockets}. */
00546     [ERR_REMAP (EAFNOSUPPORT)] = N_("Address family not supported by protocol"),
00547 # if EAFNOSUPPORT > ERR_MAX
00548 # undef ERR_MAX
00549 # define ERR_MAX EAFNOSUPPORT
00550 # endif
00551 #endif
00552 #ifdef EADDRINUSE
00553 /*
00554 TRANS The requested socket address is already in use.  @xref{Socket Addresses}. */
00555     [ERR_REMAP (EADDRINUSE)] = N_("Address already in use"),
00556 # if EADDRINUSE > ERR_MAX
00557 # undef ERR_MAX
00558 # define ERR_MAX EADDRINUSE
00559 # endif
00560 #endif
00561 #ifdef EADDRNOTAVAIL
00562 /*
00563 TRANS The requested socket address is not available; for example, you tried
00564 TRANS to give a socket a name that doesn't match the local host name.
00565 TRANS @xref{Socket Addresses}. */
00566     [ERR_REMAP (EADDRNOTAVAIL)] = N_("Cannot assign requested address"),
00567 # if EADDRNOTAVAIL > ERR_MAX
00568 # undef ERR_MAX
00569 # define ERR_MAX EADDRNOTAVAIL
00570 # endif
00571 #endif
00572 #ifdef ENETDOWN
00573 /*
00574 TRANS A socket operation failed because the network was down. */
00575     [ERR_REMAP (ENETDOWN)] = N_("Network is down"),
00576 # if ENETDOWN > ERR_MAX
00577 # undef ERR_MAX
00578 # define ERR_MAX ENETDOWN
00579 # endif
00580 #endif
00581 #ifdef ENETUNREACH
00582 /*
00583 TRANS A socket operation failed because the subnet containing the remote host
00584 TRANS was unreachable. */
00585     [ERR_REMAP (ENETUNREACH)] = N_("Network is unreachable"),
00586 # if ENETUNREACH > ERR_MAX
00587 # undef ERR_MAX
00588 # define ERR_MAX ENETUNREACH
00589 # endif
00590 #endif
00591 #ifdef ENETRESET
00592 /*
00593 TRANS A network connection was reset because the remote host crashed. */
00594     [ERR_REMAP (ENETRESET)] = N_("Network dropped connection on reset"),
00595 # if ENETRESET > ERR_MAX
00596 # undef ERR_MAX
00597 # define ERR_MAX ENETRESET
00598 # endif
00599 #endif
00600 #ifdef ECONNABORTED
00601 /*
00602 TRANS A network connection was aborted locally. */
00603     [ERR_REMAP (ECONNABORTED)] = N_("Software caused connection abort"),
00604 # if ECONNABORTED > ERR_MAX
00605 # undef ERR_MAX
00606 # define ERR_MAX ECONNABORTED
00607 # endif
00608 #endif
00609 #ifdef ECONNRESET
00610 /*
00611 TRANS A network connection was closed for reasons outside the control of the
00612 TRANS local host, such as by the remote machine rebooting or an unrecoverable
00613 TRANS protocol violation. */
00614     [ERR_REMAP (ECONNRESET)] = N_("Connection reset by peer"),
00615 # if ECONNRESET > ERR_MAX
00616 # undef ERR_MAX
00617 # define ERR_MAX ECONNRESET
00618 # endif
00619 #endif
00620 #ifdef ENOBUFS
00621 /*
00622 TRANS The kernel's buffers for I/O operations are all in use.  In GNU, this
00623 TRANS error is always synonymous with @code{ENOMEM}; you may get one or the
00624 TRANS other from network operations. */
00625     [ERR_REMAP (ENOBUFS)] = N_("No buffer space available"),
00626 # if ENOBUFS > ERR_MAX
00627 # undef ERR_MAX
00628 # define ERR_MAX ENOBUFS
00629 # endif
00630 #endif
00631 #ifdef EISCONN
00632 /*
00633 TRANS You tried to connect a socket that is already connected.
00634 TRANS @xref{Connecting}. */
00635     [ERR_REMAP (EISCONN)] = N_("Transport endpoint is already connected"),
00636 # if EISCONN > ERR_MAX
00637 # undef ERR_MAX
00638 # define ERR_MAX EISCONN
00639 # endif
00640 #endif
00641 #ifdef ENOTCONN
00642 /*
00643 TRANS The socket is not connected to anything.  You get this error when you
00644 TRANS try to transmit data over a socket, without first specifying a
00645 TRANS destination for the data.  For a connectionless socket (for datagram
00646 TRANS protocols, such as UDP), you get @code{EDESTADDRREQ} instead. */
00647     [ERR_REMAP (ENOTCONN)] = N_("Transport endpoint is not connected"),
00648 # if ENOTCONN > ERR_MAX
00649 # undef ERR_MAX
00650 # define ERR_MAX ENOTCONN
00651 # endif
00652 #endif
00653 #ifdef EDESTADDRREQ
00654 /*
00655 TRANS No default destination address was set for the socket.  You get this
00656 TRANS error when you try to transmit data over a connectionless socket,
00657 TRANS without first specifying a destination for the data with @code{connect}. */
00658     [ERR_REMAP (EDESTADDRREQ)] = N_("Destination address required"),
00659 # if EDESTADDRREQ > ERR_MAX
00660 # undef ERR_MAX
00661 # define ERR_MAX EDESTADDRREQ
00662 # endif
00663 #endif
00664 #ifdef ESHUTDOWN
00665 /*
00666 TRANS The socket has already been shut down. */
00667     [ERR_REMAP (ESHUTDOWN)] = N_("Cannot send after transport endpoint shutdown"),
00668 # if ESHUTDOWN > ERR_MAX
00669 # undef ERR_MAX
00670 # define ERR_MAX ESHUTDOWN
00671 # endif
00672 #endif
00673 #ifdef ETOOMANYREFS
00674 /*
00675 TRANS ??? */
00676     [ERR_REMAP (ETOOMANYREFS)] = N_("Too many references: cannot splice"),
00677 # if ETOOMANYREFS > ERR_MAX
00678 # undef ERR_MAX
00679 # define ERR_MAX ETOOMANYREFS
00680 # endif
00681 #endif
00682 #ifdef ETIMEDOUT
00683 /*
00684 TRANS A socket operation with a specified timeout received no response during
00685 TRANS the timeout period. */
00686     [ERR_REMAP (ETIMEDOUT)] = N_("Connection timed out"),
00687 # if ETIMEDOUT > ERR_MAX
00688 # undef ERR_MAX
00689 # define ERR_MAX ETIMEDOUT
00690 # endif
00691 #endif
00692 #ifdef ECONNREFUSED
00693 /*
00694 TRANS A remote host refused to allow the network connection (typically because
00695 TRANS it is not running the requested service). */
00696     [ERR_REMAP (ECONNREFUSED)] = N_("Connection refused"),
00697 # if ECONNREFUSED > ERR_MAX
00698 # undef ERR_MAX
00699 # define ERR_MAX ECONNREFUSED
00700 # endif
00701 #endif
00702 #ifdef ELOOP
00703 /*
00704 TRANS Too many levels of symbolic links were encountered in looking up a file name.
00705 TRANS This often indicates a cycle of symbolic links. */
00706     [ERR_REMAP (ELOOP)] = N_("Too many levels of symbolic links"),
00707 # if ELOOP > ERR_MAX
00708 # undef ERR_MAX
00709 # define ERR_MAX ELOOP
00710 # endif
00711 #endif
00712 #ifdef ENAMETOOLONG
00713 /*
00714 TRANS Filename too long (longer than @code{PATH_MAX}; @pxref{Limits for
00715 TRANS Files}) or host name too long (in @code{gethostname} or
00716 TRANS @code{sethostname}; @pxref{Host Identification}). */
00717     [ERR_REMAP (ENAMETOOLONG)] = N_("File name too long"),
00718 # if ENAMETOOLONG > ERR_MAX
00719 # undef ERR_MAX
00720 # define ERR_MAX ENAMETOOLONG
00721 # endif
00722 #endif
00723 #ifdef EHOSTDOWN
00724 /*
00725 TRANS The remote host for a requested network connection is down. */
00726     [ERR_REMAP (EHOSTDOWN)] = N_("Host is down"),
00727 # if EHOSTDOWN > ERR_MAX
00728 # undef ERR_MAX
00729 # define ERR_MAX EHOSTDOWN
00730 # endif
00731 #endif
00732 #ifdef EHOSTUNREACH
00733 /*
00734 TRANS The remote host for a requested network connection is not reachable. */
00735     [ERR_REMAP (EHOSTUNREACH)] = N_("No route to host"),
00736 # if EHOSTUNREACH > ERR_MAX
00737 # undef ERR_MAX
00738 # define ERR_MAX EHOSTUNREACH
00739 # endif
00740 #endif
00741 #ifdef ENOTEMPTY
00742 /*
00743 TRANS Directory not empty, where an empty directory was expected.  Typically,
00744 TRANS this error occurs when you are trying to delete a directory. */
00745     [ERR_REMAP (ENOTEMPTY)] = N_("Directory not empty"),
00746 # if ENOTEMPTY > ERR_MAX
00747 # undef ERR_MAX
00748 # define ERR_MAX ENOTEMPTY
00749 # endif
00750 #endif
00751 #ifdef EPROCLIM
00752 /*
00753 TRANS This means that the per-user limit on new process would be exceeded by
00754 TRANS an attempted @code{fork}.  @xref{Limits on Resources}, for details on
00755 TRANS the @code{RLIMIT_NPROC} limit. */
00756     [ERR_REMAP (EPROCLIM)] = N_("Too many processes"),
00757 # if EPROCLIM > ERR_MAX
00758 # undef ERR_MAX
00759 # define ERR_MAX EPROCLIM
00760 # endif
00761 #endif
00762 #ifdef EUSERS
00763 /*
00764 TRANS The file quota system is confused because there are too many users.
00765 TRANS @c This can probably happen in a GNU system when using NFS. */
00766     [ERR_REMAP (EUSERS)] = N_("Too many users"),
00767 # if EUSERS > ERR_MAX
00768 # undef ERR_MAX
00769 # define ERR_MAX EUSERS
00770 # endif
00771 #endif
00772 #ifdef EDQUOT
00773 /*
00774 TRANS The user's disk quota was exceeded. */
00775     [ERR_REMAP (EDQUOT)] = N_("Disk quota exceeded"),
00776 # if EDQUOT > ERR_MAX
00777 # undef ERR_MAX
00778 # define ERR_MAX EDQUOT
00779 # endif
00780 #endif
00781 #ifdef ESTALE
00782 /*
00783 TRANS Stale NFS file handle.  This indicates an internal confusion in the NFS
00784 TRANS system which is due to file system rearrangements on the server host.
00785 TRANS Repairing this condition usually requires unmounting and remounting
00786 TRANS the NFS file system on the local host. */
00787     [ERR_REMAP (ESTALE)] = N_("Stale NFS file handle"),
00788 # if ESTALE > ERR_MAX
00789 # undef ERR_MAX
00790 # define ERR_MAX ESTALE
00791 # endif
00792 #endif
00793 #ifdef EREMOTE
00794 /*
00795 TRANS An attempt was made to NFS-mount a remote file system with a file name that
00796 TRANS already specifies an NFS-mounted file.
00797 TRANS (This is an error on some operating systems, but we expect it to work
00798 TRANS properly on the GNU system, making this error code impossible.) */
00799     [ERR_REMAP (EREMOTE)] = N_("Object is remote"),
00800 # if EREMOTE > ERR_MAX
00801 # undef ERR_MAX
00802 # define ERR_MAX EREMOTE
00803 # endif
00804 #endif
00805 #ifdef EBADRPC
00806 /*
00807 TRANS ??? */
00808     [ERR_REMAP (EBADRPC)] = N_("RPC struct is bad"),
00809 # if EBADRPC > ERR_MAX
00810 # undef ERR_MAX
00811 # define ERR_MAX EBADRPC
00812 # endif
00813 #endif
00814 #ifdef ERPCMISMATCH
00815 /*
00816 TRANS ??? */
00817     [ERR_REMAP (ERPCMISMATCH)] = N_("RPC version wrong"),
00818 # if ERPCMISMATCH > ERR_MAX
00819 # undef ERR_MAX
00820 # define ERR_MAX ERPCMISMATCH
00821 # endif
00822 #endif
00823 #ifdef EPROGUNAVAIL
00824 /*
00825 TRANS ??? */
00826     [ERR_REMAP (EPROGUNAVAIL)] = N_("RPC program not available"),
00827 # if EPROGUNAVAIL > ERR_MAX
00828 # undef ERR_MAX
00829 # define ERR_MAX EPROGUNAVAIL
00830 # endif
00831 #endif
00832 #ifdef EPROGMISMATCH
00833 /*
00834 TRANS ??? */
00835     [ERR_REMAP (EPROGMISMATCH)] = N_("RPC program version wrong"),
00836 # if EPROGMISMATCH > ERR_MAX
00837 # undef ERR_MAX
00838 # define ERR_MAX EPROGMISMATCH
00839 # endif
00840 #endif
00841 #ifdef EPROCUNAVAIL
00842 /*
00843 TRANS ??? */
00844     [ERR_REMAP (EPROCUNAVAIL)] = N_("RPC bad procedure for program"),
00845 # if EPROCUNAVAIL > ERR_MAX
00846 # undef ERR_MAX
00847 # define ERR_MAX EPROCUNAVAIL
00848 # endif
00849 #endif
00850 #ifdef ENOLCK
00851 /*
00852 TRANS No locks available.  This is used by the file locking facilities; see
00853 TRANS @ref{File Locks}.  This error is never generated by the GNU system, but
00854 TRANS it can result from an operation to an NFS server running another
00855 TRANS operating system. */
00856     [ERR_REMAP (ENOLCK)] = N_("No locks available"),
00857 # if ENOLCK > ERR_MAX
00858 # undef ERR_MAX
00859 # define ERR_MAX ENOLCK
00860 # endif
00861 #endif
00862 #ifdef EFTYPE
00863 /*
00864 TRANS Inappropriate file type or format.  The file was the wrong type for the
00865 TRANS operation, or a data file had the wrong format.
00866 TRANS 
00867 TRANS On some systems @code{chmod} returns this error if you try to set the
00868 TRANS sticky bit on a non-directory file; @pxref{Setting Permissions}. */
00869     [ERR_REMAP (EFTYPE)] = N_("Inappropriate file type or format"),
00870 # if EFTYPE > ERR_MAX
00871 # undef ERR_MAX
00872 # define ERR_MAX EFTYPE
00873 # endif
00874 #endif
00875 #ifdef EAUTH
00876 /*
00877 TRANS ??? */
00878     [ERR_REMAP (EAUTH)] = N_("Authentication error"),
00879 # if EAUTH > ERR_MAX
00880 # undef ERR_MAX
00881 # define ERR_MAX EAUTH
00882 # endif
00883 #endif
00884 #ifdef ENEEDAUTH
00885 /*
00886 TRANS ??? */
00887     [ERR_REMAP (ENEEDAUTH)] = N_("Need authenticator"),
00888 # if ENEEDAUTH > ERR_MAX
00889 # undef ERR_MAX
00890 # define ERR_MAX ENEEDAUTH
00891 # endif
00892 #endif
00893 #ifdef ENOSYS
00894 /*
00895 TRANS Function not implemented.  This indicates that the function called is
00896 TRANS not implemented at all, either in the C library itself or in the
00897 TRANS operating system.  When you get this error, you can be sure that this
00898 TRANS particular function will always fail with @code{ENOSYS} unless you
00899 TRANS install a new version of the C library or the operating system. */
00900     [ERR_REMAP (ENOSYS)] = N_("Function not implemented"),
00901 # if ENOSYS > ERR_MAX
00902 # undef ERR_MAX
00903 # define ERR_MAX ENOSYS
00904 # endif
00905 #endif
00906 #if defined (ENOTSUP) && ENOTSUP != EOPNOTSUPP
00907 /*
00908 TRANS Not supported.  A function returns this error when certain parameter
00909 TRANS values are valid, but the functionality they request is not available.
00910 TRANS This can mean that the function does not implement a particular command
00911 TRANS or option value or flag bit at all.  For functions that operate on some
00912 TRANS object given in a parameter, such as a file descriptor or a port, it
00913 TRANS might instead mean that only @emph{that specific object} (file
00914 TRANS descriptor, port, etc.) is unable to support the other parameters given;
00915 TRANS different file descriptors might support different ranges of parameter
00916 TRANS values.
00917 TRANS 
00918 TRANS If the entire function is not available at all in the implementation,
00919 TRANS it returns @code{ENOSYS} instead. */
00920     [ERR_REMAP (ENOTSUP)] = N_("Not supported"),
00921 # if ENOTSUP > ERR_MAX
00922 # undef ERR_MAX
00923 # define ERR_MAX ENOTSUP
00924 # endif
00925 #endif
00926 #ifdef EILSEQ
00927 /*
00928 TRANS While decoding a multibyte character the function came along an invalid
00929 TRANS or an incomplete sequence of bytes or the given wide character is invalid. */
00930     [ERR_REMAP (EILSEQ)] = N_("Invalid or incomplete multibyte or wide character"),
00931 # if EILSEQ > ERR_MAX
00932 # undef ERR_MAX
00933 # define ERR_MAX EILSEQ
00934 # endif
00935 #endif
00936 #ifdef EBACKGROUND
00937 /*
00938 TRANS In the GNU system, servers supporting the @code{term} protocol return
00939 TRANS this error for certain operations when the caller is not in the
00940 TRANS foreground process group of the terminal.  Users do not usually see this
00941 TRANS error because functions such as @code{read} and @code{write} translate
00942 TRANS it into a @code{SIGTTIN} or @code{SIGTTOU} signal.  @xref{Job Control},
00943 TRANS for information on process groups and these signals. */
00944     [ERR_REMAP (EBACKGROUND)] = N_("Inappropriate operation for background process"),
00945 # if EBACKGROUND > ERR_MAX
00946 # undef ERR_MAX
00947 # define ERR_MAX EBACKGROUND
00948 # endif
00949 #endif
00950 #ifdef EDIED
00951 /*
00952 TRANS In the GNU system, opening a file returns this error when the file is
00953 TRANS translated by a program and the translator program dies while starting
00954 TRANS up, before it has connected to the file. */
00955     [ERR_REMAP (EDIED)] = N_("Translator died"),
00956 # if EDIED > ERR_MAX
00957 # undef ERR_MAX
00958 # define ERR_MAX EDIED
00959 # endif
00960 #endif
00961 #ifdef ED
00962 /*
00963 TRANS The experienced user will know what is wrong.
00964 TRANS @c This error code is a joke.  Its perror text is part of the joke.
00965 TRANS @c Don't change it. */
00966     [ERR_REMAP (ED)] = N_("?"),
00967 # if ED > ERR_MAX
00968 # undef ERR_MAX
00969 # define ERR_MAX ED
00970 # endif
00971 #endif
00972 #ifdef EGREGIOUS
00973 /*
00974 TRANS You did @strong{what}? */
00975     [ERR_REMAP (EGREGIOUS)] = N_("You really blew it this time"),
00976 # if EGREGIOUS > ERR_MAX
00977 # undef ERR_MAX
00978 # define ERR_MAX EGREGIOUS
00979 # endif
00980 #endif
00981 #ifdef EIEIO
00982 /*
00983 TRANS Go home and have a glass of warm, dairy-fresh milk. */
00984     [ERR_REMAP (EIEIO)] = N_("Computer bought the farm"),
00985 # if EIEIO > ERR_MAX
00986 # undef ERR_MAX
00987 # define ERR_MAX EIEIO
00988 # endif
00989 #endif
00990 #ifdef EGRATUITOUS
00991 /*
00992 TRANS This error code has no purpose. */
00993     [ERR_REMAP (EGRATUITOUS)] = N_("Gratuitous error"),
00994 # if EGRATUITOUS > ERR_MAX
00995 # undef ERR_MAX
00996 # define ERR_MAX EGRATUITOUS
00997 # endif
00998 #endif
00999 #ifdef EBADMSG
01000 /* */
01001     [ERR_REMAP (EBADMSG)] = N_("Bad message"),
01002 # if EBADMSG > ERR_MAX
01003 # undef ERR_MAX
01004 # define ERR_MAX EBADMSG
01005 # endif
01006 #endif
01007 #ifdef EIDRM
01008 /* */
01009     [ERR_REMAP (EIDRM)] = N_("Identifier removed"),
01010 # if EIDRM > ERR_MAX
01011 # undef ERR_MAX
01012 # define ERR_MAX EIDRM
01013 # endif
01014 #endif
01015 #ifdef EMULTIHOP
01016 /* */
01017     [ERR_REMAP (EMULTIHOP)] = N_("Multihop attempted"),
01018 # if EMULTIHOP > ERR_MAX
01019 # undef ERR_MAX
01020 # define ERR_MAX EMULTIHOP
01021 # endif
01022 #endif
01023 #ifdef ENODATA
01024 /* */
01025     [ERR_REMAP (ENODATA)] = N_("No data available"),
01026 # if ENODATA > ERR_MAX
01027 # undef ERR_MAX
01028 # define ERR_MAX ENODATA
01029 # endif
01030 #endif
01031 #ifdef ENOLINK
01032 /* */
01033     [ERR_REMAP (ENOLINK)] = N_("Link has been severed"),
01034 # if ENOLINK > ERR_MAX
01035 # undef ERR_MAX
01036 # define ERR_MAX ENOLINK
01037 # endif
01038 #endif
01039 #ifdef ENOMSG
01040 /* */
01041     [ERR_REMAP (ENOMSG)] = N_("No message of desired type"),
01042 # if ENOMSG > ERR_MAX
01043 # undef ERR_MAX
01044 # define ERR_MAX ENOMSG
01045 # endif
01046 #endif
01047 #ifdef ENOSR
01048 /* */
01049     [ERR_REMAP (ENOSR)] = N_("Out of streams resources"),
01050 # if ENOSR > ERR_MAX
01051 # undef ERR_MAX
01052 # define ERR_MAX ENOSR
01053 # endif
01054 #endif
01055 #ifdef ENOSTR
01056 /* */
01057     [ERR_REMAP (ENOSTR)] = N_("Device not a stream"),
01058 # if ENOSTR > ERR_MAX
01059 # undef ERR_MAX
01060 # define ERR_MAX ENOSTR
01061 # endif
01062 #endif
01063 #ifdef EOVERFLOW
01064 /* */
01065     [ERR_REMAP (EOVERFLOW)] = N_("Value too large for defined data type"),
01066 # if EOVERFLOW > ERR_MAX
01067 # undef ERR_MAX
01068 # define ERR_MAX EOVERFLOW
01069 # endif
01070 #endif
01071 #ifdef EPROTO
01072 /* */
01073     [ERR_REMAP (EPROTO)] = N_("Protocol error"),
01074 # if EPROTO > ERR_MAX
01075 # undef ERR_MAX
01076 # define ERR_MAX EPROTO
01077 # endif
01078 #endif
01079 #ifdef ETIME
01080 /* */
01081     [ERR_REMAP (ETIME)] = N_("Timer expired"),
01082 # if ETIME > ERR_MAX
01083 # undef ERR_MAX
01084 # define ERR_MAX ETIME
01085 # endif
01086 #endif
01087 #ifdef ECANCELED
01088 /*
01089 TRANS Operation canceled; an asynchronous operation was canceled before it
01090 TRANS completed.  @xref{Asynchronous I/O}.  When you call @code{aio_cancel},
01091 TRANS the normal result is for the operations affected to complete with this
01092 TRANS error; @pxref{Cancel AIO Operations}. */
01093     [ERR_REMAP (ECANCELED)] = N_("Operation canceled"),
01094 # if ECANCELED > ERR_MAX
01095 # undef ERR_MAX
01096 # define ERR_MAX ECANCELED
01097 # endif
01098 #endif
01099 #ifdef ERESTART
01100 /* */
01101     [ERR_REMAP (ERESTART)] = N_("Interrupted system call should be restarted"),
01102 # if ERESTART > ERR_MAX
01103 # undef ERR_MAX
01104 # define ERR_MAX ERESTART
01105 # endif
01106 #endif
01107 #ifdef ECHRNG
01108 /* */
01109     [ERR_REMAP (ECHRNG)] = N_("Channel number out of range"),
01110 # if ECHRNG > ERR_MAX
01111 # undef ERR_MAX
01112 # define ERR_MAX ECHRNG
01113 # endif
01114 #endif
01115 #ifdef EL2NSYNC
01116 /* */
01117     [ERR_REMAP (EL2NSYNC)] = N_("Level 2 not synchronized"),
01118 # if EL2NSYNC > ERR_MAX
01119 # undef ERR_MAX
01120 # define ERR_MAX EL2NSYNC
01121 # endif
01122 #endif
01123 #ifdef EL3HLT
01124 /* */
01125     [ERR_REMAP (EL3HLT)] = N_("Level 3 halted"),
01126 # if EL3HLT > ERR_MAX
01127 # undef ERR_MAX
01128 # define ERR_MAX EL3HLT
01129 # endif
01130 #endif
01131 #ifdef EL3RST
01132 /* */
01133     [ERR_REMAP (EL3RST)] = N_("Level 3 reset"),
01134 # if EL3RST > ERR_MAX
01135 # undef ERR_MAX
01136 # define ERR_MAX EL3RST
01137 # endif
01138 #endif
01139 #ifdef ELNRNG
01140 /* */
01141     [ERR_REMAP (ELNRNG)] = N_("Link number out of range"),
01142 # if ELNRNG > ERR_MAX
01143 # undef ERR_MAX
01144 # define ERR_MAX ELNRNG
01145 # endif
01146 #endif
01147 #ifdef EUNATCH
01148 /* */
01149     [ERR_REMAP (EUNATCH)] = N_("Protocol driver not attached"),
01150 # if EUNATCH > ERR_MAX
01151 # undef ERR_MAX
01152 # define ERR_MAX EUNATCH
01153 # endif
01154 #endif
01155 #ifdef ENOCSI
01156 /* */
01157     [ERR_REMAP (ENOCSI)] = N_("No CSI structure available"),
01158 # if ENOCSI > ERR_MAX
01159 # undef ERR_MAX
01160 # define ERR_MAX ENOCSI
01161 # endif
01162 #endif
01163 #ifdef EL2HLT
01164 /* */
01165     [ERR_REMAP (EL2HLT)] = N_("Level 2 halted"),
01166 # if EL2HLT > ERR_MAX
01167 # undef ERR_MAX
01168 # define ERR_MAX EL2HLT
01169 # endif
01170 #endif
01171 #ifdef EBADE
01172 /* */
01173     [ERR_REMAP (EBADE)] = N_("Invalid exchange"),
01174 # if EBADE > ERR_MAX
01175 # undef ERR_MAX
01176 # define ERR_MAX EBADE
01177 # endif
01178 #endif
01179 #ifdef EBADR
01180 /* */
01181     [ERR_REMAP (EBADR)] = N_("Invalid request descriptor"),
01182 # if EBADR > ERR_MAX
01183 # undef ERR_MAX
01184 # define ERR_MAX EBADR
01185 # endif
01186 #endif
01187 #ifdef EXFULL
01188 /* */
01189     [ERR_REMAP (EXFULL)] = N_("Exchange full"),
01190 # if EXFULL > ERR_MAX
01191 # undef ERR_MAX
01192 # define ERR_MAX EXFULL
01193 # endif
01194 #endif
01195 #ifdef ENOANO
01196 /* */
01197     [ERR_REMAP (ENOANO)] = N_("No anode"),
01198 # if ENOANO > ERR_MAX
01199 # undef ERR_MAX
01200 # define ERR_MAX ENOANO
01201 # endif
01202 #endif
01203 #ifdef EBADRQC
01204 /* */
01205     [ERR_REMAP (EBADRQC)] = N_("Invalid request code"),
01206 # if EBADRQC > ERR_MAX
01207 # undef ERR_MAX
01208 # define ERR_MAX EBADRQC
01209 # endif
01210 #endif
01211 #ifdef EBADSLT
01212 /* */
01213     [ERR_REMAP (EBADSLT)] = N_("Invalid slot"),
01214 # if EBADSLT > ERR_MAX
01215 # undef ERR_MAX
01216 # define ERR_MAX EBADSLT
01217 # endif
01218 #endif
01219 #if defined (EDEADLOCK) && EDEADLOCK != EDEADLK
01220 /* */
01221     [ERR_REMAP (EDEADLOCK)] = N_("File locking deadlock error"),
01222 # if EDEADLOCK > ERR_MAX
01223 # undef ERR_MAX
01224 # define ERR_MAX EDEADLOCK
01225 # endif
01226 #endif
01227 #ifdef EBFONT
01228 /* */
01229     [ERR_REMAP (EBFONT)] = N_("Bad font file format"),
01230 # if EBFONT > ERR_MAX
01231 # undef ERR_MAX
01232 # define ERR_MAX EBFONT
01233 # endif
01234 #endif
01235 #ifdef ENONET
01236 /* */
01237     [ERR_REMAP (ENONET)] = N_("Machine is not on the network"),
01238 # if ENONET > ERR_MAX
01239 # undef ERR_MAX
01240 # define ERR_MAX ENONET
01241 # endif
01242 #endif
01243 #ifdef ENOPKG
01244 /* */
01245     [ERR_REMAP (ENOPKG)] = N_("Package not installed"),
01246 # if ENOPKG > ERR_MAX
01247 # undef ERR_MAX
01248 # define ERR_MAX ENOPKG
01249 # endif
01250 #endif
01251 #ifdef EADV
01252 /* */
01253     [ERR_REMAP (EADV)] = N_("Advertise error"),
01254 # if EADV > ERR_MAX
01255 # undef ERR_MAX
01256 # define ERR_MAX EADV
01257 # endif
01258 #endif
01259 #ifdef ESRMNT
01260 /* */
01261     [ERR_REMAP (ESRMNT)] = N_("Srmount error"),
01262 # if ESRMNT > ERR_MAX
01263 # undef ERR_MAX
01264 # define ERR_MAX ESRMNT
01265 # endif
01266 #endif
01267 #ifdef ECOMM
01268 /* */
01269     [ERR_REMAP (ECOMM)] = N_("Communication error on send"),
01270 # if ECOMM > ERR_MAX
01271 # undef ERR_MAX
01272 # define ERR_MAX ECOMM
01273 # endif
01274 #endif
01275 #ifdef EDOTDOT
01276 /* */
01277     [ERR_REMAP (EDOTDOT)] = N_("RFS specific error"),
01278 # if EDOTDOT > ERR_MAX
01279 # undef ERR_MAX
01280 # define ERR_MAX EDOTDOT
01281 # endif
01282 #endif
01283 #ifdef ENOTUNIQ
01284 /* */
01285     [ERR_REMAP (ENOTUNIQ)] = N_("Name not unique on network"),
01286 # if ENOTUNIQ > ERR_MAX
01287 # undef ERR_MAX
01288 # define ERR_MAX ENOTUNIQ
01289 # endif
01290 #endif
01291 #ifdef EBADFD
01292 /* */
01293     [ERR_REMAP (EBADFD)] = N_("File descriptor in bad state"),
01294 # if EBADFD > ERR_MAX
01295 # undef ERR_MAX
01296 # define ERR_MAX EBADFD
01297 # endif
01298 #endif
01299 #ifdef EREMCHG
01300 /* */
01301     [ERR_REMAP (EREMCHG)] = N_("Remote address changed"),
01302 # if EREMCHG > ERR_MAX
01303 # undef ERR_MAX
01304 # define ERR_MAX EREMCHG
01305 # endif
01306 #endif
01307 #ifdef ELIBACC
01308 /* */
01309     [ERR_REMAP (ELIBACC)] = N_("Can not access a needed shared library"),
01310 # if ELIBACC > ERR_MAX
01311 # undef ERR_MAX
01312 # define ERR_MAX ELIBACC
01313 # endif
01314 #endif
01315 #ifdef ELIBBAD
01316 /* */
01317     [ERR_REMAP (ELIBBAD)] = N_("Accessing a corrupted shared library"),
01318 # if ELIBBAD > ERR_MAX
01319 # undef ERR_MAX
01320 # define ERR_MAX ELIBBAD
01321 # endif
01322 #endif
01323 #ifdef ELIBSCN
01324 /* */
01325     [ERR_REMAP (ELIBSCN)] = N_(".lib section in a.out corrupted"),
01326 # if ELIBSCN > ERR_MAX
01327 # undef ERR_MAX
01328 # define ERR_MAX ELIBSCN
01329 # endif
01330 #endif
01331 #ifdef ELIBMAX
01332 /* */
01333     [ERR_REMAP (ELIBMAX)] = N_("Attempting to link in too many shared libraries"),
01334 # if ELIBMAX > ERR_MAX
01335 # undef ERR_MAX
01336 # define ERR_MAX ELIBMAX
01337 # endif
01338 #endif
01339 #ifdef ELIBEXEC
01340 /* */
01341     [ERR_REMAP (ELIBEXEC)] = N_("Cannot exec a shared library directly"),
01342 # if ELIBEXEC > ERR_MAX
01343 # undef ERR_MAX
01344 # define ERR_MAX ELIBEXEC
01345 # endif
01346 #endif
01347 #ifdef ESTRPIPE
01348 /* */
01349     [ERR_REMAP (ESTRPIPE)] = N_("Streams pipe error"),
01350 # if ESTRPIPE > ERR_MAX
01351 # undef ERR_MAX
01352 # define ERR_MAX ESTRPIPE
01353 # endif
01354 #endif
01355 #ifdef EUCLEAN
01356 /* */
01357     [ERR_REMAP (EUCLEAN)] = N_("Structure needs cleaning"),
01358 # if EUCLEAN > ERR_MAX
01359 # undef ERR_MAX
01360 # define ERR_MAX EUCLEAN
01361 # endif
01362 #endif
01363 #ifdef ENOTNAM
01364 /* */
01365     [ERR_REMAP (ENOTNAM)] = N_("Not a XENIX named type file"),
01366 # if ENOTNAM > ERR_MAX
01367 # undef ERR_MAX
01368 # define ERR_MAX ENOTNAM
01369 # endif
01370 #endif
01371 #ifdef ENAVAIL
01372 /* */
01373     [ERR_REMAP (ENAVAIL)] = N_("No XENIX semaphores available"),
01374 # if ENAVAIL > ERR_MAX
01375 # undef ERR_MAX
01376 # define ERR_MAX ENAVAIL
01377 # endif
01378 #endif
01379 #ifdef EISNAM
01380 /* */
01381     [ERR_REMAP (EISNAM)] = N_("Is a named type file"),
01382 # if EISNAM > ERR_MAX
01383 # undef ERR_MAX
01384 # define ERR_MAX EISNAM
01385 # endif
01386 #endif
01387 #ifdef EREMOTEIO
01388 /* */
01389     [ERR_REMAP (EREMOTEIO)] = N_("Remote I/O error"),
01390 # if EREMOTEIO > ERR_MAX
01391 # undef ERR_MAX
01392 # define ERR_MAX EREMOTEIO
01393 # endif
01394 #endif
01395 #ifdef ENOMEDIUM
01396 /* */
01397     [ERR_REMAP (ENOMEDIUM)] = N_("No medium found"),
01398 # if ENOMEDIUM > ERR_MAX
01399 # undef ERR_MAX
01400 # define ERR_MAX ENOMEDIUM
01401 # endif
01402 #endif
01403 #ifdef EMEDIUMTYPE
01404 /* */
01405     [ERR_REMAP (EMEDIUMTYPE)] = N_("Wrong medium type"),
01406 # if EMEDIUMTYPE > ERR_MAX
01407 # undef ERR_MAX
01408 # define ERR_MAX EMEDIUMTYPE
01409 # endif
01410 #endif
01411 #ifdef ENOKEY
01412 /* */
01413     [ERR_REMAP (ENOKEY)] = N_("Required key not available"),
01414 # if ENOKEY > ERR_MAX
01415 # undef ERR_MAX
01416 # define ERR_MAX ENOKEY
01417 # endif
01418 #endif
01419 #ifdef EKEYEXPIRED
01420 /* */
01421     [ERR_REMAP (EKEYEXPIRED)] = N_("Key has expired"),
01422 # if EKEYEXPIRED > ERR_MAX
01423 # undef ERR_MAX
01424 # define ERR_MAX EKEYEXPIRED
01425 # endif
01426 #endif
01427 #ifdef EKEYREVOKED
01428 /* */
01429     [ERR_REMAP (EKEYREVOKED)] = N_("Key has been revoked"),
01430 # if EKEYREVOKED > ERR_MAX
01431 # undef ERR_MAX
01432 # define ERR_MAX EKEYREVOKED
01433 # endif
01434 #endif
01435 #ifdef EKEYREJECTED
01436 /* */
01437     [ERR_REMAP (EKEYREJECTED)] = N_("Key was rejected by service"),
01438 # if EKEYREJECTED > ERR_MAX
01439 # undef ERR_MAX
01440 # define ERR_MAX EKEYREJECTED
01441 # endif
01442 #endif
01443 #ifdef EOWNERDEAD
01444 /* */
01445     [ERR_REMAP (EOWNERDEAD)] = N_("Owner died"),
01446 # if EOWNERDEAD > ERR_MAX
01447 # undef ERR_MAX
01448 # define ERR_MAX EOWNERDEAD
01449 # endif
01450 #endif
01451 #ifdef ENOTRECOVERABLE
01452 /* */
01453     [ERR_REMAP (ENOTRECOVERABLE)] = N_("State not recoverable"),
01454 # if ENOTRECOVERABLE > ERR_MAX
01455 # undef ERR_MAX
01456 # define ERR_MAX ENOTRECOVERABLE
01457 # endif
01458 #endif
01459   };
01460 
01461 #define NERR \
01462   (sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0])
01463 const int _sys_nerr_internal = NERR;
01464 
01465 #if !defined NOT_IN_libc && !ERRLIST_NO_COMPAT
01466 # include <errlist-compat.c>
01467 #endif
01468 
01469 #ifdef EMIT_ERR_MAX
01470 void dummy (void)
01471 { asm volatile (" @@@ %0 @@@ " : : "i" (ERR_REMAP (ERR_MAX))); }
01472 #endif