| 1 | /* This file is generated from errno.texi by errlist.awk. */ |
| 2 | |
| 3 | #include <errno.h> |
| 4 | #include <libintl.h> |
| 5 | |
| 6 | #ifndef ERR_REMAP |
| 7 | # define ERR_REMAP(n) n |
| 8 | #endif |
| 9 | |
| 10 | #if !defined EMIT_ERR_MAX && !defined ERRLIST_NO_COMPAT |
| 11 | # include <errlist-compat.h> |
| 12 | #endif |
| 13 | #ifdef ERR_MAX |
| 14 | # define ERRLIST_SIZE ERR_MAX + 1 |
| 15 | #else |
| 16 | # define ERR_MAX 0 |
| 17 | # define ERRLIST_SIZE |
| 18 | #endif |
| 19 | const char *const _sys_errlist_internal[ERRLIST_SIZE] = |
| 20 | { |
| 21 | [0] = N_("Success" ), |
| 22 | #ifdef EPERM |
| 23 | /* |
| 24 | TRANS Only the owner of the file (or other resource) |
| 25 | TRANS or processes with special privileges can perform the operation. */ |
| 26 | [ERR_REMAP (EPERM)] = N_("Operation not permitted" ), |
| 27 | # if EPERM > ERR_MAX |
| 28 | # undef ERR_MAX |
| 29 | # define ERR_MAX EPERM |
| 30 | # endif |
| 31 | #endif |
| 32 | #ifdef ENOENT |
| 33 | /* |
| 34 | TRANS This is a ``file doesn't exist'' error |
| 35 | TRANS for ordinary files that are referenced in contexts where they are |
| 36 | TRANS expected to already exist. */ |
| 37 | [ERR_REMAP (ENOENT)] = N_("No such file or directory" ), |
| 38 | # if ENOENT > ERR_MAX |
| 39 | # undef ERR_MAX |
| 40 | # define ERR_MAX ENOENT |
| 41 | # endif |
| 42 | #endif |
| 43 | #ifdef ESRCH |
| 44 | /* |
| 45 | TRANS No process matches the specified process ID. */ |
| 46 | [ERR_REMAP (ESRCH)] = N_("No such process" ), |
| 47 | # if ESRCH > ERR_MAX |
| 48 | # undef ERR_MAX |
| 49 | # define ERR_MAX ESRCH |
| 50 | # endif |
| 51 | #endif |
| 52 | #ifdef EINTR |
| 53 | /* |
| 54 | TRANS An asynchronous signal occurred and prevented |
| 55 | TRANS completion of the call. When this happens, you should try the call |
| 56 | TRANS again. |
| 57 | TRANS |
| 58 | TRANS You can choose to have functions resume after a signal that is handled, |
| 59 | TRANS rather than failing with @code{EINTR}; see @ref{Interrupted |
| 60 | TRANS Primitives}. */ |
| 61 | [ERR_REMAP (EINTR)] = N_("Interrupted system call" ), |
| 62 | # if EINTR > ERR_MAX |
| 63 | # undef ERR_MAX |
| 64 | # define ERR_MAX EINTR |
| 65 | # endif |
| 66 | #endif |
| 67 | #ifdef EIO |
| 68 | /* |
| 69 | TRANS Usually used for physical read or write errors. */ |
| 70 | [ERR_REMAP (EIO)] = N_("Input/output error" ), |
| 71 | # if EIO > ERR_MAX |
| 72 | # undef ERR_MAX |
| 73 | # define ERR_MAX EIO |
| 74 | # endif |
| 75 | #endif |
| 76 | #ifdef ENXIO |
| 77 | /* |
| 78 | TRANS The system tried to use the device |
| 79 | TRANS represented by a file you specified, and it couldn't find the device. |
| 80 | TRANS This can mean that the device file was installed incorrectly, or that |
| 81 | TRANS the physical device is missing or not correctly attached to the |
| 82 | TRANS computer. */ |
| 83 | [ERR_REMAP (ENXIO)] = N_("No such device or address" ), |
| 84 | # if ENXIO > ERR_MAX |
| 85 | # undef ERR_MAX |
| 86 | # define ERR_MAX ENXIO |
| 87 | # endif |
| 88 | #endif |
| 89 | #ifdef E2BIG |
| 90 | /* |
| 91 | TRANS Used when the arguments passed to a new program |
| 92 | TRANS being executed with one of the @code{exec} functions (@pxref{Executing a |
| 93 | TRANS File}) occupy too much memory space. This condition never arises on |
| 94 | TRANS @gnuhurdsystems{}. */ |
| 95 | [ERR_REMAP (E2BIG)] = N_("Argument list too long" ), |
| 96 | # if E2BIG > ERR_MAX |
| 97 | # undef ERR_MAX |
| 98 | # define ERR_MAX E2BIG |
| 99 | # endif |
| 100 | #endif |
| 101 | #ifdef ENOEXEC |
| 102 | /* |
| 103 | TRANS Invalid executable file format. This condition is detected by the |
| 104 | TRANS @code{exec} functions; see @ref{Executing a File}. */ |
| 105 | [ERR_REMAP (ENOEXEC)] = N_("Exec format error" ), |
| 106 | # if ENOEXEC > ERR_MAX |
| 107 | # undef ERR_MAX |
| 108 | # define ERR_MAX ENOEXEC |
| 109 | # endif |
| 110 | #endif |
| 111 | #ifdef EBADF |
| 112 | /* |
| 113 | TRANS For example, I/O on a descriptor that has been |
| 114 | TRANS closed or reading from a descriptor open only for writing (or vice |
| 115 | TRANS versa). */ |
| 116 | [ERR_REMAP (EBADF)] = N_("Bad file descriptor" ), |
| 117 | # if EBADF > ERR_MAX |
| 118 | # undef ERR_MAX |
| 119 | # define ERR_MAX EBADF |
| 120 | # endif |
| 121 | #endif |
| 122 | #ifdef ECHILD |
| 123 | /* |
| 124 | TRANS This error happens on operations that are |
| 125 | TRANS supposed to manipulate child processes, when there aren't any processes |
| 126 | TRANS to manipulate. */ |
| 127 | [ERR_REMAP (ECHILD)] = N_("No child processes" ), |
| 128 | # if ECHILD > ERR_MAX |
| 129 | # undef ERR_MAX |
| 130 | # define ERR_MAX ECHILD |
| 131 | # endif |
| 132 | #endif |
| 133 | #ifdef EDEADLK |
| 134 | /* |
| 135 | TRANS Allocating a system resource would have resulted in a |
| 136 | TRANS deadlock situation. The system does not guarantee that it will notice |
| 137 | TRANS all such situations. This error means you got lucky and the system |
| 138 | TRANS noticed; it might just hang. @xref{File Locks}, for an example. */ |
| 139 | [ERR_REMAP (EDEADLK)] = N_("Resource deadlock avoided" ), |
| 140 | # if EDEADLK > ERR_MAX |
| 141 | # undef ERR_MAX |
| 142 | # define ERR_MAX EDEADLK |
| 143 | # endif |
| 144 | #endif |
| 145 | #ifdef ENOMEM |
| 146 | /* |
| 147 | TRANS The system cannot allocate more virtual memory |
| 148 | TRANS because its capacity is full. */ |
| 149 | [ERR_REMAP (ENOMEM)] = N_("Cannot allocate memory" ), |
| 150 | # if ENOMEM > ERR_MAX |
| 151 | # undef ERR_MAX |
| 152 | # define ERR_MAX ENOMEM |
| 153 | # endif |
| 154 | #endif |
| 155 | #ifdef EACCES |
| 156 | /* |
| 157 | TRANS The file permissions do not allow the attempted operation. */ |
| 158 | [ERR_REMAP (EACCES)] = N_("Permission denied" ), |
| 159 | # if EACCES > ERR_MAX |
| 160 | # undef ERR_MAX |
| 161 | # define ERR_MAX EACCES |
| 162 | # endif |
| 163 | #endif |
| 164 | #ifdef EFAULT |
| 165 | /* |
| 166 | TRANS An invalid pointer was detected. |
| 167 | TRANS On @gnuhurdsystems{}, this error never happens; you get a signal instead. */ |
| 168 | [ERR_REMAP (EFAULT)] = N_("Bad address" ), |
| 169 | # if EFAULT > ERR_MAX |
| 170 | # undef ERR_MAX |
| 171 | # define ERR_MAX EFAULT |
| 172 | # endif |
| 173 | #endif |
| 174 | #ifdef ENOTBLK |
| 175 | /* |
| 176 | TRANS A file that isn't a block special file was given in a situation that |
| 177 | TRANS requires one. For example, trying to mount an ordinary file as a file |
| 178 | TRANS system in Unix gives this error. */ |
| 179 | [ERR_REMAP (ENOTBLK)] = N_("Block device required" ), |
| 180 | # if ENOTBLK > ERR_MAX |
| 181 | # undef ERR_MAX |
| 182 | # define ERR_MAX ENOTBLK |
| 183 | # endif |
| 184 | #endif |
| 185 | #ifdef EBUSY |
| 186 | /* |
| 187 | TRANS A system resource that can't be shared is already in use. |
| 188 | TRANS For example, if you try to delete a file that is the root of a currently |
| 189 | TRANS mounted filesystem, you get this error. */ |
| 190 | [ERR_REMAP (EBUSY)] = N_("Device or resource busy" ), |
| 191 | # if EBUSY > ERR_MAX |
| 192 | # undef ERR_MAX |
| 193 | # define ERR_MAX EBUSY |
| 194 | # endif |
| 195 | #endif |
| 196 | #ifdef EEXIST |
| 197 | /* |
| 198 | TRANS An existing file was specified in a context where it only |
| 199 | TRANS makes sense to specify a new file. */ |
| 200 | [ERR_REMAP (EEXIST)] = N_("File exists" ), |
| 201 | # if EEXIST > ERR_MAX |
| 202 | # undef ERR_MAX |
| 203 | # define ERR_MAX EEXIST |
| 204 | # endif |
| 205 | #endif |
| 206 | #ifdef EXDEV |
| 207 | /* |
| 208 | TRANS An attempt to make an improper link across file systems was detected. |
| 209 | TRANS This happens not only when you use @code{link} (@pxref{Hard Links}) but |
| 210 | TRANS also when you rename a file with @code{rename} (@pxref{Renaming Files}). */ |
| 211 | [ERR_REMAP (EXDEV)] = N_("Invalid cross-device link" ), |
| 212 | # if EXDEV > ERR_MAX |
| 213 | # undef ERR_MAX |
| 214 | # define ERR_MAX EXDEV |
| 215 | # endif |
| 216 | #endif |
| 217 | #ifdef ENODEV |
| 218 | /* |
| 219 | TRANS The wrong type of device was given to a function that expects a |
| 220 | TRANS particular sort of device. */ |
| 221 | [ERR_REMAP (ENODEV)] = N_("No such device" ), |
| 222 | # if ENODEV > ERR_MAX |
| 223 | # undef ERR_MAX |
| 224 | # define ERR_MAX ENODEV |
| 225 | # endif |
| 226 | #endif |
| 227 | #ifdef ENOTDIR |
| 228 | /* |
| 229 | TRANS A file that isn't a directory was specified when a directory is required. */ |
| 230 | [ERR_REMAP (ENOTDIR)] = N_("Not a directory" ), |
| 231 | # if ENOTDIR > ERR_MAX |
| 232 | # undef ERR_MAX |
| 233 | # define ERR_MAX ENOTDIR |
| 234 | # endif |
| 235 | #endif |
| 236 | #ifdef EISDIR |
| 237 | /* |
| 238 | TRANS You cannot open a directory for writing, |
| 239 | TRANS or create or remove hard links to it. */ |
| 240 | [ERR_REMAP (EISDIR)] = N_("Is a directory" ), |
| 241 | # if EISDIR > ERR_MAX |
| 242 | # undef ERR_MAX |
| 243 | # define ERR_MAX EISDIR |
| 244 | # endif |
| 245 | #endif |
| 246 | #ifdef EINVAL |
| 247 | /* |
| 248 | TRANS This is used to indicate various kinds of problems |
| 249 | TRANS with passing the wrong argument to a library function. */ |
| 250 | [ERR_REMAP (EINVAL)] = N_("Invalid argument" ), |
| 251 | # if EINVAL > ERR_MAX |
| 252 | # undef ERR_MAX |
| 253 | # define ERR_MAX EINVAL |
| 254 | # endif |
| 255 | #endif |
| 256 | #ifdef EMFILE |
| 257 | /* |
| 258 | TRANS The current process has too many files open and can't open any more. |
| 259 | TRANS Duplicate descriptors do count toward this limit. |
| 260 | TRANS |
| 261 | TRANS In BSD and GNU, the number of open files is controlled by a resource |
| 262 | TRANS limit that can usually be increased. If you get this error, you might |
| 263 | TRANS want to increase the @code{RLIMIT_NOFILE} limit or make it unlimited; |
| 264 | TRANS @pxref{Limits on Resources}. */ |
| 265 | [ERR_REMAP (EMFILE)] = N_("Too many open files" ), |
| 266 | # if EMFILE > ERR_MAX |
| 267 | # undef ERR_MAX |
| 268 | # define ERR_MAX EMFILE |
| 269 | # endif |
| 270 | #endif |
| 271 | #ifdef ENFILE |
| 272 | /* |
| 273 | TRANS There are too many distinct file openings in the entire system. Note |
| 274 | TRANS that any number of linked channels count as just one file opening; see |
| 275 | TRANS @ref{Linked Channels}. This error never occurs on @gnuhurdsystems{}. */ |
| 276 | [ERR_REMAP (ENFILE)] = N_("Too many open files in system" ), |
| 277 | # if ENFILE > ERR_MAX |
| 278 | # undef ERR_MAX |
| 279 | # define ERR_MAX ENFILE |
| 280 | # endif |
| 281 | #endif |
| 282 | #ifdef ENOTTY |
| 283 | /* |
| 284 | TRANS Inappropriate I/O control operation, such as trying to set terminal |
| 285 | TRANS modes on an ordinary file. */ |
| 286 | [ERR_REMAP (ENOTTY)] = N_("Inappropriate ioctl for device" ), |
| 287 | # if ENOTTY > ERR_MAX |
| 288 | # undef ERR_MAX |
| 289 | # define ERR_MAX ENOTTY |
| 290 | # endif |
| 291 | #endif |
| 292 | #ifdef ETXTBSY |
| 293 | /* |
| 294 | TRANS An attempt to execute a file that is currently open for writing, or |
| 295 | TRANS write to a file that is currently being executed. Often using a |
| 296 | TRANS debugger to run a program is considered having it open for writing and |
| 297 | TRANS will cause this error. (The name stands for ``text file busy''.) This |
| 298 | TRANS is not an error on @gnuhurdsystems{}; the text is copied as necessary. */ |
| 299 | [ERR_REMAP (ETXTBSY)] = N_("Text file busy" ), |
| 300 | # if ETXTBSY > ERR_MAX |
| 301 | # undef ERR_MAX |
| 302 | # define ERR_MAX ETXTBSY |
| 303 | # endif |
| 304 | #endif |
| 305 | #ifdef EFBIG |
| 306 | /* |
| 307 | TRANS The size of a file would be larger than allowed by the system. */ |
| 308 | [ERR_REMAP (EFBIG)] = N_("File too large" ), |
| 309 | # if EFBIG > ERR_MAX |
| 310 | # undef ERR_MAX |
| 311 | # define ERR_MAX EFBIG |
| 312 | # endif |
| 313 | #endif |
| 314 | #ifdef ENOSPC |
| 315 | /* |
| 316 | TRANS Write operation on a file failed because the |
| 317 | TRANS disk is full. */ |
| 318 | [ERR_REMAP (ENOSPC)] = N_("No space left on device" ), |
| 319 | # if ENOSPC > ERR_MAX |
| 320 | # undef ERR_MAX |
| 321 | # define ERR_MAX ENOSPC |
| 322 | # endif |
| 323 | #endif |
| 324 | #ifdef ESPIPE |
| 325 | /* |
| 326 | TRANS Invalid seek operation (such as on a pipe). */ |
| 327 | [ERR_REMAP (ESPIPE)] = N_("Illegal seek" ), |
| 328 | # if ESPIPE > ERR_MAX |
| 329 | # undef ERR_MAX |
| 330 | # define ERR_MAX ESPIPE |
| 331 | # endif |
| 332 | #endif |
| 333 | #ifdef EROFS |
| 334 | /* |
| 335 | TRANS An attempt was made to modify something on a read-only file system. */ |
| 336 | [ERR_REMAP (EROFS)] = N_("Read-only file system" ), |
| 337 | # if EROFS > ERR_MAX |
| 338 | # undef ERR_MAX |
| 339 | # define ERR_MAX EROFS |
| 340 | # endif |
| 341 | #endif |
| 342 | #ifdef EMLINK |
| 343 | /* |
| 344 | TRANS The link count of a single file would become too large. |
| 345 | TRANS @code{rename} can cause this error if the file being renamed already has |
| 346 | TRANS as many links as it can take (@pxref{Renaming Files}). */ |
| 347 | [ERR_REMAP (EMLINK)] = N_("Too many links" ), |
| 348 | # if EMLINK > ERR_MAX |
| 349 | # undef ERR_MAX |
| 350 | # define ERR_MAX EMLINK |
| 351 | # endif |
| 352 | #endif |
| 353 | #ifdef EPIPE |
| 354 | /* |
| 355 | TRANS There is no process reading from the other end of a pipe. |
| 356 | TRANS Every library function that returns this error code also generates a |
| 357 | TRANS @code{SIGPIPE} signal; this signal terminates the program if not handled |
| 358 | TRANS or blocked. Thus, your program will never actually see @code{EPIPE} |
| 359 | TRANS unless it has handled or blocked @code{SIGPIPE}. */ |
| 360 | [ERR_REMAP (EPIPE)] = N_("Broken pipe" ), |
| 361 | # if EPIPE > ERR_MAX |
| 362 | # undef ERR_MAX |
| 363 | # define ERR_MAX EPIPE |
| 364 | # endif |
| 365 | #endif |
| 366 | #ifdef EDOM |
| 367 | /* |
| 368 | TRANS Used by mathematical functions when an argument value does |
| 369 | TRANS not fall into the domain over which the function is defined. */ |
| 370 | [ERR_REMAP (EDOM)] = N_("Numerical argument out of domain" ), |
| 371 | # if EDOM > ERR_MAX |
| 372 | # undef ERR_MAX |
| 373 | # define ERR_MAX EDOM |
| 374 | # endif |
| 375 | #endif |
| 376 | #ifdef ERANGE |
| 377 | /* |
| 378 | TRANS Used by mathematical functions when the result value is |
| 379 | TRANS not representable because of overflow or underflow. */ |
| 380 | [ERR_REMAP (ERANGE)] = N_("Numerical result out of range" ), |
| 381 | # if ERANGE > ERR_MAX |
| 382 | # undef ERR_MAX |
| 383 | # define ERR_MAX ERANGE |
| 384 | # endif |
| 385 | #endif |
| 386 | #ifdef EAGAIN |
| 387 | /* |
| 388 | TRANS The call might work if you try again |
| 389 | TRANS later. The macro @code{EWOULDBLOCK} is another name for @code{EAGAIN}; |
| 390 | TRANS they are always the same in @theglibc{}. |
| 391 | TRANS |
| 392 | TRANS This error can happen in a few different situations: |
| 393 | TRANS |
| 394 | TRANS @itemize @bullet |
| 395 | TRANS @item |
| 396 | TRANS An operation that would block was attempted on an object that has |
| 397 | TRANS non-blocking mode selected. Trying the same operation again will block |
| 398 | TRANS until some external condition makes it possible to read, write, or |
| 399 | TRANS connect (whatever the operation). You can use @code{select} to find out |
| 400 | TRANS when the operation will be possible; @pxref{Waiting for I/O}. |
| 401 | TRANS |
| 402 | TRANS @strong{Portability Note:} In many older Unix systems, this condition |
| 403 | TRANS was indicated by @code{EWOULDBLOCK}, which was a distinct error code |
| 404 | TRANS different from @code{EAGAIN}. To make your program portable, you should |
| 405 | TRANS check for both codes and treat them the same. |
| 406 | TRANS |
| 407 | TRANS @item |
| 408 | TRANS A temporary resource shortage made an operation impossible. @code{fork} |
| 409 | TRANS can return this error. It indicates that the shortage is expected to |
| 410 | TRANS pass, so your program can try the call again later and it may succeed. |
| 411 | TRANS It is probably a good idea to delay for a few seconds before trying it |
| 412 | TRANS again, to allow time for other processes to release scarce resources. |
| 413 | TRANS Such shortages are usually fairly serious and affect the whole system, |
| 414 | TRANS so usually an interactive program should report the error to the user |
| 415 | TRANS and return to its command loop. |
| 416 | TRANS @end itemize */ |
| 417 | [ERR_REMAP (EAGAIN)] = N_("Resource temporarily unavailable" ), |
| 418 | # if EAGAIN > ERR_MAX |
| 419 | # undef ERR_MAX |
| 420 | # define ERR_MAX EAGAIN |
| 421 | # endif |
| 422 | #endif |
| 423 | #if defined (EWOULDBLOCK) && EWOULDBLOCK != EAGAIN |
| 424 | /* |
| 425 | TRANS In @theglibc{}, this is another name for @code{EAGAIN} (above). |
| 426 | TRANS The values are always the same, on every operating system. |
| 427 | TRANS |
| 428 | TRANS C libraries in many older Unix systems have @code{EWOULDBLOCK} as a |
| 429 | TRANS separate error code. */ |
| 430 | [ERR_REMAP (EWOULDBLOCK)] = N_("Operation would block" ), |
| 431 | # if EWOULDBLOCK > ERR_MAX |
| 432 | # undef ERR_MAX |
| 433 | # define ERR_MAX EWOULDBLOCK |
| 434 | # endif |
| 435 | #endif |
| 436 | #ifdef EINPROGRESS |
| 437 | /* |
| 438 | TRANS An operation that cannot complete immediately was initiated on an object |
| 439 | TRANS that has non-blocking mode selected. Some functions that must always |
| 440 | TRANS block (such as @code{connect}; @pxref{Connecting}) never return |
| 441 | TRANS @code{EAGAIN}. Instead, they return @code{EINPROGRESS} to indicate that |
| 442 | TRANS the operation has begun and will take some time. Attempts to manipulate |
| 443 | TRANS the object before the call completes return @code{EALREADY}. You can |
| 444 | TRANS use the @code{select} function to find out when the pending operation |
| 445 | TRANS has completed; @pxref{Waiting for I/O}. */ |
| 446 | [ERR_REMAP (EINPROGRESS)] = N_("Operation now in progress" ), |
| 447 | # if EINPROGRESS > ERR_MAX |
| 448 | # undef ERR_MAX |
| 449 | # define ERR_MAX EINPROGRESS |
| 450 | # endif |
| 451 | #endif |
| 452 | #ifdef EALREADY |
| 453 | /* |
| 454 | TRANS An operation is already in progress on an object that has non-blocking |
| 455 | TRANS mode selected. */ |
| 456 | [ERR_REMAP (EALREADY)] = N_("Operation already in progress" ), |
| 457 | # if EALREADY > ERR_MAX |
| 458 | # undef ERR_MAX |
| 459 | # define ERR_MAX EALREADY |
| 460 | # endif |
| 461 | #endif |
| 462 | #ifdef ENOTSOCK |
| 463 | /* |
| 464 | TRANS A file that isn't a socket was specified when a socket is required. */ |
| 465 | [ERR_REMAP (ENOTSOCK)] = N_("Socket operation on non-socket" ), |
| 466 | # if ENOTSOCK > ERR_MAX |
| 467 | # undef ERR_MAX |
| 468 | # define ERR_MAX ENOTSOCK |
| 469 | # endif |
| 470 | #endif |
| 471 | #ifdef EMSGSIZE |
| 472 | /* |
| 473 | TRANS The size of a message sent on a socket was larger than the supported |
| 474 | TRANS maximum size. */ |
| 475 | [ERR_REMAP (EMSGSIZE)] = N_("Message too long" ), |
| 476 | # if EMSGSIZE > ERR_MAX |
| 477 | # undef ERR_MAX |
| 478 | # define ERR_MAX EMSGSIZE |
| 479 | # endif |
| 480 | #endif |
| 481 | #ifdef EPROTOTYPE |
| 482 | /* |
| 483 | TRANS The socket type does not support the requested communications protocol. */ |
| 484 | [ERR_REMAP (EPROTOTYPE)] = N_("Protocol wrong type for socket" ), |
| 485 | # if EPROTOTYPE > ERR_MAX |
| 486 | # undef ERR_MAX |
| 487 | # define ERR_MAX EPROTOTYPE |
| 488 | # endif |
| 489 | #endif |
| 490 | #ifdef ENOPROTOOPT |
| 491 | /* |
| 492 | TRANS You specified a socket option that doesn't make sense for the |
| 493 | TRANS particular protocol being used by the socket. @xref{Socket Options}. */ |
| 494 | [ERR_REMAP (ENOPROTOOPT)] = N_("Protocol not available" ), |
| 495 | # if ENOPROTOOPT > ERR_MAX |
| 496 | # undef ERR_MAX |
| 497 | # define ERR_MAX ENOPROTOOPT |
| 498 | # endif |
| 499 | #endif |
| 500 | #ifdef EPROTONOSUPPORT |
| 501 | /* |
| 502 | TRANS The socket domain does not support the requested communications protocol |
| 503 | TRANS (perhaps because the requested protocol is completely invalid). |
| 504 | TRANS @xref{Creating a Socket}. */ |
| 505 | [ERR_REMAP (EPROTONOSUPPORT)] = N_("Protocol not supported" ), |
| 506 | # if EPROTONOSUPPORT > ERR_MAX |
| 507 | # undef ERR_MAX |
| 508 | # define ERR_MAX EPROTONOSUPPORT |
| 509 | # endif |
| 510 | #endif |
| 511 | #ifdef ESOCKTNOSUPPORT |
| 512 | /* |
| 513 | TRANS The socket type is not supported. */ |
| 514 | [ERR_REMAP (ESOCKTNOSUPPORT)] = N_("Socket type not supported" ), |
| 515 | # if ESOCKTNOSUPPORT > ERR_MAX |
| 516 | # undef ERR_MAX |
| 517 | # define ERR_MAX ESOCKTNOSUPPORT |
| 518 | # endif |
| 519 | #endif |
| 520 | #ifdef EOPNOTSUPP |
| 521 | /* |
| 522 | TRANS The operation you requested is not supported. Some socket functions |
| 523 | TRANS don't make sense for all types of sockets, and others may not be |
| 524 | TRANS implemented for all communications protocols. On @gnuhurdsystems{}, this |
| 525 | TRANS error can happen for many calls when the object does not support the |
| 526 | TRANS particular operation; it is a generic indication that the server knows |
| 527 | TRANS nothing to do for that call. */ |
| 528 | [ERR_REMAP (EOPNOTSUPP)] = N_("Operation not supported" ), |
| 529 | # if EOPNOTSUPP > ERR_MAX |
| 530 | # undef ERR_MAX |
| 531 | # define ERR_MAX EOPNOTSUPP |
| 532 | # endif |
| 533 | #endif |
| 534 | #ifdef EPFNOSUPPORT |
| 535 | /* |
| 536 | TRANS The socket communications protocol family you requested is not supported. */ |
| 537 | [ERR_REMAP (EPFNOSUPPORT)] = N_("Protocol family not supported" ), |
| 538 | # if EPFNOSUPPORT > ERR_MAX |
| 539 | # undef ERR_MAX |
| 540 | # define ERR_MAX EPFNOSUPPORT |
| 541 | # endif |
| 542 | #endif |
| 543 | #ifdef EAFNOSUPPORT |
| 544 | /* |
| 545 | TRANS The address family specified for a socket is not supported; it is |
| 546 | TRANS inconsistent with the protocol being used on the socket. @xref{Sockets}. */ |
| 547 | [ERR_REMAP (EAFNOSUPPORT)] = N_("Address family not supported by protocol" ), |
| 548 | # if EAFNOSUPPORT > ERR_MAX |
| 549 | # undef ERR_MAX |
| 550 | # define ERR_MAX EAFNOSUPPORT |
| 551 | # endif |
| 552 | #endif |
| 553 | #ifdef EADDRINUSE |
| 554 | /* |
| 555 | TRANS The requested socket address is already in use. @xref{Socket Addresses}. */ |
| 556 | [ERR_REMAP (EADDRINUSE)] = N_("Address already in use" ), |
| 557 | # if EADDRINUSE > ERR_MAX |
| 558 | # undef ERR_MAX |
| 559 | # define ERR_MAX EADDRINUSE |
| 560 | # endif |
| 561 | #endif |
| 562 | #ifdef EADDRNOTAVAIL |
| 563 | /* |
| 564 | TRANS The requested socket address is not available; for example, you tried |
| 565 | TRANS to give a socket a name that doesn't match the local host name. |
| 566 | TRANS @xref{Socket Addresses}. */ |
| 567 | [ERR_REMAP (EADDRNOTAVAIL)] = N_("Cannot assign requested address" ), |
| 568 | # if EADDRNOTAVAIL > ERR_MAX |
| 569 | # undef ERR_MAX |
| 570 | # define ERR_MAX EADDRNOTAVAIL |
| 571 | # endif |
| 572 | #endif |
| 573 | #ifdef ENETDOWN |
| 574 | /* |
| 575 | TRANS A socket operation failed because the network was down. */ |
| 576 | [ERR_REMAP (ENETDOWN)] = N_("Network is down" ), |
| 577 | # if ENETDOWN > ERR_MAX |
| 578 | # undef ERR_MAX |
| 579 | # define ERR_MAX ENETDOWN |
| 580 | # endif |
| 581 | #endif |
| 582 | #ifdef ENETUNREACH |
| 583 | /* |
| 584 | TRANS A socket operation failed because the subnet containing the remote host |
| 585 | TRANS was unreachable. */ |
| 586 | [ERR_REMAP (ENETUNREACH)] = N_("Network is unreachable" ), |
| 587 | # if ENETUNREACH > ERR_MAX |
| 588 | # undef ERR_MAX |
| 589 | # define ERR_MAX ENETUNREACH |
| 590 | # endif |
| 591 | #endif |
| 592 | #ifdef ENETRESET |
| 593 | /* |
| 594 | TRANS A network connection was reset because the remote host crashed. */ |
| 595 | [ERR_REMAP (ENETRESET)] = N_("Network dropped connection on reset" ), |
| 596 | # if ENETRESET > ERR_MAX |
| 597 | # undef ERR_MAX |
| 598 | # define ERR_MAX ENETRESET |
| 599 | # endif |
| 600 | #endif |
| 601 | #ifdef ECONNABORTED |
| 602 | /* |
| 603 | TRANS A network connection was aborted locally. */ |
| 604 | [ERR_REMAP (ECONNABORTED)] = N_("Software caused connection abort" ), |
| 605 | # if ECONNABORTED > ERR_MAX |
| 606 | # undef ERR_MAX |
| 607 | # define ERR_MAX ECONNABORTED |
| 608 | # endif |
| 609 | #endif |
| 610 | #ifdef ECONNRESET |
| 611 | /* |
| 612 | TRANS A network connection was closed for reasons outside the control of the |
| 613 | TRANS local host, such as by the remote machine rebooting or an unrecoverable |
| 614 | TRANS protocol violation. */ |
| 615 | [ERR_REMAP (ECONNRESET)] = N_("Connection reset by peer" ), |
| 616 | # if ECONNRESET > ERR_MAX |
| 617 | # undef ERR_MAX |
| 618 | # define ERR_MAX ECONNRESET |
| 619 | # endif |
| 620 | #endif |
| 621 | #ifdef ENOBUFS |
| 622 | /* |
| 623 | TRANS The kernel's buffers for I/O operations are all in use. In GNU, this |
| 624 | TRANS error is always synonymous with @code{ENOMEM}; you may get one or the |
| 625 | TRANS other from network operations. */ |
| 626 | [ERR_REMAP (ENOBUFS)] = N_("No buffer space available" ), |
| 627 | # if ENOBUFS > ERR_MAX |
| 628 | # undef ERR_MAX |
| 629 | # define ERR_MAX ENOBUFS |
| 630 | # endif |
| 631 | #endif |
| 632 | #ifdef EISCONN |
| 633 | /* |
| 634 | TRANS You tried to connect a socket that is already connected. |
| 635 | TRANS @xref{Connecting}. */ |
| 636 | [ERR_REMAP (EISCONN)] = N_("Transport endpoint is already connected" ), |
| 637 | # if EISCONN > ERR_MAX |
| 638 | # undef ERR_MAX |
| 639 | # define ERR_MAX EISCONN |
| 640 | # endif |
| 641 | #endif |
| 642 | #ifdef ENOTCONN |
| 643 | /* |
| 644 | TRANS The socket is not connected to anything. You get this error when you |
| 645 | TRANS try to transmit data over a socket, without first specifying a |
| 646 | TRANS destination for the data. For a connectionless socket (for datagram |
| 647 | TRANS protocols, such as UDP), you get @code{EDESTADDRREQ} instead. */ |
| 648 | [ERR_REMAP (ENOTCONN)] = N_("Transport endpoint is not connected" ), |
| 649 | # if ENOTCONN > ERR_MAX |
| 650 | # undef ERR_MAX |
| 651 | # define ERR_MAX ENOTCONN |
| 652 | # endif |
| 653 | #endif |
| 654 | #ifdef EDESTADDRREQ |
| 655 | /* |
| 656 | TRANS No default destination address was set for the socket. You get this |
| 657 | TRANS error when you try to transmit data over a connectionless socket, |
| 658 | TRANS without first specifying a destination for the data with @code{connect}. */ |
| 659 | [ERR_REMAP (EDESTADDRREQ)] = N_("Destination address required" ), |
| 660 | # if EDESTADDRREQ > ERR_MAX |
| 661 | # undef ERR_MAX |
| 662 | # define ERR_MAX EDESTADDRREQ |
| 663 | # endif |
| 664 | #endif |
| 665 | #ifdef ESHUTDOWN |
| 666 | /* |
| 667 | TRANS The socket has already been shut down. */ |
| 668 | [ERR_REMAP (ESHUTDOWN)] = N_("Cannot send after transport endpoint shutdown" ), |
| 669 | # if ESHUTDOWN > ERR_MAX |
| 670 | # undef ERR_MAX |
| 671 | # define ERR_MAX ESHUTDOWN |
| 672 | # endif |
| 673 | #endif |
| 674 | #ifdef ETOOMANYREFS |
| 675 | /* */ |
| 676 | [ERR_REMAP (ETOOMANYREFS)] = N_("Too many references: cannot splice" ), |
| 677 | # if ETOOMANYREFS > ERR_MAX |
| 678 | # undef ERR_MAX |
| 679 | # define ERR_MAX ETOOMANYREFS |
| 680 | # endif |
| 681 | #endif |
| 682 | #ifdef ETIMEDOUT |
| 683 | /* |
| 684 | TRANS A socket operation with a specified timeout received no response during |
| 685 | TRANS the timeout period. */ |
| 686 | [ERR_REMAP (ETIMEDOUT)] = N_("Connection timed out" ), |
| 687 | # if ETIMEDOUT > ERR_MAX |
| 688 | # undef ERR_MAX |
| 689 | # define ERR_MAX ETIMEDOUT |
| 690 | # endif |
| 691 | #endif |
| 692 | #ifdef ECONNREFUSED |
| 693 | /* |
| 694 | TRANS A remote host refused to allow the network connection (typically because |
| 695 | TRANS it is not running the requested service). */ |
| 696 | [ERR_REMAP (ECONNREFUSED)] = N_("Connection refused" ), |
| 697 | # if ECONNREFUSED > ERR_MAX |
| 698 | # undef ERR_MAX |
| 699 | # define ERR_MAX ECONNREFUSED |
| 700 | # endif |
| 701 | #endif |
| 702 | #ifdef ELOOP |
| 703 | /* |
| 704 | TRANS Too many levels of symbolic links were encountered in looking up a file name. |
| 705 | TRANS This often indicates a cycle of symbolic links. */ |
| 706 | [ERR_REMAP (ELOOP)] = N_("Too many levels of symbolic links" ), |
| 707 | # if ELOOP > ERR_MAX |
| 708 | # undef ERR_MAX |
| 709 | # define ERR_MAX ELOOP |
| 710 | # endif |
| 711 | #endif |
| 712 | #ifdef ENAMETOOLONG |
| 713 | /* |
| 714 | TRANS Filename too long (longer than @code{PATH_MAX}; @pxref{Limits for |
| 715 | TRANS Files}) or host name too long (in @code{gethostname} or |
| 716 | TRANS @code{sethostname}; @pxref{Host Identification}). */ |
| 717 | [ERR_REMAP (ENAMETOOLONG)] = N_("File name too long" ), |
| 718 | # if ENAMETOOLONG > ERR_MAX |
| 719 | # undef ERR_MAX |
| 720 | # define ERR_MAX ENAMETOOLONG |
| 721 | # endif |
| 722 | #endif |
| 723 | #ifdef EHOSTDOWN |
| 724 | /* |
| 725 | TRANS The remote host for a requested network connection is down. */ |
| 726 | [ERR_REMAP (EHOSTDOWN)] = N_("Host is down" ), |
| 727 | # if EHOSTDOWN > ERR_MAX |
| 728 | # undef ERR_MAX |
| 729 | # define ERR_MAX EHOSTDOWN |
| 730 | # endif |
| 731 | #endif |
| 732 | #ifdef EHOSTUNREACH |
| 733 | /* |
| 734 | TRANS The remote host for a requested network connection is not reachable. */ |
| 735 | [ERR_REMAP (EHOSTUNREACH)] = N_("No route to host" ), |
| 736 | # if EHOSTUNREACH > ERR_MAX |
| 737 | # undef ERR_MAX |
| 738 | # define ERR_MAX EHOSTUNREACH |
| 739 | # endif |
| 740 | #endif |
| 741 | #ifdef ENOTEMPTY |
| 742 | /* |
| 743 | TRANS Directory not empty, where an empty directory was expected. Typically, |
| 744 | TRANS this error occurs when you are trying to delete a directory. */ |
| 745 | [ERR_REMAP (ENOTEMPTY)] = N_("Directory not empty" ), |
| 746 | # if ENOTEMPTY > ERR_MAX |
| 747 | # undef ERR_MAX |
| 748 | # define ERR_MAX ENOTEMPTY |
| 749 | # endif |
| 750 | #endif |
| 751 | #ifdef EPROCLIM |
| 752 | /* |
| 753 | TRANS This means that the per-user limit on new process would be exceeded by |
| 754 | TRANS an attempted @code{fork}. @xref{Limits on Resources}, for details on |
| 755 | TRANS the @code{RLIMIT_NPROC} limit. */ |
| 756 | [ERR_REMAP (EPROCLIM)] = N_("Too many processes" ), |
| 757 | # if EPROCLIM > ERR_MAX |
| 758 | # undef ERR_MAX |
| 759 | # define ERR_MAX EPROCLIM |
| 760 | # endif |
| 761 | #endif |
| 762 | #ifdef EUSERS |
| 763 | /* |
| 764 | TRANS The file quota system is confused because there are too many users. |
| 765 | TRANS @c This can probably happen in a GNU system when using NFS. */ |
| 766 | [ERR_REMAP (EUSERS)] = N_("Too many users" ), |
| 767 | # if EUSERS > ERR_MAX |
| 768 | # undef ERR_MAX |
| 769 | # define ERR_MAX EUSERS |
| 770 | # endif |
| 771 | #endif |
| 772 | #ifdef EDQUOT |
| 773 | /* |
| 774 | TRANS The user's disk quota was exceeded. */ |
| 775 | [ERR_REMAP (EDQUOT)] = N_("Disk quota exceeded" ), |
| 776 | # if EDQUOT > ERR_MAX |
| 777 | # undef ERR_MAX |
| 778 | # define ERR_MAX EDQUOT |
| 779 | # endif |
| 780 | #endif |
| 781 | #ifdef ESTALE |
| 782 | /* |
| 783 | TRANS This indicates an internal confusion in the |
| 784 | TRANS file system which is due to file system rearrangements on the server host |
| 785 | TRANS for NFS file systems or corruption in other file systems. |
| 786 | TRANS Repairing this condition usually requires unmounting, possibly repairing |
| 787 | TRANS and remounting the file system. */ |
| 788 | [ERR_REMAP (ESTALE)] = N_("Stale file handle" ), |
| 789 | # if ESTALE > ERR_MAX |
| 790 | # undef ERR_MAX |
| 791 | # define ERR_MAX ESTALE |
| 792 | # endif |
| 793 | #endif |
| 794 | #ifdef EREMOTE |
| 795 | /* |
| 796 | TRANS An attempt was made to NFS-mount a remote file system with a file name that |
| 797 | TRANS already specifies an NFS-mounted file. |
| 798 | TRANS (This is an error on some operating systems, but we expect it to work |
| 799 | TRANS properly on @gnuhurdsystems{}, making this error code impossible.) */ |
| 800 | [ERR_REMAP (EREMOTE)] = N_("Object is remote" ), |
| 801 | # if EREMOTE > ERR_MAX |
| 802 | # undef ERR_MAX |
| 803 | # define ERR_MAX EREMOTE |
| 804 | # endif |
| 805 | #endif |
| 806 | #ifdef EBADRPC |
| 807 | /* */ |
| 808 | [ERR_REMAP (EBADRPC)] = N_("RPC struct is bad" ), |
| 809 | # if EBADRPC > ERR_MAX |
| 810 | # undef ERR_MAX |
| 811 | # define ERR_MAX EBADRPC |
| 812 | # endif |
| 813 | #endif |
| 814 | #ifdef ERPCMISMATCH |
| 815 | /* */ |
| 816 | [ERR_REMAP (ERPCMISMATCH)] = N_("RPC version wrong" ), |
| 817 | # if ERPCMISMATCH > ERR_MAX |
| 818 | # undef ERR_MAX |
| 819 | # define ERR_MAX ERPCMISMATCH |
| 820 | # endif |
| 821 | #endif |
| 822 | #ifdef EPROGUNAVAIL |
| 823 | /* */ |
| 824 | [ERR_REMAP (EPROGUNAVAIL)] = N_("RPC program not available" ), |
| 825 | # if EPROGUNAVAIL > ERR_MAX |
| 826 | # undef ERR_MAX |
| 827 | # define ERR_MAX EPROGUNAVAIL |
| 828 | # endif |
| 829 | #endif |
| 830 | #ifdef EPROGMISMATCH |
| 831 | /* */ |
| 832 | [ERR_REMAP (EPROGMISMATCH)] = N_("RPC program version wrong" ), |
| 833 | # if EPROGMISMATCH > ERR_MAX |
| 834 | # undef ERR_MAX |
| 835 | # define ERR_MAX EPROGMISMATCH |
| 836 | # endif |
| 837 | #endif |
| 838 | #ifdef EPROCUNAVAIL |
| 839 | /* */ |
| 840 | [ERR_REMAP (EPROCUNAVAIL)] = N_("RPC bad procedure for program" ), |
| 841 | # if EPROCUNAVAIL > ERR_MAX |
| 842 | # undef ERR_MAX |
| 843 | # define ERR_MAX EPROCUNAVAIL |
| 844 | # endif |
| 845 | #endif |
| 846 | #ifdef ENOLCK |
| 847 | /* |
| 848 | TRANS This is used by the file locking facilities; see |
| 849 | TRANS @ref{File Locks}. This error is never generated by @gnuhurdsystems{}, but |
| 850 | TRANS it can result from an operation to an NFS server running another |
| 851 | TRANS operating system. */ |
| 852 | [ERR_REMAP (ENOLCK)] = N_("No locks available" ), |
| 853 | # if ENOLCK > ERR_MAX |
| 854 | # undef ERR_MAX |
| 855 | # define ERR_MAX ENOLCK |
| 856 | # endif |
| 857 | #endif |
| 858 | #ifdef EFTYPE |
| 859 | /* |
| 860 | TRANS The file was the wrong type for the |
| 861 | TRANS operation, or a data file had the wrong format. |
| 862 | TRANS |
| 863 | TRANS On some systems @code{chmod} returns this error if you try to set the |
| 864 | TRANS sticky bit on a non-directory file; @pxref{Setting Permissions}. */ |
| 865 | [ERR_REMAP (EFTYPE)] = N_("Inappropriate file type or format" ), |
| 866 | # if EFTYPE > ERR_MAX |
| 867 | # undef ERR_MAX |
| 868 | # define ERR_MAX EFTYPE |
| 869 | # endif |
| 870 | #endif |
| 871 | #ifdef EAUTH |
| 872 | /* */ |
| 873 | [ERR_REMAP (EAUTH)] = N_("Authentication error" ), |
| 874 | # if EAUTH > ERR_MAX |
| 875 | # undef ERR_MAX |
| 876 | # define ERR_MAX EAUTH |
| 877 | # endif |
| 878 | #endif |
| 879 | #ifdef ENEEDAUTH |
| 880 | /* */ |
| 881 | [ERR_REMAP (ENEEDAUTH)] = N_("Need authenticator" ), |
| 882 | # if ENEEDAUTH > ERR_MAX |
| 883 | # undef ERR_MAX |
| 884 | # define ERR_MAX ENEEDAUTH |
| 885 | # endif |
| 886 | #endif |
| 887 | #ifdef ENOSYS |
| 888 | /* |
| 889 | TRANS This indicates that the function called is |
| 890 | TRANS not implemented at all, either in the C library itself or in the |
| 891 | TRANS operating system. When you get this error, you can be sure that this |
| 892 | TRANS particular function will always fail with @code{ENOSYS} unless you |
| 893 | TRANS install a new version of the C library or the operating system. */ |
| 894 | [ERR_REMAP (ENOSYS)] = N_("Function not implemented" ), |
| 895 | # if ENOSYS > ERR_MAX |
| 896 | # undef ERR_MAX |
| 897 | # define ERR_MAX ENOSYS |
| 898 | # endif |
| 899 | #endif |
| 900 | #if defined (ENOTSUP) && ENOTSUP != EOPNOTSUPP |
| 901 | /* |
| 902 | TRANS A function returns this error when certain parameter |
| 903 | TRANS values are valid, but the functionality they request is not available. |
| 904 | TRANS This can mean that the function does not implement a particular command |
| 905 | TRANS or option value or flag bit at all. For functions that operate on some |
| 906 | TRANS object given in a parameter, such as a file descriptor or a port, it |
| 907 | TRANS might instead mean that only @emph{that specific object} (file |
| 908 | TRANS descriptor, port, etc.) is unable to support the other parameters given; |
| 909 | TRANS different file descriptors might support different ranges of parameter |
| 910 | TRANS values. |
| 911 | TRANS |
| 912 | TRANS If the entire function is not available at all in the implementation, |
| 913 | TRANS it returns @code{ENOSYS} instead. */ |
| 914 | [ERR_REMAP (ENOTSUP)] = N_("Not supported" ), |
| 915 | # if ENOTSUP > ERR_MAX |
| 916 | # undef ERR_MAX |
| 917 | # define ERR_MAX ENOTSUP |
| 918 | # endif |
| 919 | #endif |
| 920 | #ifdef EILSEQ |
| 921 | /* |
| 922 | TRANS While decoding a multibyte character the function came along an invalid |
| 923 | TRANS or an incomplete sequence of bytes or the given wide character is invalid. */ |
| 924 | [ERR_REMAP (EILSEQ)] = N_("Invalid or incomplete multibyte or wide character" ), |
| 925 | # if EILSEQ > ERR_MAX |
| 926 | # undef ERR_MAX |
| 927 | # define ERR_MAX EILSEQ |
| 928 | # endif |
| 929 | #endif |
| 930 | #ifdef EBACKGROUND |
| 931 | /* |
| 932 | TRANS On @gnuhurdsystems{}, servers supporting the @code{term} protocol return |
| 933 | TRANS this error for certain operations when the caller is not in the |
| 934 | TRANS foreground process group of the terminal. Users do not usually see this |
| 935 | TRANS error because functions such as @code{read} and @code{write} translate |
| 936 | TRANS it into a @code{SIGTTIN} or @code{SIGTTOU} signal. @xref{Job Control}, |
| 937 | TRANS for information on process groups and these signals. */ |
| 938 | [ERR_REMAP (EBACKGROUND)] = N_("Inappropriate operation for background process" ), |
| 939 | # if EBACKGROUND > ERR_MAX |
| 940 | # undef ERR_MAX |
| 941 | # define ERR_MAX EBACKGROUND |
| 942 | # endif |
| 943 | #endif |
| 944 | #ifdef EDIED |
| 945 | /* |
| 946 | TRANS On @gnuhurdsystems{}, opening a file returns this error when the file is |
| 947 | TRANS translated by a program and the translator program dies while starting |
| 948 | TRANS up, before it has connected to the file. */ |
| 949 | [ERR_REMAP (EDIED)] = N_("Translator died" ), |
| 950 | # if EDIED > ERR_MAX |
| 951 | # undef ERR_MAX |
| 952 | # define ERR_MAX EDIED |
| 953 | # endif |
| 954 | #endif |
| 955 | #ifdef ED |
| 956 | /* |
| 957 | TRANS The experienced user will know what is wrong. |
| 958 | TRANS @c This error code is a joke. Its perror text is part of the joke. |
| 959 | TRANS @c Don't change it. */ |
| 960 | [ERR_REMAP (ED)] = N_("?" ), |
| 961 | # if ED > ERR_MAX |
| 962 | # undef ERR_MAX |
| 963 | # define ERR_MAX ED |
| 964 | # endif |
| 965 | #endif |
| 966 | #ifdef EGREGIOUS |
| 967 | /* |
| 968 | TRANS You did @strong{what}? */ |
| 969 | [ERR_REMAP (EGREGIOUS)] = N_("You really blew it this time" ), |
| 970 | # if EGREGIOUS > ERR_MAX |
| 971 | # undef ERR_MAX |
| 972 | # define ERR_MAX EGREGIOUS |
| 973 | # endif |
| 974 | #endif |
| 975 | #ifdef EIEIO |
| 976 | /* |
| 977 | TRANS Go home and have a glass of warm, dairy-fresh milk. |
| 978 | TRANS @c Okay. Since you are dying to know, I'll tell you. |
| 979 | TRANS @c This is a joke, obviously. There is a children's song which begins, |
| 980 | TRANS @c "Old McDonald had a farm, e-i-e-i-o." Every time I see the (real) |
| 981 | TRANS @c errno macro EIO, I think about that song. Probably most of my |
| 982 | TRANS @c compatriots who program on Unix do, too. One of them must have stayed |
| 983 | TRANS @c up a little too late one night and decided to add it to Hurd or Glibc. |
| 984 | TRANS @c Whoever did it should be castigated, but it made me laugh. |
| 985 | TRANS @c --jtobey@channel1.com |
| 986 | TRANS @c |
| 987 | TRANS @c "bought the farm" means "died". -jtobey |
| 988 | TRANS @c |
| 989 | TRANS @c Translators, please do not translate this litteraly, translate it into |
| 990 | TRANS @c an idiomatic funny way of saying that the computer died. */ |
| 991 | [ERR_REMAP (EIEIO)] = N_("Computer bought the farm" ), |
| 992 | # if EIEIO > ERR_MAX |
| 993 | # undef ERR_MAX |
| 994 | # define ERR_MAX EIEIO |
| 995 | # endif |
| 996 | #endif |
| 997 | #ifdef EGRATUITOUS |
| 998 | /* |
| 999 | TRANS This error code has no purpose. */ |
| 1000 | [ERR_REMAP (EGRATUITOUS)] = N_("Gratuitous error" ), |
| 1001 | # if EGRATUITOUS > ERR_MAX |
| 1002 | # undef ERR_MAX |
| 1003 | # define ERR_MAX EGRATUITOUS |
| 1004 | # endif |
| 1005 | #endif |
| 1006 | #ifdef EBADMSG |
| 1007 | /* */ |
| 1008 | [ERR_REMAP (EBADMSG)] = N_("Bad message" ), |
| 1009 | # if EBADMSG > ERR_MAX |
| 1010 | # undef ERR_MAX |
| 1011 | # define ERR_MAX EBADMSG |
| 1012 | # endif |
| 1013 | #endif |
| 1014 | #ifdef EIDRM |
| 1015 | /* */ |
| 1016 | [ERR_REMAP (EIDRM)] = N_("Identifier removed" ), |
| 1017 | # if EIDRM > ERR_MAX |
| 1018 | # undef ERR_MAX |
| 1019 | # define ERR_MAX EIDRM |
| 1020 | # endif |
| 1021 | #endif |
| 1022 | #ifdef EMULTIHOP |
| 1023 | /* */ |
| 1024 | [ERR_REMAP (EMULTIHOP)] = N_("Multihop attempted" ), |
| 1025 | # if EMULTIHOP > ERR_MAX |
| 1026 | # undef ERR_MAX |
| 1027 | # define ERR_MAX EMULTIHOP |
| 1028 | # endif |
| 1029 | #endif |
| 1030 | #ifdef ENODATA |
| 1031 | /* */ |
| 1032 | [ERR_REMAP (ENODATA)] = N_("No data available" ), |
| 1033 | # if ENODATA > ERR_MAX |
| 1034 | # undef ERR_MAX |
| 1035 | # define ERR_MAX ENODATA |
| 1036 | # endif |
| 1037 | #endif |
| 1038 | #ifdef ENOLINK |
| 1039 | /* */ |
| 1040 | [ERR_REMAP (ENOLINK)] = N_("Link has been severed" ), |
| 1041 | # if ENOLINK > ERR_MAX |
| 1042 | # undef ERR_MAX |
| 1043 | # define ERR_MAX ENOLINK |
| 1044 | # endif |
| 1045 | #endif |
| 1046 | #ifdef ENOMSG |
| 1047 | /* */ |
| 1048 | [ERR_REMAP (ENOMSG)] = N_("No message of desired type" ), |
| 1049 | # if ENOMSG > ERR_MAX |
| 1050 | # undef ERR_MAX |
| 1051 | # define ERR_MAX ENOMSG |
| 1052 | # endif |
| 1053 | #endif |
| 1054 | #ifdef ENOSR |
| 1055 | /* */ |
| 1056 | [ERR_REMAP (ENOSR)] = N_("Out of streams resources" ), |
| 1057 | # if ENOSR > ERR_MAX |
| 1058 | # undef ERR_MAX |
| 1059 | # define ERR_MAX ENOSR |
| 1060 | # endif |
| 1061 | #endif |
| 1062 | #ifdef ENOSTR |
| 1063 | /* */ |
| 1064 | [ERR_REMAP (ENOSTR)] = N_("Device not a stream" ), |
| 1065 | # if ENOSTR > ERR_MAX |
| 1066 | # undef ERR_MAX |
| 1067 | # define ERR_MAX ENOSTR |
| 1068 | # endif |
| 1069 | #endif |
| 1070 | #ifdef EOVERFLOW |
| 1071 | /* */ |
| 1072 | [ERR_REMAP (EOVERFLOW)] = N_("Value too large for defined data type" ), |
| 1073 | # if EOVERFLOW > ERR_MAX |
| 1074 | # undef ERR_MAX |
| 1075 | # define ERR_MAX EOVERFLOW |
| 1076 | # endif |
| 1077 | #endif |
| 1078 | #ifdef EPROTO |
| 1079 | /* */ |
| 1080 | [ERR_REMAP (EPROTO)] = N_("Protocol error" ), |
| 1081 | # if EPROTO > ERR_MAX |
| 1082 | # undef ERR_MAX |
| 1083 | # define ERR_MAX EPROTO |
| 1084 | # endif |
| 1085 | #endif |
| 1086 | #ifdef ETIME |
| 1087 | /* */ |
| 1088 | [ERR_REMAP (ETIME)] = N_("Timer expired" ), |
| 1089 | # if ETIME > ERR_MAX |
| 1090 | # undef ERR_MAX |
| 1091 | # define ERR_MAX ETIME |
| 1092 | # endif |
| 1093 | #endif |
| 1094 | #ifdef ECANCELED |
| 1095 | /* |
| 1096 | TRANS An asynchronous operation was canceled before it |
| 1097 | TRANS completed. @xref{Asynchronous I/O}. When you call @code{aio_cancel}, |
| 1098 | TRANS the normal result is for the operations affected to complete with this |
| 1099 | TRANS error; @pxref{Cancel AIO Operations}. */ |
| 1100 | [ERR_REMAP (ECANCELED)] = N_("Operation canceled" ), |
| 1101 | # if ECANCELED > ERR_MAX |
| 1102 | # undef ERR_MAX |
| 1103 | # define ERR_MAX ECANCELED |
| 1104 | # endif |
| 1105 | #endif |
| 1106 | #ifdef EOWNERDEAD |
| 1107 | /* */ |
| 1108 | [ERR_REMAP (EOWNERDEAD)] = N_("Owner died" ), |
| 1109 | # if EOWNERDEAD > ERR_MAX |
| 1110 | # undef ERR_MAX |
| 1111 | # define ERR_MAX EOWNERDEAD |
| 1112 | # endif |
| 1113 | #endif |
| 1114 | #ifdef ENOTRECOVERABLE |
| 1115 | /* */ |
| 1116 | [ERR_REMAP (ENOTRECOVERABLE)] = N_("State not recoverable" ), |
| 1117 | # if ENOTRECOVERABLE > ERR_MAX |
| 1118 | # undef ERR_MAX |
| 1119 | # define ERR_MAX ENOTRECOVERABLE |
| 1120 | # endif |
| 1121 | #endif |
| 1122 | #ifdef ERESTART |
| 1123 | /* */ |
| 1124 | [ERR_REMAP (ERESTART)] = N_("Interrupted system call should be restarted" ), |
| 1125 | # if ERESTART > ERR_MAX |
| 1126 | # undef ERR_MAX |
| 1127 | # define ERR_MAX ERESTART |
| 1128 | # endif |
| 1129 | #endif |
| 1130 | #ifdef ECHRNG |
| 1131 | /* */ |
| 1132 | [ERR_REMAP (ECHRNG)] = N_("Channel number out of range" ), |
| 1133 | # if ECHRNG > ERR_MAX |
| 1134 | # undef ERR_MAX |
| 1135 | # define ERR_MAX ECHRNG |
| 1136 | # endif |
| 1137 | #endif |
| 1138 | #ifdef EL2NSYNC |
| 1139 | /* */ |
| 1140 | [ERR_REMAP (EL2NSYNC)] = N_("Level 2 not synchronized" ), |
| 1141 | # if EL2NSYNC > ERR_MAX |
| 1142 | # undef ERR_MAX |
| 1143 | # define ERR_MAX EL2NSYNC |
| 1144 | # endif |
| 1145 | #endif |
| 1146 | #ifdef EL3HLT |
| 1147 | /* */ |
| 1148 | [ERR_REMAP (EL3HLT)] = N_("Level 3 halted" ), |
| 1149 | # if EL3HLT > ERR_MAX |
| 1150 | # undef ERR_MAX |
| 1151 | # define ERR_MAX EL3HLT |
| 1152 | # endif |
| 1153 | #endif |
| 1154 | #ifdef EL3RST |
| 1155 | /* */ |
| 1156 | [ERR_REMAP (EL3RST)] = N_("Level 3 reset" ), |
| 1157 | # if EL3RST > ERR_MAX |
| 1158 | # undef ERR_MAX |
| 1159 | # define ERR_MAX EL3RST |
| 1160 | # endif |
| 1161 | #endif |
| 1162 | #ifdef ELNRNG |
| 1163 | /* */ |
| 1164 | [ERR_REMAP (ELNRNG)] = N_("Link number out of range" ), |
| 1165 | # if ELNRNG > ERR_MAX |
| 1166 | # undef ERR_MAX |
| 1167 | # define ERR_MAX ELNRNG |
| 1168 | # endif |
| 1169 | #endif |
| 1170 | #ifdef EUNATCH |
| 1171 | /* */ |
| 1172 | [ERR_REMAP (EUNATCH)] = N_("Protocol driver not attached" ), |
| 1173 | # if EUNATCH > ERR_MAX |
| 1174 | # undef ERR_MAX |
| 1175 | # define ERR_MAX EUNATCH |
| 1176 | # endif |
| 1177 | #endif |
| 1178 | #ifdef ENOCSI |
| 1179 | /* */ |
| 1180 | [ERR_REMAP (ENOCSI)] = N_("No CSI structure available" ), |
| 1181 | # if ENOCSI > ERR_MAX |
| 1182 | # undef ERR_MAX |
| 1183 | # define ERR_MAX ENOCSI |
| 1184 | # endif |
| 1185 | #endif |
| 1186 | #ifdef EL2HLT |
| 1187 | /* */ |
| 1188 | [ERR_REMAP (EL2HLT)] = N_("Level 2 halted" ), |
| 1189 | # if EL2HLT > ERR_MAX |
| 1190 | # undef ERR_MAX |
| 1191 | # define ERR_MAX EL2HLT |
| 1192 | # endif |
| 1193 | #endif |
| 1194 | #ifdef EBADE |
| 1195 | /* */ |
| 1196 | [ERR_REMAP (EBADE)] = N_("Invalid exchange" ), |
| 1197 | # if EBADE > ERR_MAX |
| 1198 | # undef ERR_MAX |
| 1199 | # define ERR_MAX EBADE |
| 1200 | # endif |
| 1201 | #endif |
| 1202 | #ifdef EBADR |
| 1203 | /* */ |
| 1204 | [ERR_REMAP (EBADR)] = N_("Invalid request descriptor" ), |
| 1205 | # if EBADR > ERR_MAX |
| 1206 | # undef ERR_MAX |
| 1207 | # define ERR_MAX EBADR |
| 1208 | # endif |
| 1209 | #endif |
| 1210 | #ifdef EXFULL |
| 1211 | /* */ |
| 1212 | [ERR_REMAP (EXFULL)] = N_("Exchange full" ), |
| 1213 | # if EXFULL > ERR_MAX |
| 1214 | # undef ERR_MAX |
| 1215 | # define ERR_MAX EXFULL |
| 1216 | # endif |
| 1217 | #endif |
| 1218 | #ifdef ENOANO |
| 1219 | /* */ |
| 1220 | [ERR_REMAP (ENOANO)] = N_("No anode" ), |
| 1221 | # if ENOANO > ERR_MAX |
| 1222 | # undef ERR_MAX |
| 1223 | # define ERR_MAX ENOANO |
| 1224 | # endif |
| 1225 | #endif |
| 1226 | #ifdef EBADRQC |
| 1227 | /* */ |
| 1228 | [ERR_REMAP (EBADRQC)] = N_("Invalid request code" ), |
| 1229 | # if EBADRQC > ERR_MAX |
| 1230 | # undef ERR_MAX |
| 1231 | # define ERR_MAX EBADRQC |
| 1232 | # endif |
| 1233 | #endif |
| 1234 | #ifdef EBADSLT |
| 1235 | /* */ |
| 1236 | [ERR_REMAP (EBADSLT)] = N_("Invalid slot" ), |
| 1237 | # if EBADSLT > ERR_MAX |
| 1238 | # undef ERR_MAX |
| 1239 | # define ERR_MAX EBADSLT |
| 1240 | # endif |
| 1241 | #endif |
| 1242 | #if defined (EDEADLOCK) && EDEADLOCK != EDEADLK |
| 1243 | /* */ |
| 1244 | [ERR_REMAP (EDEADLOCK)] = N_("File locking deadlock error" ), |
| 1245 | # if EDEADLOCK > ERR_MAX |
| 1246 | # undef ERR_MAX |
| 1247 | # define ERR_MAX EDEADLOCK |
| 1248 | # endif |
| 1249 | #endif |
| 1250 | #ifdef EBFONT |
| 1251 | /* */ |
| 1252 | [ERR_REMAP (EBFONT)] = N_("Bad font file format" ), |
| 1253 | # if EBFONT > ERR_MAX |
| 1254 | # undef ERR_MAX |
| 1255 | # define ERR_MAX EBFONT |
| 1256 | # endif |
| 1257 | #endif |
| 1258 | #ifdef ENONET |
| 1259 | /* */ |
| 1260 | [ERR_REMAP (ENONET)] = N_("Machine is not on the network" ), |
| 1261 | # if ENONET > ERR_MAX |
| 1262 | # undef ERR_MAX |
| 1263 | # define ERR_MAX ENONET |
| 1264 | # endif |
| 1265 | #endif |
| 1266 | #ifdef ENOPKG |
| 1267 | /* */ |
| 1268 | [ERR_REMAP (ENOPKG)] = N_("Package not installed" ), |
| 1269 | # if ENOPKG > ERR_MAX |
| 1270 | # undef ERR_MAX |
| 1271 | # define ERR_MAX ENOPKG |
| 1272 | # endif |
| 1273 | #endif |
| 1274 | #ifdef EADV |
| 1275 | /* */ |
| 1276 | [ERR_REMAP (EADV)] = N_("Advertise error" ), |
| 1277 | # if EADV > ERR_MAX |
| 1278 | # undef ERR_MAX |
| 1279 | # define ERR_MAX EADV |
| 1280 | # endif |
| 1281 | #endif |
| 1282 | #ifdef ESRMNT |
| 1283 | /* */ |
| 1284 | [ERR_REMAP (ESRMNT)] = N_("Srmount error" ), |
| 1285 | # if ESRMNT > ERR_MAX |
| 1286 | # undef ERR_MAX |
| 1287 | # define ERR_MAX ESRMNT |
| 1288 | # endif |
| 1289 | #endif |
| 1290 | #ifdef ECOMM |
| 1291 | /* */ |
| 1292 | [ERR_REMAP (ECOMM)] = N_("Communication error on send" ), |
| 1293 | # if ECOMM > ERR_MAX |
| 1294 | # undef ERR_MAX |
| 1295 | # define ERR_MAX ECOMM |
| 1296 | # endif |
| 1297 | #endif |
| 1298 | #ifdef EDOTDOT |
| 1299 | /* */ |
| 1300 | [ERR_REMAP (EDOTDOT)] = N_("RFS specific error" ), |
| 1301 | # if EDOTDOT > ERR_MAX |
| 1302 | # undef ERR_MAX |
| 1303 | # define ERR_MAX EDOTDOT |
| 1304 | # endif |
| 1305 | #endif |
| 1306 | #ifdef ENOTUNIQ |
| 1307 | /* */ |
| 1308 | [ERR_REMAP (ENOTUNIQ)] = N_("Name not unique on network" ), |
| 1309 | # if ENOTUNIQ > ERR_MAX |
| 1310 | # undef ERR_MAX |
| 1311 | # define ERR_MAX ENOTUNIQ |
| 1312 | # endif |
| 1313 | #endif |
| 1314 | #ifdef EBADFD |
| 1315 | /* */ |
| 1316 | [ERR_REMAP (EBADFD)] = N_("File descriptor in bad state" ), |
| 1317 | # if EBADFD > ERR_MAX |
| 1318 | # undef ERR_MAX |
| 1319 | # define ERR_MAX EBADFD |
| 1320 | # endif |
| 1321 | #endif |
| 1322 | #ifdef EREMCHG |
| 1323 | /* */ |
| 1324 | [ERR_REMAP (EREMCHG)] = N_("Remote address changed" ), |
| 1325 | # if EREMCHG > ERR_MAX |
| 1326 | # undef ERR_MAX |
| 1327 | # define ERR_MAX EREMCHG |
| 1328 | # endif |
| 1329 | #endif |
| 1330 | #ifdef ELIBACC |
| 1331 | /* */ |
| 1332 | [ERR_REMAP (ELIBACC)] = N_("Can not access a needed shared library" ), |
| 1333 | # if ELIBACC > ERR_MAX |
| 1334 | # undef ERR_MAX |
| 1335 | # define ERR_MAX ELIBACC |
| 1336 | # endif |
| 1337 | #endif |
| 1338 | #ifdef ELIBBAD |
| 1339 | /* */ |
| 1340 | [ERR_REMAP (ELIBBAD)] = N_("Accessing a corrupted shared library" ), |
| 1341 | # if ELIBBAD > ERR_MAX |
| 1342 | # undef ERR_MAX |
| 1343 | # define ERR_MAX ELIBBAD |
| 1344 | # endif |
| 1345 | #endif |
| 1346 | #ifdef ELIBSCN |
| 1347 | /* */ |
| 1348 | [ERR_REMAP (ELIBSCN)] = N_(".lib section in a.out corrupted" ), |
| 1349 | # if ELIBSCN > ERR_MAX |
| 1350 | # undef ERR_MAX |
| 1351 | # define ERR_MAX ELIBSCN |
| 1352 | # endif |
| 1353 | #endif |
| 1354 | #ifdef ELIBMAX |
| 1355 | /* */ |
| 1356 | [ERR_REMAP (ELIBMAX)] = N_("Attempting to link in too many shared libraries" ), |
| 1357 | # if ELIBMAX > ERR_MAX |
| 1358 | # undef ERR_MAX |
| 1359 | # define ERR_MAX ELIBMAX |
| 1360 | # endif |
| 1361 | #endif |
| 1362 | #ifdef ELIBEXEC |
| 1363 | /* */ |
| 1364 | [ERR_REMAP (ELIBEXEC)] = N_("Cannot exec a shared library directly" ), |
| 1365 | # if ELIBEXEC > ERR_MAX |
| 1366 | # undef ERR_MAX |
| 1367 | # define ERR_MAX ELIBEXEC |
| 1368 | # endif |
| 1369 | #endif |
| 1370 | #ifdef ESTRPIPE |
| 1371 | /* */ |
| 1372 | [ERR_REMAP (ESTRPIPE)] = N_("Streams pipe error" ), |
| 1373 | # if ESTRPIPE > ERR_MAX |
| 1374 | # undef ERR_MAX |
| 1375 | # define ERR_MAX ESTRPIPE |
| 1376 | # endif |
| 1377 | #endif |
| 1378 | #ifdef EUCLEAN |
| 1379 | /* */ |
| 1380 | [ERR_REMAP (EUCLEAN)] = N_("Structure needs cleaning" ), |
| 1381 | # if EUCLEAN > ERR_MAX |
| 1382 | # undef ERR_MAX |
| 1383 | # define ERR_MAX EUCLEAN |
| 1384 | # endif |
| 1385 | #endif |
| 1386 | #ifdef ENOTNAM |
| 1387 | /* */ |
| 1388 | [ERR_REMAP (ENOTNAM)] = N_("Not a XENIX named type file" ), |
| 1389 | # if ENOTNAM > ERR_MAX |
| 1390 | # undef ERR_MAX |
| 1391 | # define ERR_MAX ENOTNAM |
| 1392 | # endif |
| 1393 | #endif |
| 1394 | #ifdef ENAVAIL |
| 1395 | /* */ |
| 1396 | [ERR_REMAP (ENAVAIL)] = N_("No XENIX semaphores available" ), |
| 1397 | # if ENAVAIL > ERR_MAX |
| 1398 | # undef ERR_MAX |
| 1399 | # define ERR_MAX ENAVAIL |
| 1400 | # endif |
| 1401 | #endif |
| 1402 | #ifdef EISNAM |
| 1403 | /* */ |
| 1404 | [ERR_REMAP (EISNAM)] = N_("Is a named type file" ), |
| 1405 | # if EISNAM > ERR_MAX |
| 1406 | # undef ERR_MAX |
| 1407 | # define ERR_MAX EISNAM |
| 1408 | # endif |
| 1409 | #endif |
| 1410 | #ifdef EREMOTEIO |
| 1411 | /* */ |
| 1412 | [ERR_REMAP (EREMOTEIO)] = N_("Remote I/O error" ), |
| 1413 | # if EREMOTEIO > ERR_MAX |
| 1414 | # undef ERR_MAX |
| 1415 | # define ERR_MAX EREMOTEIO |
| 1416 | # endif |
| 1417 | #endif |
| 1418 | #ifdef ENOMEDIUM |
| 1419 | /* */ |
| 1420 | [ERR_REMAP (ENOMEDIUM)] = N_("No medium found" ), |
| 1421 | # if ENOMEDIUM > ERR_MAX |
| 1422 | # undef ERR_MAX |
| 1423 | # define ERR_MAX ENOMEDIUM |
| 1424 | # endif |
| 1425 | #endif |
| 1426 | #ifdef EMEDIUMTYPE |
| 1427 | /* */ |
| 1428 | [ERR_REMAP (EMEDIUMTYPE)] = N_("Wrong medium type" ), |
| 1429 | # if EMEDIUMTYPE > ERR_MAX |
| 1430 | # undef ERR_MAX |
| 1431 | # define ERR_MAX EMEDIUMTYPE |
| 1432 | # endif |
| 1433 | #endif |
| 1434 | #ifdef ENOKEY |
| 1435 | /* */ |
| 1436 | [ERR_REMAP (ENOKEY)] = N_("Required key not available" ), |
| 1437 | # if ENOKEY > ERR_MAX |
| 1438 | # undef ERR_MAX |
| 1439 | # define ERR_MAX ENOKEY |
| 1440 | # endif |
| 1441 | #endif |
| 1442 | #ifdef EKEYEXPIRED |
| 1443 | /* */ |
| 1444 | [ERR_REMAP (EKEYEXPIRED)] = N_("Key has expired" ), |
| 1445 | # if EKEYEXPIRED > ERR_MAX |
| 1446 | # undef ERR_MAX |
| 1447 | # define ERR_MAX EKEYEXPIRED |
| 1448 | # endif |
| 1449 | #endif |
| 1450 | #ifdef EKEYREVOKED |
| 1451 | /* */ |
| 1452 | [ERR_REMAP (EKEYREVOKED)] = N_("Key has been revoked" ), |
| 1453 | # if EKEYREVOKED > ERR_MAX |
| 1454 | # undef ERR_MAX |
| 1455 | # define ERR_MAX EKEYREVOKED |
| 1456 | # endif |
| 1457 | #endif |
| 1458 | #ifdef EKEYREJECTED |
| 1459 | /* */ |
| 1460 | [ERR_REMAP (EKEYREJECTED)] = N_("Key was rejected by service" ), |
| 1461 | # if EKEYREJECTED > ERR_MAX |
| 1462 | # undef ERR_MAX |
| 1463 | # define ERR_MAX EKEYREJECTED |
| 1464 | # endif |
| 1465 | #endif |
| 1466 | #ifdef ERFKILL |
| 1467 | /* */ |
| 1468 | [ERR_REMAP (ERFKILL)] = N_("Operation not possible due to RF-kill" ), |
| 1469 | # if ERFKILL > ERR_MAX |
| 1470 | # undef ERR_MAX |
| 1471 | # define ERR_MAX ERFKILL |
| 1472 | # endif |
| 1473 | #endif |
| 1474 | #ifdef EHWPOISON |
| 1475 | /* */ |
| 1476 | [ERR_REMAP (EHWPOISON)] = N_("Memory page has hardware error" ), |
| 1477 | # if EHWPOISON > ERR_MAX |
| 1478 | # undef ERR_MAX |
| 1479 | # define ERR_MAX EHWPOISON |
| 1480 | # endif |
| 1481 | #endif |
| 1482 | }; |
| 1483 | |
| 1484 | #define NERR \ |
| 1485 | (sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0]) |
| 1486 | const int _sys_nerr_internal = NERR; |
| 1487 | |
| 1488 | #if IS_IN (libc) && !defined ERRLIST_NO_COMPAT |
| 1489 | # include <errlist-compat.c> |
| 1490 | #endif |
| 1491 | |
| 1492 | #ifdef EMIT_ERR_MAX |
| 1493 | void dummy (void) |
| 1494 | { asm volatile (" @@@ %0 @@@ " : : "i" (ERR_REMAP (ERR_MAX))); } |
| 1495 | #endif |
| 1496 | |