PageRenderTime 120ms CodeModel.GetById 60ms RepoModel.GetById 4ms app.codeStats 2ms

/share/doc/arm-arm-none-linux-gnueabi/html/libc/Error-Codes.html

https://github.com/apc-io/apc-rock-toolchain
HTML | 1362 lines | 870 code | 162 blank | 330 comment | 0 complexity | 10efb02be3c1d999c8b0df01d2566d6c MD5 | raw file
Possible License(s): GPL-3.0

Large files files are truncated, but you can click here to view the full file

  1. <html lang="en">
  2. <head>
  3. <title>Error Codes - The GNU C Library</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="The GNU C Library">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="start" href="index.html#Top">
  8. <link rel="up" href="Error-Reporting.html#Error-Reporting" title="Error Reporting">
  9. <link rel="prev" href="Checking-for-Errors.html#Checking-for-Errors" title="Checking for Errors">
  10. <link rel="next" href="Error-Messages.html#Error-Messages" title="Error Messages">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <!--
  13. This file documents the GNU C library.
  14. This is Edition 0.12, last updated 2007-10-27,
  15. of `The GNU C Library Reference Manual', for version
  16. 2.8 (Sourcery G++ Lite 2011.03-41).
  17. Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002,
  18. 2003, 2007, 2008, 2010 Free Software Foundation, Inc.
  19. Permission is granted to copy, distribute and/or modify this document
  20. under the terms of the GNU Free Documentation License, Version 1.3 or
  21. any later version published by the Free Software Foundation; with the
  22. Invariant Sections being ``Free Software Needs Free Documentation''
  23. and ``GNU Lesser General Public License'', the Front-Cover texts being
  24. ``A GNU Manual'', and with the Back-Cover Texts as in (a) below. A
  25. copy of the license is included in the section entitled "GNU Free
  26. Documentation License".
  27. (a) The FSF's Back-Cover Text is: ``You have the freedom to
  28. copy and modify this GNU manual. Buying copies from the FSF
  29. supports it in developing GNU and promoting software freedom.''-->
  30. <meta http-equiv="Content-Style-Type" content="text/css">
  31. <style type="text/css"><!--
  32. pre.display { font-family:inherit }
  33. pre.format { font-family:inherit }
  34. pre.smalldisplay { font-family:inherit; font-size:smaller }
  35. pre.smallformat { font-family:inherit; font-size:smaller }
  36. pre.smallexample { font-size:smaller }
  37. pre.smalllisp { font-size:smaller }
  38. span.sc { font-variant:small-caps }
  39. span.roman { font-family:serif; font-weight:normal; }
  40. span.sansserif { font-family:sans-serif; font-weight:normal; }
  41. --></style>
  42. <link rel="stylesheet" type="text/css" href="../cs.css">
  43. </head>
  44. <body>
  45. <div class="node">
  46. <a name="Error-Codes"></a>
  47. <p>
  48. Next:&nbsp;<a rel="next" accesskey="n" href="Error-Messages.html#Error-Messages">Error Messages</a>,
  49. Previous:&nbsp;<a rel="previous" accesskey="p" href="Checking-for-Errors.html#Checking-for-Errors">Checking for Errors</a>,
  50. Up:&nbsp;<a rel="up" accesskey="u" href="Error-Reporting.html#Error-Reporting">Error Reporting</a>
  51. <hr>
  52. </div>
  53. <h3 class="section">2.2 Error Codes</h3>
  54. <p><a name="index-errno_002eh-62"></a>The error code macros are defined in the header file <samp><span class="file">errno.h</span></samp>.
  55. All of them expand into integer constant values. Some of these error
  56. codes can't occur on the GNU system, but they can occur using the GNU
  57. library on other systems.
  58. <!-- errno.h -->
  59. <!-- POSIX.1: Operation not permitted -->
  60. <div class="defun">
  61. &mdash; Macro: int <b>EPERM</b><var><a name="index-EPERM-63"></a></var><br>
  62. <blockquote><!-- errno 1 @c DO NOT REMOVE -->
  63. <p>Operation not permitted; only the owner of the file (or other resource)
  64. or processes with special privileges can perform the operation.
  65. </p></blockquote></div>
  66. <!-- errno.h -->
  67. <!-- POSIX.1: No such file or directory -->
  68. <div class="defun">
  69. &mdash; Macro: int <b>ENOENT</b><var><a name="index-ENOENT-64"></a></var><br>
  70. <blockquote><!-- errno 2 @c DO NOT REMOVE -->
  71. <p>No such file or directory. This is a &ldquo;file doesn't exist&rdquo; error
  72. for ordinary files that are referenced in contexts where they are
  73. expected to already exist.
  74. </p></blockquote></div>
  75. <!-- errno.h -->
  76. <!-- POSIX.1: No such process -->
  77. <div class="defun">
  78. &mdash; Macro: int <b>ESRCH</b><var><a name="index-ESRCH-65"></a></var><br>
  79. <blockquote><!-- errno 3 @c DO NOT REMOVE -->
  80. <p>No process matches the specified process ID.
  81. </p></blockquote></div>
  82. <!-- errno.h -->
  83. <!-- POSIX.1: Interrupted system call -->
  84. <div class="defun">
  85. &mdash; Macro: int <b>EINTR</b><var><a name="index-EINTR-66"></a></var><br>
  86. <blockquote><!-- errno 4 @c DO NOT REMOVE -->
  87. <p>Interrupted function call; an asynchronous signal occurred and prevented
  88. completion of the call. When this happens, you should try the call
  89. again.
  90. <p>You can choose to have functions resume after a signal that is handled,
  91. rather than failing with <code>EINTR</code>; see <a href="Interrupted-Primitives.html#Interrupted-Primitives">Interrupted Primitives</a>.
  92. </p></blockquote></div>
  93. <!-- errno.h -->
  94. <!-- POSIX.1: Input/output error -->
  95. <div class="defun">
  96. &mdash; Macro: int <b>EIO</b><var><a name="index-EIO-67"></a></var><br>
  97. <blockquote><!-- errno 5 @c DO NOT REMOVE -->
  98. <p>Input/output error; usually used for physical read or write errors.
  99. </p></blockquote></div>
  100. <!-- errno.h -->
  101. <!-- POSIX.1: No such device or address -->
  102. <div class="defun">
  103. &mdash; Macro: int <b>ENXIO</b><var><a name="index-ENXIO-68"></a></var><br>
  104. <blockquote><!-- errno 6 @c DO NOT REMOVE -->
  105. <p>No such device or address. The system tried to use the device
  106. represented by a file you specified, and it couldn't find the device.
  107. This can mean that the device file was installed incorrectly, or that
  108. the physical device is missing or not correctly attached to the
  109. computer.
  110. </p></blockquote></div>
  111. <!-- errno.h -->
  112. <!-- POSIX.1: Argument list too long -->
  113. <div class="defun">
  114. &mdash; Macro: int <b>E2BIG</b><var><a name="index-E2BIG-69"></a></var><br>
  115. <blockquote><!-- errno 7 @c DO NOT REMOVE -->
  116. <p>Argument list too long; used when the arguments passed to a new program
  117. being executed with one of the <code>exec</code> functions (see <a href="Executing-a-File.html#Executing-a-File">Executing a File</a>) occupy too much memory space. This condition never arises in the
  118. GNU system.
  119. </p></blockquote></div>
  120. <!-- errno.h -->
  121. <!-- POSIX.1: Exec format error -->
  122. <div class="defun">
  123. &mdash; Macro: int <b>ENOEXEC</b><var><a name="index-ENOEXEC-70"></a></var><br>
  124. <blockquote><!-- errno 8 @c DO NOT REMOVE -->
  125. <p>Invalid executable file format. This condition is detected by the
  126. <code>exec</code> functions; see <a href="Executing-a-File.html#Executing-a-File">Executing a File</a>.
  127. </p></blockquote></div>
  128. <!-- errno.h -->
  129. <!-- POSIX.1: Bad file descriptor -->
  130. <div class="defun">
  131. &mdash; Macro: int <b>EBADF</b><var><a name="index-EBADF-71"></a></var><br>
  132. <blockquote><!-- errno 9 @c DO NOT REMOVE -->
  133. <p>Bad file descriptor; for example, I/O on a descriptor that has been
  134. closed or reading from a descriptor open only for writing (or vice
  135. versa).
  136. </p></blockquote></div>
  137. <!-- errno.h -->
  138. <!-- POSIX.1: No child processes -->
  139. <div class="defun">
  140. &mdash; Macro: int <b>ECHILD</b><var><a name="index-ECHILD-72"></a></var><br>
  141. <blockquote><!-- errno 10 @c DO NOT REMOVE -->
  142. <p>There are no child processes. This error happens on operations that are
  143. supposed to manipulate child processes, when there aren't any processes
  144. to manipulate.
  145. </p></blockquote></div>
  146. <!-- errno.h -->
  147. <!-- POSIX.1: Resource deadlock avoided -->
  148. <div class="defun">
  149. &mdash; Macro: int <b>EDEADLK</b><var><a name="index-EDEADLK-73"></a></var><br>
  150. <blockquote><!-- errno 11 @c DO NOT REMOVE -->
  151. <p>Deadlock avoided; allocating a system resource would have resulted in a
  152. deadlock situation. The system does not guarantee that it will notice
  153. all such situations. This error means you got lucky and the system
  154. noticed; it might just hang. See <a href="File-Locks.html#File-Locks">File Locks</a>, for an example.
  155. </p></blockquote></div>
  156. <!-- errno.h -->
  157. <!-- POSIX.1: Cannot allocate memory -->
  158. <div class="defun">
  159. &mdash; Macro: int <b>ENOMEM</b><var><a name="index-ENOMEM-74"></a></var><br>
  160. <blockquote><!-- errno 12 @c DO NOT REMOVE -->
  161. <p>No memory available. The system cannot allocate more virtual memory
  162. because its capacity is full.
  163. </p></blockquote></div>
  164. <!-- errno.h -->
  165. <!-- POSIX.1: Permission denied -->
  166. <div class="defun">
  167. &mdash; Macro: int <b>EACCES</b><var><a name="index-EACCES-75"></a></var><br>
  168. <blockquote><!-- errno 13 @c DO NOT REMOVE -->
  169. <p>Permission denied; the file permissions do not allow the attempted operation.
  170. </p></blockquote></div>
  171. <!-- errno.h -->
  172. <!-- POSIX.1: Bad address -->
  173. <div class="defun">
  174. &mdash; Macro: int <b>EFAULT</b><var><a name="index-EFAULT-76"></a></var><br>
  175. <blockquote><!-- errno 14 @c DO NOT REMOVE -->
  176. <p>Bad address; an invalid pointer was detected.
  177. In the GNU system, this error never happens; you get a signal instead.
  178. </p></blockquote></div>
  179. <!-- errno.h -->
  180. <!-- BSD: Block device required -->
  181. <div class="defun">
  182. &mdash; Macro: int <b>ENOTBLK</b><var><a name="index-ENOTBLK-77"></a></var><br>
  183. <blockquote><!-- errno 15 @c DO NOT REMOVE -->
  184. <p>A file that isn't a block special file was given in a situation that
  185. requires one. For example, trying to mount an ordinary file as a file
  186. system in Unix gives this error.
  187. </p></blockquote></div>
  188. <!-- errno.h -->
  189. <!-- POSIX.1: Device or resource busy -->
  190. <div class="defun">
  191. &mdash; Macro: int <b>EBUSY</b><var><a name="index-EBUSY-78"></a></var><br>
  192. <blockquote><!-- errno 16 @c DO NOT REMOVE -->
  193. <p>Resource busy; a system resource that can't be shared is already in use.
  194. For example, if you try to delete a file that is the root of a currently
  195. mounted filesystem, you get this error.
  196. </p></blockquote></div>
  197. <!-- errno.h -->
  198. <!-- POSIX.1: File exists -->
  199. <div class="defun">
  200. &mdash; Macro: int <b>EEXIST</b><var><a name="index-EEXIST-79"></a></var><br>
  201. <blockquote><!-- errno 17 @c DO NOT REMOVE -->
  202. <p>File exists; an existing file was specified in a context where it only
  203. makes sense to specify a new file.
  204. </p></blockquote></div>
  205. <!-- errno.h -->
  206. <!-- POSIX.1: Invalid cross-device link -->
  207. <div class="defun">
  208. &mdash; Macro: int <b>EXDEV</b><var><a name="index-EXDEV-80"></a></var><br>
  209. <blockquote><!-- errno 18 @c DO NOT REMOVE -->
  210. <p>An attempt to make an improper link across file systems was detected.
  211. This happens not only when you use <code>link</code> (see <a href="Hard-Links.html#Hard-Links">Hard Links</a>) but
  212. also when you rename a file with <code>rename</code> (see <a href="Renaming-Files.html#Renaming-Files">Renaming Files</a>).
  213. </p></blockquote></div>
  214. <!-- errno.h -->
  215. <!-- POSIX.1: No such device -->
  216. <div class="defun">
  217. &mdash; Macro: int <b>ENODEV</b><var><a name="index-ENODEV-81"></a></var><br>
  218. <blockquote><!-- errno 19 @c DO NOT REMOVE -->
  219. <p>The wrong type of device was given to a function that expects a
  220. particular sort of device.
  221. </p></blockquote></div>
  222. <!-- errno.h -->
  223. <!-- POSIX.1: Not a directory -->
  224. <div class="defun">
  225. &mdash; Macro: int <b>ENOTDIR</b><var><a name="index-ENOTDIR-82"></a></var><br>
  226. <blockquote><!-- errno 20 @c DO NOT REMOVE -->
  227. <p>A file that isn't a directory was specified when a directory is required.
  228. </p></blockquote></div>
  229. <!-- errno.h -->
  230. <!-- POSIX.1: Is a directory -->
  231. <div class="defun">
  232. &mdash; Macro: int <b>EISDIR</b><var><a name="index-EISDIR-83"></a></var><br>
  233. <blockquote><!-- errno 21 @c DO NOT REMOVE -->
  234. <p>File is a directory; you cannot open a directory for writing,
  235. or create or remove hard links to it.
  236. </p></blockquote></div>
  237. <!-- errno.h -->
  238. <!-- POSIX.1: Invalid argument -->
  239. <div class="defun">
  240. &mdash; Macro: int <b>EINVAL</b><var><a name="index-EINVAL-84"></a></var><br>
  241. <blockquote><!-- errno 22 @c DO NOT REMOVE -->
  242. <p>Invalid argument. This is used to indicate various kinds of problems
  243. with passing the wrong argument to a library function.
  244. </p></blockquote></div>
  245. <!-- errno.h -->
  246. <!-- POSIX.1: Too many open files -->
  247. <div class="defun">
  248. &mdash; Macro: int <b>EMFILE</b><var><a name="index-EMFILE-85"></a></var><br>
  249. <blockquote><!-- errno 24 @c DO NOT REMOVE -->
  250. <p>The current process has too many files open and can't open any more.
  251. Duplicate descriptors do count toward this limit.
  252. <p>In BSD and GNU, the number of open files is controlled by a resource
  253. limit that can usually be increased. If you get this error, you might
  254. want to increase the <code>RLIMIT_NOFILE</code> limit or make it unlimited;
  255. see <a href="Limits-on-Resources.html#Limits-on-Resources">Limits on Resources</a>.
  256. </p></blockquote></div>
  257. <!-- errno.h -->
  258. <!-- POSIX.1: Too many open files in system -->
  259. <div class="defun">
  260. &mdash; Macro: int <b>ENFILE</b><var><a name="index-ENFILE-86"></a></var><br>
  261. <blockquote><!-- errno 23 @c DO NOT REMOVE -->
  262. <p>There are too many distinct file openings in the entire system. Note
  263. that any number of linked channels count as just one file opening; see
  264. <a href="Linked-Channels.html#Linked-Channels">Linked Channels</a>. This error never occurs in the GNU system.
  265. </p></blockquote></div>
  266. <!-- errno.h -->
  267. <!-- POSIX.1: Inappropriate ioctl for device -->
  268. <div class="defun">
  269. &mdash; Macro: int <b>ENOTTY</b><var><a name="index-ENOTTY-87"></a></var><br>
  270. <blockquote><!-- errno 25 @c DO NOT REMOVE -->
  271. <p>Inappropriate I/O control operation, such as trying to set terminal
  272. modes on an ordinary file.
  273. </p></blockquote></div>
  274. <!-- errno.h -->
  275. <!-- BSD: Text file busy -->
  276. <div class="defun">
  277. &mdash; Macro: int <b>ETXTBSY</b><var><a name="index-ETXTBSY-88"></a></var><br>
  278. <blockquote><!-- errno 26 @c DO NOT REMOVE -->
  279. <p>An attempt to execute a file that is currently open for writing, or
  280. write to a file that is currently being executed. Often using a
  281. debugger to run a program is considered having it open for writing and
  282. will cause this error. (The name stands for &ldquo;text file busy&rdquo;.) This
  283. is not an error in the GNU system; the text is copied as necessary.
  284. </p></blockquote></div>
  285. <!-- errno.h -->
  286. <!-- POSIX.1: File too large -->
  287. <div class="defun">
  288. &mdash; Macro: int <b>EFBIG</b><var><a name="index-EFBIG-89"></a></var><br>
  289. <blockquote><!-- errno 27 @c DO NOT REMOVE -->
  290. <p>File too big; the size of a file would be larger than allowed by the system.
  291. </p></blockquote></div>
  292. <!-- errno.h -->
  293. <!-- POSIX.1: No space left on device -->
  294. <div class="defun">
  295. &mdash; Macro: int <b>ENOSPC</b><var><a name="index-ENOSPC-90"></a></var><br>
  296. <blockquote><!-- errno 28 @c DO NOT REMOVE -->
  297. <p>No space left on device; write operation on a file failed because the
  298. disk is full.
  299. </p></blockquote></div>
  300. <!-- errno.h -->
  301. <!-- POSIX.1: Illegal seek -->
  302. <div class="defun">
  303. &mdash; Macro: int <b>ESPIPE</b><var><a name="index-ESPIPE-91"></a></var><br>
  304. <blockquote><!-- errno 29 @c DO NOT REMOVE -->
  305. <p>Invalid seek operation (such as on a pipe).
  306. </p></blockquote></div>
  307. <!-- errno.h -->
  308. <!-- POSIX.1: Read-only file system -->
  309. <div class="defun">
  310. &mdash; Macro: int <b>EROFS</b><var><a name="index-EROFS-92"></a></var><br>
  311. <blockquote><!-- errno 30 @c DO NOT REMOVE -->
  312. <p>An attempt was made to modify something on a read-only file system.
  313. </p></blockquote></div>
  314. <!-- errno.h -->
  315. <!-- POSIX.1: Too many links -->
  316. <div class="defun">
  317. &mdash; Macro: int <b>EMLINK</b><var><a name="index-EMLINK-93"></a></var><br>
  318. <blockquote><!-- errno 31 @c DO NOT REMOVE -->
  319. <p>Too many links; the link count of a single file would become too large.
  320. <code>rename</code> can cause this error if the file being renamed already has
  321. as many links as it can take (see <a href="Renaming-Files.html#Renaming-Files">Renaming Files</a>).
  322. </p></blockquote></div>
  323. <!-- errno.h -->
  324. <!-- POSIX.1: Broken pipe -->
  325. <div class="defun">
  326. &mdash; Macro: int <b>EPIPE</b><var><a name="index-EPIPE-94"></a></var><br>
  327. <blockquote><!-- errno 32 @c DO NOT REMOVE -->
  328. <p>Broken pipe; there is no process reading from the other end of a pipe.
  329. Every library function that returns this error code also generates a
  330. <code>SIGPIPE</code> signal; this signal terminates the program if not handled
  331. or blocked. Thus, your program will never actually see <code>EPIPE</code>
  332. unless it has handled or blocked <code>SIGPIPE</code>.
  333. </p></blockquote></div>
  334. <!-- errno.h -->
  335. <!-- ISO: Numerical argument out of domain -->
  336. <div class="defun">
  337. &mdash; Macro: int <b>EDOM</b><var><a name="index-EDOM-95"></a></var><br>
  338. <blockquote><!-- errno 33 @c DO NOT REMOVE -->
  339. <p>Domain error; used by mathematical functions when an argument value does
  340. not fall into the domain over which the function is defined.
  341. </p></blockquote></div>
  342. <!-- errno.h -->
  343. <!-- ISO: Numerical result out of range -->
  344. <div class="defun">
  345. &mdash; Macro: int <b>ERANGE</b><var><a name="index-ERANGE-96"></a></var><br>
  346. <blockquote><!-- errno 34 @c DO NOT REMOVE -->
  347. <p>Range error; used by mathematical functions when the result value is
  348. not representable because of overflow or underflow.
  349. </p></blockquote></div>
  350. <!-- errno.h -->
  351. <!-- POSIX.1: Resource temporarily unavailable -->
  352. <div class="defun">
  353. &mdash; Macro: int <b>EAGAIN</b><var><a name="index-EAGAIN-97"></a></var><br>
  354. <blockquote><!-- errno 35 @c DO NOT REMOVE -->
  355. <p>Resource temporarily unavailable; the call might work if you try again
  356. later. The macro <code>EWOULDBLOCK</code> is another name for <code>EAGAIN</code>;
  357. they are always the same in the GNU C library.
  358. <p>This error can happen in a few different situations:
  359. <ul>
  360. <li>An operation that would block was attempted on an object that has
  361. non-blocking mode selected. Trying the same operation again will block
  362. until some external condition makes it possible to read, write, or
  363. connect (whatever the operation). You can use <code>select</code> to find out
  364. when the operation will be possible; see <a href="Waiting-for-I_002fO.html#Waiting-for-I_002fO">Waiting for I/O</a>.
  365. <p><strong>Portability Note:</strong> In many older Unix systems, this condition
  366. was indicated by <code>EWOULDBLOCK</code>, which was a distinct error code
  367. different from <code>EAGAIN</code>. To make your program portable, you should
  368. check for both codes and treat them the same.
  369. <li>A temporary resource shortage made an operation impossible. <code>fork</code>
  370. can return this error. It indicates that the shortage is expected to
  371. pass, so your program can try the call again later and it may succeed.
  372. It is probably a good idea to delay for a few seconds before trying it
  373. again, to allow time for other processes to release scarce resources.
  374. Such shortages are usually fairly serious and affect the whole system,
  375. so usually an interactive program should report the error to the user
  376. and return to its command loop.
  377. </ul>
  378. </p></blockquote></div>
  379. <!-- errno.h -->
  380. <!-- BSD: Operation would block -->
  381. <div class="defun">
  382. &mdash; Macro: int <b>EWOULDBLOCK</b><var><a name="index-EWOULDBLOCK-98"></a></var><br>
  383. <blockquote><!-- errno EAGAIN @c DO NOT REMOVE -->
  384. <p>In the GNU C library, this is another name for <code>EAGAIN</code> (above).
  385. The values are always the same, on every operating system.
  386. <p>C libraries in many older Unix systems have <code>EWOULDBLOCK</code> as a
  387. separate error code.
  388. </p></blockquote></div>
  389. <!-- errno.h -->
  390. <!-- BSD: Operation now in progress -->
  391. <div class="defun">
  392. &mdash; Macro: int <b>EINPROGRESS</b><var><a name="index-EINPROGRESS-99"></a></var><br>
  393. <blockquote><!-- errno 36 @c DO NOT REMOVE -->
  394. <p>An operation that cannot complete immediately was initiated on an object
  395. that has non-blocking mode selected. Some functions that must always
  396. block (such as <code>connect</code>; see <a href="Connecting.html#Connecting">Connecting</a>) never return
  397. <code>EAGAIN</code>. Instead, they return <code>EINPROGRESS</code> to indicate that
  398. the operation has begun and will take some time. Attempts to manipulate
  399. the object before the call completes return <code>EALREADY</code>. You can
  400. use the <code>select</code> function to find out when the pending operation
  401. has completed; see <a href="Waiting-for-I_002fO.html#Waiting-for-I_002fO">Waiting for I/O</a>.
  402. </p></blockquote></div>
  403. <!-- errno.h -->
  404. <!-- BSD: Operation already in progress -->
  405. <div class="defun">
  406. &mdash; Macro: int <b>EALREADY</b><var><a name="index-EALREADY-100"></a></var><br>
  407. <blockquote><!-- errno 37 @c DO NOT REMOVE -->
  408. <p>An operation is already in progress on an object that has non-blocking
  409. mode selected.
  410. </p></blockquote></div>
  411. <!-- errno.h -->
  412. <!-- BSD: Socket operation on non-socket -->
  413. <div class="defun">
  414. &mdash; Macro: int <b>ENOTSOCK</b><var><a name="index-ENOTSOCK-101"></a></var><br>
  415. <blockquote><!-- errno 38 @c DO NOT REMOVE -->
  416. <p>A file that isn't a socket was specified when a socket is required.
  417. </p></blockquote></div>
  418. <!-- errno.h -->
  419. <!-- BSD: Message too long -->
  420. <div class="defun">
  421. &mdash; Macro: int <b>EMSGSIZE</b><var><a name="index-EMSGSIZE-102"></a></var><br>
  422. <blockquote><!-- errno 40 @c DO NOT REMOVE -->
  423. <p>The size of a message sent on a socket was larger than the supported
  424. maximum size.
  425. </p></blockquote></div>
  426. <!-- errno.h -->
  427. <!-- BSD: Protocol wrong type for socket -->
  428. <div class="defun">
  429. &mdash; Macro: int <b>EPROTOTYPE</b><var><a name="index-EPROTOTYPE-103"></a></var><br>
  430. <blockquote><!-- errno 41 @c DO NOT REMOVE -->
  431. <p>The socket type does not support the requested communications protocol.
  432. </p></blockquote></div>
  433. <!-- errno.h -->
  434. <!-- BSD: Protocol not available -->
  435. <div class="defun">
  436. &mdash; Macro: int <b>ENOPROTOOPT</b><var><a name="index-ENOPROTOOPT-104"></a></var><br>
  437. <blockquote><!-- errno 42 @c DO NOT REMOVE -->
  438. <p>You specified a socket option that doesn't make sense for the
  439. particular protocol being used by the socket. See <a href="Socket-Options.html#Socket-Options">Socket Options</a>.
  440. </p></blockquote></div>
  441. <!-- errno.h -->
  442. <!-- BSD: Protocol not supported -->
  443. <div class="defun">
  444. &mdash; Macro: int <b>EPROTONOSUPPORT</b><var><a name="index-EPROTONOSUPPORT-105"></a></var><br>
  445. <blockquote><!-- errno 43 @c DO NOT REMOVE -->
  446. <p>The socket domain does not support the requested communications protocol
  447. (perhaps because the requested protocol is completely invalid).
  448. See <a href="Creating-a-Socket.html#Creating-a-Socket">Creating a Socket</a>.
  449. </p></blockquote></div>
  450. <!-- errno.h -->
  451. <!-- BSD: Socket type not supported -->
  452. <div class="defun">
  453. &mdash; Macro: int <b>ESOCKTNOSUPPORT</b><var><a name="index-ESOCKTNOSUPPORT-106"></a></var><br>
  454. <blockquote><!-- errno 44 @c DO NOT REMOVE -->
  455. <p>The socket type is not supported.
  456. </p></blockquote></div>
  457. <!-- errno.h -->
  458. <!-- BSD: Operation not supported -->
  459. <div class="defun">
  460. &mdash; Macro: int <b>EOPNOTSUPP</b><var><a name="index-EOPNOTSUPP-107"></a></var><br>
  461. <blockquote><!-- errno 45 @c DO NOT REMOVE -->
  462. <p>The operation you requested is not supported. Some socket functions
  463. don't make sense for all types of sockets, and others may not be
  464. implemented for all communications protocols. In the GNU system, this
  465. error can happen for many calls when the object does not support the
  466. particular operation; it is a generic indication that the server knows
  467. nothing to do for that call.
  468. </p></blockquote></div>
  469. <!-- errno.h -->
  470. <!-- BSD: Protocol family not supported -->
  471. <div class="defun">
  472. &mdash; Macro: int <b>EPFNOSUPPORT</b><var><a name="index-EPFNOSUPPORT-108"></a></var><br>
  473. <blockquote><!-- errno 46 @c DO NOT REMOVE -->
  474. <p>The socket communications protocol family you requested is not supported.
  475. </p></blockquote></div>
  476. <!-- errno.h -->
  477. <!-- BSD: Address family not supported by protocol -->
  478. <div class="defun">
  479. &mdash; Macro: int <b>EAFNOSUPPORT</b><var><a name="index-EAFNOSUPPORT-109"></a></var><br>
  480. <blockquote><!-- errno 47 @c DO NOT REMOVE -->
  481. <p>The address family specified for a socket is not supported; it is
  482. inconsistent with the protocol being used on the socket. See <a href="Sockets.html#Sockets">Sockets</a>.
  483. </p></blockquote></div>
  484. <!-- errno.h -->
  485. <!-- BSD: Address already in use -->
  486. <div class="defun">
  487. &mdash; Macro: int <b>EADDRINUSE</b><var><a name="index-EADDRINUSE-110"></a></var><br>
  488. <blockquote><!-- errno 48 @c DO NOT REMOVE -->
  489. <p>The requested socket address is already in use. See <a href="Socket-Addresses.html#Socket-Addresses">Socket Addresses</a>.
  490. </p></blockquote></div>
  491. <!-- errno.h -->
  492. <!-- BSD: Cannot assign requested address -->
  493. <div class="defun">
  494. &mdash; Macro: int <b>EADDRNOTAVAIL</b><var><a name="index-EADDRNOTAVAIL-111"></a></var><br>
  495. <blockquote><!-- errno 49 @c DO NOT REMOVE -->
  496. <p>The requested socket address is not available; for example, you tried
  497. to give a socket a name that doesn't match the local host name.
  498. See <a href="Socket-Addresses.html#Socket-Addresses">Socket Addresses</a>.
  499. </p></blockquote></div>
  500. <!-- errno.h -->
  501. <!-- BSD: Network is down -->
  502. <div class="defun">
  503. &mdash; Macro: int <b>ENETDOWN</b><var><a name="index-ENETDOWN-112"></a></var><br>
  504. <blockquote><!-- errno 50 @c DO NOT REMOVE -->
  505. <p>A socket operation failed because the network was down.
  506. </p></blockquote></div>
  507. <!-- errno.h -->
  508. <!-- BSD: Network is unreachable -->
  509. <div class="defun">
  510. &mdash; Macro: int <b>ENETUNREACH</b><var><a name="index-ENETUNREACH-113"></a></var><br>
  511. <blockquote><!-- errno 51 @c DO NOT REMOVE -->
  512. <p>A socket operation failed because the subnet containing the remote host
  513. was unreachable.
  514. </p></blockquote></div>
  515. <!-- errno.h -->
  516. <!-- BSD: Network dropped connection on reset -->
  517. <div class="defun">
  518. &mdash; Macro: int <b>ENETRESET</b><var><a name="index-ENETRESET-114"></a></var><br>
  519. <blockquote><!-- errno 52 @c DO NOT REMOVE -->
  520. <p>A network connection was reset because the remote host crashed.
  521. </p></blockquote></div>
  522. <!-- errno.h -->
  523. <!-- BSD: Software caused connection abort -->
  524. <div class="defun">
  525. &mdash; Macro: int <b>ECONNABORTED</b><var><a name="index-ECONNABORTED-115"></a></var><br>
  526. <blockquote><!-- errno 53 @c DO NOT REMOVE -->
  527. <p>A network connection was aborted locally.
  528. </p></blockquote></div>
  529. <!-- errno.h -->
  530. <!-- BSD: Connection reset by peer -->
  531. <div class="defun">
  532. &mdash; Macro: int <b>ECONNRESET</b><var><a name="index-ECONNRESET-116"></a></var><br>
  533. <blockquote><!-- errno 54 @c DO NOT REMOVE -->
  534. <p>A network connection was closed for reasons outside the control of the
  535. local host, such as by the remote machine rebooting or an unrecoverable
  536. protocol violation.
  537. </p></blockquote></div>
  538. <!-- errno.h -->
  539. <!-- BSD: No buffer space available -->
  540. <div class="defun">
  541. &mdash; Macro: int <b>ENOBUFS</b><var><a name="index-ENOBUFS-117"></a></var><br>
  542. <blockquote><!-- errno 55 @c DO NOT REMOVE -->
  543. <p>The kernel's buffers for I/O operations are all in use. In GNU, this
  544. error is always synonymous with <code>ENOMEM</code>; you may get one or the
  545. other from network operations.
  546. </p></blockquote></div>
  547. <!-- errno.h -->
  548. <!-- BSD: Transport endpoint is already connected -->
  549. <div class="defun">
  550. &mdash; Macro: int <b>EISCONN</b><var><a name="index-EISCONN-118"></a></var><br>
  551. <blockquote><!-- errno 56 @c DO NOT REMOVE -->
  552. <p>You tried to connect a socket that is already connected.
  553. See <a href="Connecting.html#Connecting">Connecting</a>.
  554. </p></blockquote></div>
  555. <!-- errno.h -->
  556. <!-- BSD: Transport endpoint is not connected -->
  557. <div class="defun">
  558. &mdash; Macro: int <b>ENOTCONN</b><var><a name="index-ENOTCONN-119"></a></var><br>
  559. <blockquote><!-- errno 57 @c DO NOT REMOVE -->
  560. <p>The socket is not connected to anything. You get this error when you
  561. try to transmit data over a socket, without first specifying a
  562. destination for the data. For a connectionless socket (for datagram
  563. protocols, such as UDP), you get <code>EDESTADDRREQ</code> instead.
  564. </p></blockquote></div>
  565. <!-- errno.h -->
  566. <!-- BSD: Destination address required -->
  567. <div class="defun">
  568. &mdash; Macro: int <b>EDESTADDRREQ</b><var><a name="index-EDESTADDRREQ-120"></a></var><br>
  569. <blockquote><!-- errno 39 @c DO NOT REMOVE -->
  570. <p>No default destination address was set for the socket. You get this
  571. error when you try to transmit data over a connectionless socket,
  572. without first specifying a destination for the data with <code>connect</code>.
  573. </p></blockquote></div>
  574. <!-- errno.h -->
  575. <!-- BSD: Cannot send after transport endpoint shutdown -->
  576. <div class="defun">
  577. &mdash; Macro: int <b>ESHUTDOWN</b><var><a name="index-ESHUTDOWN-121"></a></var><br>
  578. <blockquote><!-- errno 58 @c DO NOT REMOVE -->
  579. <p>The socket has already been shut down.
  580. </p></blockquote></div>
  581. <!-- errno.h -->
  582. <!-- BSD: Too many references: cannot splice -->
  583. <div class="defun">
  584. &mdash; Macro: int <b>ETOOMANYREFS</b><var><a name="index-ETOOMANYREFS-122"></a></var><br>
  585. <blockquote><!-- errno 59 @c DO NOT REMOVE -->
  586. <p>???
  587. </p></blockquote></div>
  588. <!-- errno.h -->
  589. <!-- BSD: Connection timed out -->
  590. <div class="defun">
  591. &mdash; Macro: int <b>ETIMEDOUT</b><var><a name="index-ETIMEDOUT-123"></a></var><br>
  592. <blockquote><!-- errno 60 @c DO NOT REMOVE -->
  593. <p>A socket operation with a specified timeout received no response during
  594. the timeout period.
  595. </p></blockquote></div>
  596. <!-- errno.h -->
  597. <!-- BSD: Connection refused -->
  598. <div class="defun">
  599. &mdash; Macro: int <b>ECONNREFUSED</b><var><a name="index-ECONNREFUSED-124"></a></var><br>
  600. <blockquote><!-- errno 61 @c DO NOT REMOVE -->
  601. <p>A remote host refused to allow the network connection (typically because
  602. it is not running the requested service).
  603. </p></blockquote></div>
  604. <!-- errno.h -->
  605. <!-- BSD: Too many levels of symbolic links -->
  606. <div class="defun">
  607. &mdash; Macro: int <b>ELOOP</b><var><a name="index-ELOOP-125"></a></var><br>
  608. <blockquote><!-- errno 62 @c DO NOT REMOVE -->
  609. <p>Too many levels of symbolic links were encountered in looking up a file name.
  610. This often indicates a cycle of symbolic links.
  611. </p></blockquote></div>
  612. <!-- errno.h -->
  613. <!-- POSIX.1: File name too long -->
  614. <div class="defun">
  615. &mdash; Macro: int <b>ENAMETOOLONG</b><var><a name="index-ENAMETOOLONG-126"></a></var><br>
  616. <blockquote><!-- errno 63 @c DO NOT REMOVE -->
  617. <p>Filename too long (longer than <code>PATH_MAX</code>; see <a href="Limits-for-Files.html#Limits-for-Files">Limits for Files</a>) or host name too long (in <code>gethostname</code> or
  618. <code>sethostname</code>; see <a href="Host-Identification.html#Host-Identification">Host Identification</a>).
  619. </p></blockquote></div>
  620. <!-- errno.h -->
  621. <!-- BSD: Host is down -->
  622. <div class="defun">
  623. &mdash; Macro: int <b>EHOSTDOWN</b><var><a name="index-EHOSTDOWN-127"></a></var><br>
  624. <blockquote><!-- errno 64 @c DO NOT REMOVE -->
  625. <p>The remote host for a requested network connection is down.
  626. </p></blockquote></div>
  627. <!-- errno.h -->
  628. <!-- BSD: No route to host -->
  629. <div class="defun">
  630. &mdash; Macro: int <b>EHOSTUNREACH</b><var><a name="index-EHOSTUNREACH-128"></a></var><br>
  631. <blockquote><!-- errno 65 @c DO NOT REMOVE -->
  632. <p>The remote host for a requested network connection is not reachable.
  633. </p></blockquote></div>
  634. <!-- errno.h -->
  635. <!-- POSIX.1: Directory not empty -->
  636. <div class="defun">
  637. &mdash; Macro: int <b>ENOTEMPTY</b><var><a name="index-ENOTEMPTY-129"></a></var><br>
  638. <blockquote><!-- errno 66 @c DO NOT REMOVE -->
  639. <p>Directory not empty, where an empty directory was expected. Typically,
  640. this error occurs when you are trying to delete a directory.
  641. </p></blockquote></div>
  642. <!-- errno.h -->
  643. <!-- BSD: Too many processes -->
  644. <div class="defun">
  645. &mdash; Macro: int <b>EPROCLIM</b><var><a name="index-EPROCLIM-130"></a></var><br>
  646. <blockquote><!-- errno 67 @c DO NOT REMOVE -->
  647. <p>This means that the per-user limit on new process would be exceeded by
  648. an attempted <code>fork</code>. See <a href="Limits-on-Resources.html#Limits-on-Resources">Limits on Resources</a>, for details on
  649. the <code>RLIMIT_NPROC</code> limit.
  650. </p></blockquote></div>
  651. <!-- errno.h -->
  652. <!-- BSD: Too many users -->
  653. <div class="defun">
  654. &mdash; Macro: int <b>EUSERS</b><var><a name="index-EUSERS-131"></a></var><br>
  655. <blockquote><!-- errno 68 @c DO NOT REMOVE -->
  656. <p>The file quota system is confused because there are too many users.
  657. <!-- This can probably happen in a GNU system when using NFS. -->
  658. </p></blockquote></div>
  659. <!-- errno.h -->
  660. <!-- BSD: Disk quota exceeded -->
  661. <div class="defun">
  662. &mdash; Macro: int <b>EDQUOT</b><var><a name="index-EDQUOT-132"></a></var><br>
  663. <blockquote><!-- errno 69 @c DO NOT REMOVE -->
  664. <p>The user's disk quota was exceeded.
  665. </p></blockquote></div>
  666. <!-- errno.h -->
  667. <!-- BSD: Stale NFS file handle -->
  668. <div class="defun">
  669. &mdash; Macro: int <b>ESTALE</b><var><a name="index-ESTALE-133"></a></var><br>
  670. <blockquote><!-- errno 70 @c DO NOT REMOVE -->
  671. <p>Stale NFS file handle. This indicates an internal confusion in the NFS
  672. system which is due to file system rearrangements on the server host.
  673. Repairing this condition usually requires unmounting and remounting
  674. the NFS file system on the local host.
  675. </p></blockquote></div>
  676. <!-- errno.h -->
  677. <!-- BSD: Object is remote -->
  678. <div class="defun">
  679. &mdash; Macro: int <b>EREMOTE</b><var><a name="index-EREMOTE-134"></a></var><br>
  680. <blockquote><!-- errno 71 @c DO NOT REMOVE -->
  681. <p>An attempt was made to NFS-mount a remote file system with a file name that
  682. already specifies an NFS-mounted file.
  683. (This is an error on some operating systems, but we expect it to work
  684. properly on the GNU system, making this error code impossible.)
  685. </p></blockquote></div>
  686. <!-- errno.h -->
  687. <!-- BSD: RPC struct is bad -->
  688. <div class="defun">
  689. &mdash; Macro: int <b>EBADRPC</b><var><a name="index-EBADRPC-135"></a></var><br>
  690. <blockquote><!-- errno 72 @c DO NOT REMOVE -->
  691. <p>???
  692. </p></blockquote></div>
  693. <!-- errno.h -->
  694. <!-- BSD: RPC version wrong -->
  695. <div class="defun">
  696. &mdash; Macro: int <b>ERPCMISMATCH</b><var><a name="index-ERPCMISMATCH-136"></a></var><br>
  697. <blockquote><!-- errno 73 @c DO NOT REMOVE -->
  698. <p>???
  699. </p></blockquote></div>
  700. <!-- errno.h -->
  701. <!-- BSD: RPC program not available -->
  702. <div class="defun">
  703. &mdash; Macro: int <b>EPROGUNAVAIL</b><var><a name="index-EPROGUNAVAIL-137"></a></var><br>
  704. <blockquote><!-- errno 74 @c DO NOT REMOVE -->
  705. <p>???
  706. </p></blockquote></div>
  707. <!-- errno.h -->
  708. <!-- BSD: RPC program version wrong -->
  709. <div class="defun">
  710. &mdash; Macro: int <b>EPROGMISMATCH</b><var><a name="index-EPROGMISMATCH-138"></a></var><br>
  711. <blockquote><!-- errno 75 @c DO NOT REMOVE -->
  712. <p>???
  713. </p></blockquote></div>
  714. <!-- errno.h -->
  715. <!-- BSD: RPC bad procedure for program -->
  716. <div class="defun">
  717. &mdash; Macro: int <b>EPROCUNAVAIL</b><var><a name="index-EPROCUNAVAIL-139"></a></var><br>
  718. <blockquote><!-- errno 76 @c DO NOT REMOVE -->
  719. <p>???
  720. </p></blockquote></div>
  721. <!-- errno.h -->
  722. <!-- POSIX.1: No locks available -->
  723. <div class="defun">
  724. &mdash; Macro: int <b>ENOLCK</b><var><a name="index-ENOLCK-140"></a></var><br>
  725. <blockquote><!-- errno 77 @c DO NOT REMOVE -->
  726. <p>No locks available. This is used by the file locking facilities; see
  727. <a href="File-Locks.html#File-Locks">File Locks</a>. This error is never generated by the GNU system, but
  728. it can result from an operation to an NFS server running another
  729. operating system.
  730. </p></blockquote></div>
  731. <!-- errno.h -->
  732. <!-- BSD: Inappropriate file type or format -->
  733. <div class="defun">
  734. &mdash; Macro: int <b>EFTYPE</b><var><a name="index-EFTYPE-141"></a></var><br>
  735. <blockquote><!-- errno 79 @c DO NOT REMOVE -->
  736. <p>Inappropriate file type or format. The file was the wrong type for the
  737. operation, or a data file had the wrong format.
  738. <p>On some systems <code>chmod</code> returns this error if you try to set the
  739. sticky bit on a non-directory file; see <a href="Setting-Permissions.html#Setting-Permissions">Setting Permissions</a>.
  740. </p></blockquote></div>
  741. <!-- errno.h -->
  742. <!-- BSD: Authentication error -->
  743. <div class="defun">
  744. &mdash; Macro: int <b>EAUTH</b><var><a name="index-EAUTH-142"></a></var><br>
  745. <blockquote><!-- errno 80 @c DO NOT REMOVE -->
  746. <p>???
  747. </p></blockquote></div>
  748. <!-- errno.h -->
  749. <!-- BSD: Need authenticator -->
  750. <div class="defun">
  751. &mdash; Macro: int <b>ENEEDAUTH</b><var><a name="index-ENEEDAUTH-143"></a></var><br>
  752. <blockquote><!-- errno 81 @c DO NOT REMOVE -->
  753. <p>???
  754. </p></blockquote></div>
  755. <!-- errno.h -->
  756. <!-- POSIX.1: Function not implemented -->
  757. <div class="defun">
  758. &mdash; Macro: int <b>ENOSYS</b><var><a name="index-ENOSYS-144"></a></var><br>
  759. <blockquote><!-- errno 78 @c DO NOT REMOVE -->
  760. <p>Function not implemented. This indicates that the function called is
  761. not implemented at all, either in the C library itself or in the
  762. operating system. When you get this error, you can be sure that this
  763. particular function will always fail with <code>ENOSYS</code> unless you
  764. install a new version of the C library or the operating system.
  765. </p></blockquote></div>
  766. <!-- errno.h -->
  767. <!-- POSIX.1: Not supported -->
  768. <div class="defun">
  769. &mdash; Macro: int <b>ENOTSUP</b><var><a name="index-ENOTSUP-145"></a></var><br>
  770. <blockquote><!-- errno 118 @c DO NOT REMOVE -->
  771. <p>Not supported. A function returns this error when certain parameter
  772. values are valid, but the functionality they request is not available.
  773. This can mean that the function does not implement a particular command
  774. or option value or flag bit at all. For functions that operate on some
  775. object given in a parameter, such as a file descriptor or a port, it
  776. might instead mean that only <em>that specific object</em> (file
  777. descriptor, port, etc.) is unable to support the other parameters given;
  778. different file descriptors might support different ranges of parameter
  779. values.
  780. <p>If the entire function is not available at all in the implementation,
  781. it returns <code>ENOSYS</code> instead.
  782. </p></blockquote></div>
  783. <!-- errno.h -->
  784. <!-- ISO: Invalid or incomplete multibyte or wide character -->
  785. <div class="defun">
  786. &mdash; Macro: int <b>EILSEQ</b><var><a name="index-EILSEQ-146"></a></var><br>
  787. <blockquote><!-- errno 106 @c DO NOT REMOVE -->
  788. <p>While decoding a multibyte character the function came along an invalid
  789. or an incomplete sequence of bytes or the given wide character is invalid.
  790. </p></blockquote></div>
  791. <!-- errno.h -->
  792. <!-- GNU: Inappropriate operation for background process -->
  793. <div class="defun">
  794. &mdash; Macro: int <b>EBACKGROUND</b><var><a name="index-EBACKGROUND-147"></a></var><br>
  795. <blockquote><!-- errno 100 @c DO NOT REMOVE -->
  796. <p>In the GNU system, servers supporting the <code>term</code> protocol return
  797. this error for certain operations when the caller is not in the
  798. foreground process group of the terminal. Users do not usually see this
  799. error because functions such as <code>read</code> and <code>write</code> translate
  800. it into a <code>SIGTTIN</code> or <code>SIGTTOU</code> signal. See <a href="Job-Control.html#Job-Control">Job Control</a>,
  801. for information on process groups and these signals.
  802. </p></blockquote></div>
  803. <!-- errno.h -->
  804. <!-- GNU: Translator died -->
  805. <div class="defun">
  806. &mdash; Macro: int <b>EDIED</b><var><a name="index-EDIED-148"></a></var><br>
  807. <blockquote><!-- errno 101 @c DO NOT REMOVE -->
  808. <p>In the GNU system, opening a file returns this error when the file is
  809. translated by a program and the translator program dies while starting
  810. up, before it has connected to the file.
  811. </p></blockquote></div>
  812. <!-- errno.h -->
  813. <!-- GNU: ? -->
  814. <div class="defun">
  815. &mdash; Macro: int <b>ED</b><var><a name="index-ED-149"></a></var><br>
  816. <blockquote><!-- errno 102 @c DO NOT REMOVE -->
  817. <p>The experienced user will know what is wrong.
  818. <!-- This error code is a joke. Its perror text is part of the joke. -->
  819. <!-- Don't change it. -->
  820. </p></blockquote></div>
  821. <!-- errno.h -->
  822. <!-- GNU: You really blew it this time -->
  823. <div class="defun">
  824. &mdash; Macro: int <b>EGREGIOUS</b><var><a name="index-EGREGIOUS-150"></a></var><br>
  825. <blockquote><!-- errno 103 @c DO NOT REMOVE -->
  826. <p>You did <strong>what</strong>?
  827. </p></blockquote></div>
  828. <!-- errno.h -->
  829. <!-- GNU: Computer bought the farm -->
  830. <div class="defun">
  831. &mdash; Macro: int <b>EIEIO</b><var><a name="index-EIEIO-151"></a></var><br>
  832. <blockquote><!-- errno 104 @c DO NOT REMOVE -->
  833. <p>Go home and have a glass of warm, dairy-fresh milk.
  834. </p></blockquote></div>
  835. <!-- errno.h -->
  836. <!-- GNU: Gratuitous error -->
  837. <div class="defun">
  838. &mdash; Macro: int <b>EGRATUITOUS</b><var><a name="index-EGRATUITOUS-152"></a></var><br>
  839. <blockquote><!-- errno 105 @c DO NOT REMOVE -->
  840. <p>This error code has no purpose.
  841. </p></blockquote></div>
  842. <!-- errno.h -->
  843. <!-- XOPEN: Bad message -->
  844. <div class="defun">
  845. &mdash; Macro: int <b>EBADMSG</b><var><a name="index-EBADMSG-153"></a></var><br>
  846. <blockquote><!-- errno 107 -->
  847. </blockquote></div>
  848. <!-- errno.h -->
  849. <!-- XOPEN: Identifier removed -->
  850. <div class="defun">
  851. &mdash; Macro: int <b>EIDRM</b><var><a name="index-EIDRM-154"></a></var><br>
  852. <blockquote><!-- errno 108 -->
  853. </blockquote></div>
  854. <!-- errno.h -->
  855. <!-- XOPEN: Multihop attempted -->
  856. <div class="defun">
  857. &mdash; Macro: int <b>EMULTIHOP</b><var><a name="index-EMULTIHOP-155"></a></var><br>
  858. <blockquote><!-- errno 109 -->
  859. </blockquote></div>
  860. <!-- errno.h -->
  861. <!-- XOPEN: No data available -->
  862. <div class="defun">
  863. &mdash; Macro: int <b>ENODATA</b><var><a name="index-ENODATA-156"></a></var><br>
  864. <blockquote><!-- errno 110 -->
  865. </blockquote></div>
  866. <!-- errno.h -->
  867. <!-- XOPEN: Link has been severed -->
  868. <div class="defun">
  869. &mdash; Macro: int <b>ENOLINK</b><var><a name="index-ENOLINK-157"></a></var><br>
  870. <blockquote><!-- errno 111 -->
  871. </blockquote></div>
  872. <!-- errno.h -->
  873. <!-- XOPEN: No message of desired type -->
  874. <div class="defun">
  875. &mdash; Macro: int <b>ENOMSG</b><var><a name="index-ENOMSG-158"></a></var><br>
  876. <blockquote><!-- errno 112 -->
  877. </blockquote></div>
  878. <!-- errno.h -->
  879. <!-- XOPEN: Out of streams resources -->
  880. <div class="defun">
  881. &mdash; Macro: int <b>ENOSR</b><var><a name="index-ENOSR-159"></a></var><br>
  882. <blockquote><!-- errno 113 -->
  883. </blockquote></div>
  884. <!-- errno.h -->
  885. <!-- XOPEN: Device not a stream -->
  886. <div class="defun">
  887. &mdash; Macro: int <b>ENOSTR</b><var><a name="index-ENOSTR-160"></a></var><br>
  888. <blockquote><!-- errno 114 -->
  889. </blockquote></div>
  890. <!-- errno.h -->
  891. <!-- XOPEN: Value too large for defined data type -->
  892. <div class="defun">
  893. &mdash; Macro: int <b>EOVERFLOW</b><var><a name="index-EOVERFLOW-161"></a></var><br>
  894. <blockquote><!-- errno 115 -->
  895. </blockquote></div>
  896. <!-- errno.h -->
  897. <!-- XOPEN: Protocol error -->
  898. <div class="defun">
  899. &mdash; Macro: int <b>EPROTO</b><var><a name="index-EPROTO-162"></a></var><br>
  900. <blockquote><!-- errno 116 -->
  901. </blockquote></div>
  902. <!-- errno.h -->
  903. <!-- XOPEN: Timer expired -->
  904. <div class="defun">
  905. &mdash; Macro: int <b>ETIME</b><var><a name="index-ETIME-163"></a></var><br>
  906. <blockquote><!-- errno 117 -->
  907. </blockquote></div>
  908. <!-- errno.h -->
  909. <!-- POSIX.1: Operation canceled -->
  910. <div class="defun">
  911. &mdash; Macro: int <b>ECANCELED</b><var><a name="index-ECANCELED-164"></a></var><br>
  912. <blockquote><!-- errno 119 -->
  913. <p>Operation canceled; an asynchronous operation was canceled before it
  914. completed. See <a href="Asynchronous-I_002fO.html#Asynchronous-I_002fO">Asynchronous I/O</a>. When you call <code>aio_cancel</code>,
  915. the normal result is for the operations affected to complete with this
  916. error; see <a href="Cancel-AIO-Operations.html#Cancel-AIO-Operations">Cancel AIO Operations</a>.
  917. </p></blockquote></div>
  918. <p><em>The following error codes are defined by the Linux/i386 kernel.
  919. They are not yet documented.</em>
  920. <!-- errno.h -->
  921. <!-- Linux???: Interrupted system call should be restarted -->
  922. <div class="defun">
  923. &mdash; Macro: int <b>ERESTART</b><var><a name="index-ERESTART-165"></a></var><br>
  924. <blockquote><!-- errno ???/85 -->
  925. </blockquote></div>
  926. <!-- errno.h -->
  927. <!-- Linux???: Channel number out of range -->
  928. <div class="defun">
  929. &mdash; Macro: int <b>ECHRNG</b><var><a name="index-ECHRNG-166"></a></var><br>
  930. <blockquote><!-- errno ???/44 -->
  931. </blockquote></div>
  932. <!-- errno.h -->
  933. <!-- Obsolete: Level 2 not synchronized -->
  934. <div class="defun">
  935. &mdash; Macro: int <b>EL2NSYNC</b><var><a name="index-EL2NSYNC-167"></a></var><br>
  936. <blockquote><!-- errno ???/45 -->
  937. </blockquote></div>
  938. <!-- errno.h -->
  939. <!-- Obsolete: Level 3 halted -->
  940. <div class="defun">
  941. &mdash; Macro: int <b>EL3HLT</b><var><a name="index-EL3HLT-168"></a></var><br>
  942. <blockquote><!-- errno ???/46 -->
  943. </blockquote></div>
  944. <!-- errno.h -->
  945. <!-- Obsolete: Level 3 reset -->
  946. <div class="defun">
  947. &mdash; Macro: int <b>EL3RST</b><var><a name="index-EL3RST-169"></a></var><br>
  948. <blockquote><!-- errno ???/47 -->
  949. </blockquote></div>
  950. <!-- errno.h -->
  951. <!-- Linux???: Link number out of range -->
  952. <div class="defun">
  953. &mdash; Macro: int <b>ELNRNG</b><var><a name="index-ELNRNG-170"></a></var><br>
  954. <blockquote><!-- errno ???/48 -->
  955. </blockquote></div>
  956. <!-- errno.h -->
  957. <!-- Linux???: Protocol driver not attached -->
  958. <div class="defun">
  959. &mdash; Macro: int <b>EUNATCH</b><var><a name="index-EUNATCH-171"></a></var><br>
  960. <blockquote><!-- errno ???/49 -->
  961. </blockquote></div>
  962. <!-- errno.h -->
  963. <!-- Linux???: No CSI structure available -->
  964. <div class="defun">
  965. &mdash; Macro: int <b>ENOCSI</b><var><a name="index-ENOCSI-172"></a></var><br>
  966. <blockquote><!-- errno ???/50 -->
  967. </blockquote></div>
  968. <!-- errno.h -->
  969. <!-- Obsolete: Level 2 halted -->
  970. <div class="defun">
  971. &mdash; Macro: int <b>EL2HLT</b><var><a name="index-EL2HLT-173"></a></var><br>
  972. <blockquote><!-- errno ???/51 -->
  973. </blockquote></div>
  974. <!-- errno.h -->
  975. <!-- Linux???: Invalid exchange -->
  976. <div class="defun">
  977. &mdash; Macro: int <b>EBADE</b><var><a name="index-EBADE-174"></a></var><br>
  978. <blockquote><!-- errno ???/52 -->
  979. </blockquote></div>
  980. <!-- errno.h -->
  981. <!-- Linux???: Invalid request descriptor -->
  982. <div class="defun">
  983. &mdash; Macro: int <b>EBADR</b><var><a name="index-EBADR-175"></a></var><br>
  984. <blockquote><!-- errno ???/53 -->
  985. </blockquote></div>
  986. <!-- errno.h -->
  987. <!-- Linux???: Exchange full -->
  988. <div class="defun">
  989. &mdash; Macro: int <b>EXFULL</b><var><a name="index-EXFULL-176"></a></var><br>
  990. <blockquote><!-- errno ???/54 -->
  991. </blockquote></div>
  992. <!-- errno.h -->
  993. <!-- Linux???: No anode -->
  994. <div class="defun">
  995. &mdash; Macro: int <b>ENOANO</b><var><a name="index-ENOANO-177"></a></var><br>
  996. <blockquote><!-- errno ???/55 -->
  997. </blockquote></div>
  998. <!-- errno.h -->
  999. <!-- Linux???: Invalid request code -->
  1000. <div class="defun">
  1001. &mdash; Macro: int <b>EBADRQC</b><var><a name="index-EBADRQC-178"></a></var><br>
  1002. <blockquote><!-- errno ???/56 -->
  1003. </blockquote></div>
  1004. <!-- errno.h -->
  1005. <!-- Linux???: Invalid slot -->
  1006. <div class="defun">
  1007. &mdash; Macro: int <b>EBADSLT</b><var><a name="index-EBADSLT-179"></a></var><br>
  1008. <blockquote><!-- errno ???/57 -->
  1009. </blockquote></div>
  1010. <!-- errno.h -->
  1011. <!-- Linux???: File locking deadlock error -->
  1012. <div class="defun">
  1013. &mdash; Macro: int <b>EDEADLOCK</b><var><a name="index-EDEADLOCK-180"></a></var><br>
  1014. <blockquote><!-- errno ???/58 -->
  1015. </blockquote></div>
  1016. <!-- errno.h -->
  1017. <!-- Linux???: Bad font file format -->
  1018. <div class="defun">
  1019. &mdash; Macro: int <b>EBFONT</b><var><a name="index-EBFONT-181"></a></var><br>
  1020. <blockquote><!-- errno ???/59 -->
  1021. </blockquote></div>
  1022. <!-- errno.h -->
  1023. <!-- Linux???: Machine is not on the network -->
  1024. <div class="defun">
  1025. &mdash; Macro: int <b>ENONET</b><var><a name="index-ENONET-182"></a></var><br>
  1026. <blockquote><!-- errno ???/64 -->
  1027. </blockquote></div>
  1028. <!-- errno.h -->
  1029. <!-- Linux???: Package not installed -->
  1030. <div class="defun">
  1031. &mdash; Macro: int <b>ENOPKG</b><var><a name="index-ENOPKG-183"></a></var><br>
  1032. <blockquote><!-- errno ???/65 -->
  1033. </blockquote></div>
  1034. <!-- errno.h -->
  1035. <!-- Linux???: Advertise error -->
  1036. <div class="defun">
  1037. &mdash; Macro: int <b>EADV</b><var><a name="index-EADV-184"></a></var><br>
  1038. <blockquote><!-- errno ???/68 -->
  1039. </blockquote></div>
  1040. <!-- errno.h -->
  1041. <!-- Linux???: Srmount error -->
  1042. <div class="defun">
  1043. &mdash; Macro: int <b>ESRMNT</b><var><a name="index-ESRMNT-185"></a></var><br>
  1044. <blockquote><!-- errno ???/69 -->
  1045. </blockquote></div>
  1046. <!-- errno.h -->
  1047. <!-- Linux???: Communication error on send -->
  1048. <div class="defun">
  1049. &mdash; Macro: int <b>ECOMM</b><var><a name="index-ECOMM-186"></a></var><br>
  1050. <blockquote><!-- errno ???/70 -->
  1051. </blockquote></div>
  1052. <!-- errno.h -->
  1053. <!-- Linux???: RFS specific error -->
  1054. <div class="defun">
  1055. &mdash; Macro: int <b>EDOTDOT</b><var><a name="index-EDOTDOT-187"></a></var><br>
  1056. <blockquote><!-- errno ???/73 -->
  1057. </blockquote></div>
  1058. <!-- errno.h -->
  1059. <!-- Linux???: Name not unique on network -->
  1060. <div class="defun">
  1061. &mdash; Macro: int <b>ENOTUNIQ</b><var><a name="index-ENOTUNIQ-188"></a></var><br>
  1062. <blockquote><!-- errno ???/76 -->
  1063. </blockquote></div>
  1064. <!-- errno.h -->
  1065. <!-- Linux???: File descriptor in bad state -->
  1066. <div class="defun">
  1067. &mdash; Macro: int <b>EBADFD</b><var><a name="index-EBADFD-189"></a></var><br>
  1068. <blockquote><!-- errno ???/77 -->
  1069. </blockquote></div>
  1070. <!-- errno.h -->
  1071. <!-- Linux???: Remote address changed -->
  1072. <div class="defun">
  1073. &mdash; Macro: int <b>EREMCHG</b><var><a name="index-EREMCHG-190"></a></var><br>
  1074. <blockquote><!-- errno ???/78 -->
  1075. </blockquote></div>
  1076. <!-- errno.h -->
  1077. <!-- Linux???: Can not access a needed shared library -->
  1078. <div class="defun">
  1079. &mdash; Macro: int <b>ELIBACC</b><var><a name="index-ELIBACC-191"></a></var><br>
  1080. <blockquote><!-- errno ???/79 -->
  1081. </blockquote></div>
  1082. <!-- errno.h -->
  1083. <!-- Linux???: Accessing a corrupted shared library -->
  1084. <div class="defun">
  1085. &mdash; Macro: int <b>ELIBBAD</b><var><a name="index-ELIBBAD-192"></a></var><br>
  1086. <blockquote><!-- errno ???/80 -->
  1087. </blockquote></div>
  1088. <!-- errno.h -->
  1089. <!-- Linux???: .lib section in a.out corrupted -->
  1090. <div class="defun">
  1091. &mdash; Macro: int <b>ELIBSCN</b><var><a name="index-ELIBSCN-1…

Large files files are truncated, but you can click here to view the full file