summaryrefslogtreecommitdiffstats
path: root/man0p/errno.h.0p
blob: 0659b449f7f91eaa066f0a53be7929fbeb0fd5c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
.TH "<errno.h>" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
.\" <errno.h> 
.SH NAME
errno.h \- system error numbers
.SH SYNOPSIS
.LP
\fB#include <errno.h>\fP
.SH DESCRIPTION
.LP
Some of the functionality described on this reference page extends
the ISO\ C standard. Any conflict between the
requirements described here and the ISO\ C standard is unintentional.
This volume of IEEE\ Std\ 1003.1-2001 defers to
the ISO\ C standard. 
.LP
The
ISO\ C standard only requires the symbols [EDOM], [EILSEQ], and [ERANGE]
to be defined. 
.LP
The \fI<errno.h>\fP header shall provide a declaration for \fIerrno\fP
and give positive values for the following
symbolic constants. Their values shall be unique except as noted below.
.TP 7
.B E2BIG
Argument list too long.
.TP 7
.B EACCES
Permission denied.
.TP 7
.B EADDRINUSE
Address in use.
.TP 7
.B EADDRNOTAVAIL
Address not available.
.TP 7
.B EAFNOSUPPORT
Address family not supported.
.TP 7
.B EAGAIN
Resource unavailable, try again (may be the same value as [EWOULDBLOCK]).
.TP 7
.B EALREADY
Connection already in progress.
.TP 7
.B EBADF
Bad file descriptor.
.TP 7
.B EBADMSG
Bad message.
.TP 7
.B EBUSY
Device or resource busy.
.TP 7
.B ECANCELED
Operation canceled.
.TP 7
.B ECHILD
No child processes.
.TP 7
.B ECONNABORTED
Connection aborted.
.TP 7
.B ECONNREFUSED
Connection refused.
.TP 7
.B ECONNRESET
Connection reset.
.TP 7
.B EDEADLK
Resource deadlock would occur.
.TP 7
.B EDESTADDRREQ
Destination address required.
.TP 7
.B EDOM
Mathematics argument out of domain of function.
.TP 7
.B EDQUOT
Reserved.
.TP 7
.B EEXIST
File exists.
.TP 7
.B EFAULT
Bad address.
.TP 7
.B EFBIG
File too large.
.TP 7
.B EHOSTUNREACH
Host is unreachable.
.TP 7
.B EIDRM
Identifier removed.
.TP 7
.B EILSEQ
Illegal byte sequence.
.TP 7
.B EINPROGRESS
Operation in progress.
.TP 7
.B EINTR
Interrupted function.
.TP 7
.B EINVAL
Invalid argument.
.TP 7
.B EIO
I/O error.
.TP 7
.B EISCONN
Socket is connected.
.TP 7
.B EISDIR
Is a directory.
.TP 7
.B ELOOP
Too many levels of symbolic links.
.TP 7
.B EMFILE
Too many open files.
.TP 7
.B EMLINK
Too many links.
.TP 7
.B EMSGSIZE
Message too large.
.TP 7
.B EMULTIHOP
Reserved.
.TP 7
.B ENAMETOOLONG
Filename too long.
.TP 7
.B ENETDOWN
Network is down.
.TP 7
.B ENETRESET
Connection aborted by network.
.TP 7
.B ENETUNREACH
Network unreachable.
.TP 7
.B ENFILE
Too many files open in system.
.TP 7
.B ENOBUFS
No buffer space available.
.TP 7
.B ENODATA
No message is available on the STREAM head read queue. 
.TP 7
.B ENODEV
No such device.
.TP 7
.B ENOENT
No such file or directory.
.TP 7
.B ENOEXEC
Executable file format error.
.TP 7
.B ENOLCK
No locks available.
.TP 7
.B ENOLINK
Reserved.
.TP 7
.B ENOMEM
Not enough space.
.TP 7
.B ENOMSG
No message of the desired type.
.TP 7
.B ENOPROTOOPT
Protocol not available.
.TP 7
.B ENOSPC
No space left on device.
.TP 7
.B ENOSR
No STREAM resources. 
.TP 7
.B ENOSTR
Not a STREAM. 
.TP 7
.B ENOSYS
Function not supported.
.TP 7
.B ENOTCONN
The socket is not connected.
.TP 7
.B ENOTDIR
Not a directory.
.TP 7
.B ENOTEMPTY
Directory not empty.
.TP 7
.B ENOTSOCK
Not a socket.
.TP 7
.B ENOTSUP
Not supported.
.TP 7
.B ENOTTY
Inappropriate I/O control operation.
.TP 7
.B ENXIO
No such device or address.
.TP 7
.B EOPNOTSUPP
Operation not supported on socket.
.TP 7
.B EOVERFLOW
Value too large to be stored in data type.
.TP 7
.B EPERM
Operation not permitted.
.TP 7
.B EPIPE
Broken pipe.
.TP 7
.B EPROTO
Protocol error.
.TP 7
.B EPROTONOSUPPORT
.sp
Protocol not supported.
.TP 7
.B EPROTOTYPE
Protocol wrong type for socket.
.TP 7
.B ERANGE
Result too large.
.TP 7
.B EROFS
Read-only file system.
.TP 7
.B ESPIPE
Invalid seek.
.TP 7
.B ESRCH
No such process.
.TP 7
.B ESTALE
Reserved.
.TP 7
.B ETIME
Stream \fIioctl\fP() timeout. 
.TP 7
.B ETIMEDOUT
Connection timed out.
.TP 7
.B ETXTBSY
Text file busy.
.TP 7
.B EWOULDBLOCK
Operation would block (may be the same value as [EAGAIN]).
.TP 7
.B EXDEV
Cross-device link.
.sp
.LP
\fIThe following sections are informative.\fP
.SH APPLICATION USAGE
.LP
Additional error numbers may be defined on conforming systems; see
the System Interfaces volume of
IEEE\ Std\ 1003.1-2001.
.SH RATIONALE
.LP
None.
.SH FUTURE DIRECTIONS
.LP
None.
.SH SEE ALSO
.LP
The System Interfaces volume of IEEE\ Std\ 1003.1-2001, Section 2.3,
Error
Numbers
.SH COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
-- Portable Operating System Interface (POSIX), The Open Group Base
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the
event of any discrepancy between this version and the original IEEE and
The Open Group Standard, the original IEEE and The Open Group Standard
is the referee document. The original Standard can be obtained online at
http://www.opengroup.org/unix/online.html .