logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

errno.h.0p (6080B)


  1. '\" et
  2. .TH errno.h "0P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. errno.h
  12. \(em system error numbers
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <errno.h>
  17. .fi
  18. .SH DESCRIPTION
  19. Some of the functionality described on this reference page extends
  20. the ISO\ C standard. Any conflict between the requirements described here
  21. and the ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  22. .P
  23. The ISO\ C standard only requires the symbols
  24. .BR [EDOM] ,
  25. .BR [EILSEQ] ,
  26. and
  27. .BR [ERANGE]
  28. to be defined.
  29. .P
  30. The
  31. .IR <errno.h>
  32. header shall provide a declaration or definition for
  33. .IR errno .
  34. The symbol
  35. .IR errno
  36. shall expand to a modifiable lvalue of type
  37. .BR int .
  38. It is unspecified whether
  39. .IR errno
  40. is a macro or an identifier declared with external linkage. If a macro
  41. definition is suppressed in order to access an actual object, or a
  42. program defines an identifier with the name
  43. .IR errno ,
  44. the behavior is undefined.
  45. .P
  46. The
  47. .IR <errno.h>
  48. header shall define the following macros which shall expand to
  49. integer constant expressions with type
  50. .BR int ,
  51. distinct positive values (except as noted below), and which shall be
  52. suitable for use in
  53. .BR #if
  54. preprocessing directives:
  55. .TP
  56. .BR E2BIG
  57. Argument list too long.
  58. .TP
  59. .BR EACCES
  60. Permission denied.
  61. .TP
  62. .BR EADDRINUSE
  63. Address in use.
  64. .TP
  65. .BR EADDRNOTAVAIL
  66. Address not available.
  67. .TP
  68. .BR EAFNOSUPPORT
  69. Address family not supported.
  70. .TP
  71. .BR EAGAIN
  72. Resource unavailable, try again (may be the same value as
  73. .BR [EWOULDBLOCK] ).
  74. .TP
  75. .BR EALREADY
  76. Connection already in progress.
  77. .TP
  78. .BR EBADF
  79. Bad file descriptor.
  80. .TP
  81. .BR EBADMSG
  82. Bad message.
  83. .TP
  84. .BR EBUSY
  85. Device or resource busy.
  86. .TP
  87. .BR ECANCELED
  88. Operation canceled.
  89. .TP
  90. .BR ECHILD
  91. No child processes.
  92. .TP
  93. .BR ECONNABORTED
  94. Connection aborted.
  95. .TP
  96. .BR ECONNREFUSED
  97. Connection refused.
  98. .TP
  99. .BR ECONNRESET
  100. Connection reset.
  101. .TP
  102. .BR EDEADLK
  103. Resource deadlock would occur.
  104. .TP
  105. .BR EDESTADDRREQ
  106. Destination address required.
  107. .TP
  108. .BR EDOM
  109. Mathematics argument out of domain of function.
  110. .TP
  111. .BR EDQUOT
  112. Reserved.
  113. .TP
  114. .BR EEXIST
  115. File exists.
  116. .TP
  117. .BR EFAULT
  118. Bad address.
  119. .TP
  120. .BR EFBIG
  121. File too large.
  122. .TP
  123. .BR EHOSTUNREACH
  124. Host is unreachable.
  125. .TP
  126. .BR EIDRM
  127. Identifier removed.
  128. .TP
  129. .BR EILSEQ
  130. Illegal byte sequence.
  131. .TP
  132. .BR EINPROGRESS
  133. Operation in progress.
  134. .TP
  135. .BR EINTR
  136. Interrupted function.
  137. .TP
  138. .BR EINVAL
  139. Invalid argument.
  140. .TP
  141. .BR EIO
  142. I/O error.
  143. .TP
  144. .BR EISCONN
  145. Socket is connected.
  146. .TP
  147. .BR EISDIR
  148. Is a directory.
  149. .TP
  150. .BR ELOOP
  151. Too many levels of symbolic links.
  152. .TP
  153. .BR EMFILE
  154. File descriptor value too large.
  155. .TP
  156. .BR EMLINK
  157. Too many links.
  158. .TP
  159. .BR EMSGSIZE
  160. Message too large.
  161. .TP
  162. .BR EMULTIHOP
  163. Reserved.
  164. .TP
  165. .BR ENAMETOOLONG
  166. Filename too long.
  167. .TP
  168. .BR ENETDOWN
  169. Network is down.
  170. .TP
  171. .BR ENETRESET
  172. Connection aborted by network.
  173. .TP
  174. .BR ENETUNREACH
  175. Network unreachable.
  176. .TP
  177. .BR ENFILE
  178. Too many files open in system.
  179. .TP
  180. .BR ENOBUFS
  181. No buffer space available.
  182. .TP
  183. .BR ENODATA
  184. No message is available on the STREAM head read queue.
  185. .TP
  186. .BR ENODEV
  187. No such device.
  188. .TP
  189. .BR ENOENT
  190. No such file or directory.
  191. .TP
  192. .BR ENOEXEC
  193. Executable file format error.
  194. .TP
  195. .BR ENOLCK
  196. No locks available.
  197. .TP
  198. .BR ENOLINK
  199. Reserved.
  200. .TP
  201. .BR ENOMEM
  202. Not enough space.
  203. .TP
  204. .BR ENOMSG
  205. No message of the desired type.
  206. .TP
  207. .BR ENOPROTOOPT
  208. Protocol not available.
  209. .TP
  210. .BR ENOSPC
  211. No space left on device.
  212. .TP
  213. .BR ENOSR
  214. No STREAM resources.
  215. .TP
  216. .BR ENOSTR
  217. Not a STREAM.
  218. .TP
  219. .BR ENOSYS
  220. Functionality not supported.
  221. .TP
  222. .BR ENOTCONN
  223. The socket is not connected.
  224. .TP
  225. .BR ENOTDIR
  226. Not a directory or a symbolic link to a directory.
  227. .TP
  228. .BR ENOTEMPTY
  229. Directory not empty.
  230. .TP
  231. .BR ENOTRECOVERABLE
  232. .br
  233. State not recoverable.
  234. .TP
  235. .BR ENOTSOCK
  236. Not a socket.
  237. .TP
  238. .BR ENOTSUP
  239. Not supported (may be the same value as
  240. .BR [EOPNOTSUPP] ).
  241. .TP
  242. .BR ENOTTY
  243. Inappropriate I/O control operation.
  244. .TP
  245. .BR ENXIO
  246. No such device or address.
  247. .TP
  248. .BR EOPNOTSUPP
  249. Operation not supported on socket (may be the same value as
  250. .BR [ENOTSUP] ).
  251. .TP
  252. .BR EOVERFLOW
  253. Value too large to be stored in data type.
  254. .TP
  255. .BR EOWNERDEAD
  256. Previous owner died.
  257. .TP
  258. .BR EPERM
  259. Operation not permitted.
  260. .TP
  261. .BR EPIPE
  262. Broken pipe.
  263. .TP
  264. .BR EPROTO
  265. Protocol error.
  266. .TP
  267. .BR EPROTONOSUPPORT
  268. .br
  269. Protocol not supported.
  270. .TP
  271. .BR EPROTOTYPE
  272. Protocol wrong type for socket.
  273. .TP
  274. .BR ERANGE
  275. Result too large.
  276. .TP
  277. .BR EROFS
  278. Read-only file system.
  279. .TP
  280. .BR ESPIPE
  281. Invalid seek.
  282. .TP
  283. .BR ESRCH
  284. No such process.
  285. .TP
  286. .BR ESTALE
  287. Reserved.
  288. .TP
  289. .BR ETIME
  290. Stream
  291. \fIioctl\fR()
  292. timeout.
  293. .TP
  294. .BR ETIMEDOUT
  295. Connection timed out.
  296. .TP
  297. .BR ETXTBSY
  298. Text file busy.
  299. .TP
  300. .BR EWOULDBLOCK
  301. Operation would block (may be the same value as
  302. .BR [EAGAIN] ).
  303. .TP
  304. .BR EXDEV
  305. Cross-device link.
  306. .LP
  307. .IR "The following sections are informative."
  308. .SH "APPLICATION USAGE"
  309. Additional error numbers may be defined on conforming systems; see
  310. the System Interfaces volume of POSIX.1\(hy2017.
  311. .SH RATIONALE
  312. None.
  313. .SH "FUTURE DIRECTIONS"
  314. None.
  315. .SH "SEE ALSO"
  316. The System Interfaces volume of POSIX.1\(hy2017,
  317. .IR "Section 2.3" ", " "Error Numbers"
  318. .\"
  319. .SH COPYRIGHT
  320. Portions of this text are reprinted and reproduced in electronic form
  321. from IEEE Std 1003.1-2017, Standard for Information Technology
  322. -- Portable Operating System Interface (POSIX), The Open Group Base
  323. Specifications Issue 7, 2018 Edition,
  324. Copyright (C) 2018 by the Institute of
  325. Electrical and Electronics Engineers, Inc and The Open Group.
  326. In the event of any discrepancy between this version and the original IEEE and
  327. The Open Group Standard, the original IEEE and The Open Group Standard
  328. is the referee document. The original Standard can be obtained online at
  329. http://www.opengroup.org/unix/online.html .
  330. .PP
  331. Any typographical or formatting errors that appear
  332. in this page are most likely
  333. to have been introduced during the conversion of the source files to
  334. man page format. To report such errors, see
  335. https://www.kernel.org/doc/man-pages/reporting_bugs.html .