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