errlist.h 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  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. #if defined EDEADLOCK && EDEADLOCK != EDEADLK
  597. _S (EDEADLOCK, N_ ("File locking deadlock error"))
  598. #endif
  599. #ifdef EBFONT
  600. _S(EBFONT, N_("Bad font file format"))
  601. #endif
  602. #ifdef ENONET
  603. _S(ENONET, N_("Machine is not on the network"))
  604. #endif
  605. #ifdef ENOPKG
  606. _S(ENOPKG, N_("Package not installed"))
  607. #endif
  608. #ifdef EADV
  609. _S(EADV, N_("Advertise error"))
  610. #endif
  611. #ifdef ESRMNT
  612. _S(ESRMNT, N_("Srmount error"))
  613. #endif
  614. #ifdef ECOMM
  615. _S(ECOMM, N_("Communication error on send"))
  616. #endif
  617. #ifdef EDOTDOT
  618. _S(EDOTDOT, N_("RFS specific error"))
  619. #endif
  620. #ifdef ENOTUNIQ
  621. _S(ENOTUNIQ, N_("Name not unique on network"))
  622. #endif
  623. #ifdef EBADFD
  624. _S(EBADFD, N_("File descriptor in bad state"))
  625. #endif
  626. #ifdef EREMCHG
  627. _S(EREMCHG, N_("Remote address changed"))
  628. #endif
  629. #ifdef ELIBACC
  630. _S(ELIBACC, N_("Can not access a needed shared library"))
  631. #endif
  632. #ifdef ELIBBAD
  633. _S(ELIBBAD, N_("Accessing a corrupted shared library"))
  634. #endif
  635. #ifdef ELIBSCN
  636. _S(ELIBSCN, N_(".lib section in a.out corrupted"))
  637. #endif
  638. #ifdef ELIBMAX
  639. _S(ELIBMAX, N_("Attempting to link in too many shared libraries"))
  640. #endif
  641. #ifdef ELIBEXEC
  642. _S(ELIBEXEC, N_("Cannot exec a shared library directly"))
  643. #endif
  644. #ifdef ESTRPIPE
  645. _S(ESTRPIPE, N_("Streams pipe error"))
  646. #endif
  647. #ifdef EUCLEAN
  648. _S(EUCLEAN, N_("Structure needs cleaning"))
  649. #endif
  650. #ifdef ENOTNAM
  651. _S(ENOTNAM, N_("Not a XENIX named type file"))
  652. #endif
  653. #ifdef ENAVAIL
  654. _S(ENAVAIL, N_("No XENIX semaphores available"))
  655. #endif
  656. #ifdef EISNAM
  657. _S(EISNAM, N_("Is a named type file"))
  658. #endif
  659. #ifdef EREMOTEIO
  660. _S(EREMOTEIO, N_("Remote I/O error"))
  661. #endif
  662. #ifdef ENOMEDIUM
  663. _S(ENOMEDIUM, N_("No medium found"))
  664. #endif
  665. #ifdef EMEDIUMTYPE
  666. _S(EMEDIUMTYPE, N_("Wrong medium type"))
  667. #endif
  668. #ifdef ENOKEY
  669. _S(ENOKEY, N_("Required key not available"))
  670. #endif
  671. #ifdef EKEYEXPIRED
  672. _S(EKEYEXPIRED, N_("Key has expired"))
  673. #endif
  674. #ifdef EKEYREVOKED
  675. _S(EKEYREVOKED, N_("Key has been revoked"))
  676. #endif
  677. #ifdef EKEYREJECTED
  678. _S(EKEYREJECTED, N_("Key was rejected by service"))
  679. #endif
  680. #ifdef ERFKILL
  681. _S(ERFKILL, N_("Operation not possible due to RF-kill"))
  682. #endif
  683. #ifdef EHWPOISON
  684. _S(EHWPOISON, N_("Memory page has hardware error"))
  685. #endif
  686. #ifdef EBADRPC
  687. _S(EBADRPC, N_("RPC struct is bad"))
  688. #endif
  689. #ifdef EFTYPE
  690. /*
  691. TRANS The file was the wrong type for the
  692. TRANS operation, or a data file had the wrong format.
  693. TRANS
  694. TRANS On some systems @code{chmod} returns this error if you try to set the
  695. TRANS sticky bit on a non-directory file; @pxref{Setting Permissions}. */
  696. _S(EFTYPE, N_("Inappropriate file type or format"))
  697. #endif
  698. #ifdef EPROCUNAVAIL
  699. _S(EPROCUNAVAIL, N_("RPC bad procedure for program"))
  700. #endif
  701. #ifdef EAUTH
  702. _S(EAUTH, N_("Authentication error"))
  703. #endif
  704. #ifdef EDIED
  705. /*
  706. TRANS On @gnuhurdsystems{}, opening a file returns this error when the file is
  707. TRANS translated by a program and the translator program dies while starting
  708. TRANS up, before it has connected to the file. */
  709. _S(EDIED, N_("Translator died"))
  710. #endif
  711. #ifdef ERPCMISMATCH
  712. _S(ERPCMISMATCH, N_("RPC version wrong"))
  713. #endif
  714. #ifdef EGREGIOUS
  715. /*
  716. TRANS You did @strong{what}? */
  717. _S(EGREGIOUS, N_("You really blew it this time"))
  718. #endif
  719. #ifdef EPROCLIM
  720. /*
  721. TRANS This means that the per-user limit on new process would be exceeded by
  722. TRANS an attempted @code{fork}. @xref{Limits on Resources}, for details on
  723. TRANS the @code{RLIMIT_NPROC} limit. */
  724. _S(EPROCLIM, N_("Too many processes"))
  725. #endif
  726. #ifdef EGRATUITOUS
  727. /*
  728. TRANS This error code has no purpose. */
  729. _S(EGRATUITOUS, N_("Gratuitous error"))
  730. #endif
  731. #if defined (ENOTSUP) && ENOTSUP != EOPNOTSUPP
  732. /*
  733. TRANS A function returns this error when certain parameter
  734. TRANS values are valid, but the functionality they request is not available.
  735. TRANS This can mean that the function does not implement a particular command
  736. TRANS or option value or flag bit at all. For functions that operate on some
  737. TRANS object given in a parameter, such as a file descriptor or a port, it
  738. TRANS might instead mean that only @emph{that specific object} (file
  739. TRANS descriptor, port, etc.) is unable to support the other parameters given;
  740. TRANS different file descriptors might support different ranges of parameter
  741. TRANS values.
  742. TRANS
  743. TRANS If the entire function is not available at all in the implementation,
  744. TRANS it returns @code{ENOSYS} instead. */
  745. _S(ENOTSUP, N_("Not supported"))
  746. #endif
  747. #ifdef EPROGMISMATCH
  748. _S(EPROGMISMATCH, N_("RPC program version wrong"))
  749. #endif
  750. #ifdef EBACKGROUND
  751. /*
  752. TRANS On @gnuhurdsystems{}, servers supporting the @code{term} protocol return
  753. TRANS this error for certain operations when the caller is not in the
  754. TRANS foreground process group of the terminal. Users do not usually see this
  755. TRANS error because functions such as @code{read} and @code{write} translate
  756. TRANS it into a @code{SIGTTIN} or @code{SIGTTOU} signal. @xref{Job Control},
  757. TRANS for information on process groups and these signals. */
  758. _S(EBACKGROUND, N_("Inappropriate operation for background process"))
  759. #endif
  760. #ifdef EIEIO
  761. /*
  762. TRANS Go home and have a glass of warm, dairy-fresh milk.
  763. TRANS @c Okay. Since you are dying to know, I'll tell you.
  764. TRANS @c This is a joke, obviously. There is a children's song which begins,
  765. TRANS @c "Old McDonald had a farm, e-i-e-i-o." Every time I see the (real)
  766. TRANS @c errno macro EIO, I think about that song. Probably most of my
  767. TRANS @c compatriots who program on Unix do, too. One of them must have stayed
  768. TRANS @c up a little too late one night and decided to add it to Hurd or Glibc.
  769. TRANS @c Whoever did it should be castigated, but it made me laugh.
  770. TRANS @c --jtobey@channel1.com
  771. TRANS @c
  772. TRANS @c "bought the farm" means "died". -jtobey
  773. TRANS @c
  774. TRANS @c Translators, please do not translate this litteraly, translate it into
  775. TRANS @c an idiomatic funny way of saying that the computer died. */
  776. _S(EIEIO, N_("Computer bought the farm"))
  777. #endif
  778. #if defined (EWOULDBLOCK) && EWOULDBLOCK != EAGAIN
  779. /*
  780. TRANS In @theglibc{}, this is another name for @code{EAGAIN} (above).
  781. TRANS The values are always the same, on every operating system.
  782. TRANS
  783. TRANS C libraries in many older Unix systems have @code{EWOULDBLOCK} as a
  784. TRANS separate error code. */
  785. _S(EWOULDBLOCK, N_("Operation would block"))
  786. #endif
  787. #ifdef ENEEDAUTH
  788. _S(ENEEDAUTH, N_("Need authenticator"))
  789. #endif
  790. #ifdef ED
  791. /*
  792. TRANS The experienced user will know what is wrong.
  793. TRANS @c This error code is a joke. Its perror text is part of the joke.
  794. TRANS @c Don't change it. */
  795. _S(ED, N_("?"))
  796. #endif
  797. #ifdef EPROGUNAVAIL
  798. _S(EPROGUNAVAIL, N_("RPC program not available"))
  799. #endif
  800. #ifdef EINIT
  801. _S(EINIT, N_("Initialization error"))
  802. #endif
  803. #ifdef EREMDEV
  804. _S(EREMDEV, N_("Device is remote"))
  805. #endif
  806. #ifdef ERREMOTE
  807. _S(ERREMOTE, N_("Too many levels of remote in path"))
  808. #endif