]> pd.if.org Git - pdclib/blob - man3/errno.h.3
dos2unix
[pdclib] / man3 / errno.h.3
1 .\" This file is part of the Public Domain C Library (PDCLib).
2 .\" Permission is granted to use, modify, and / or redistribute at will.
3 .\"
4 .Dd
5 .Dt ERRNO.H 3
6 .Os
7 .\"
8 .Sh NAME
9 .Nm errno.h
10 .Nd error results
11 .\"
12 .Sh SYNOPSIS
13 .In errno.h
14 .\"
15 .Sh DESCRIPTION
16 The header defines the value
17 .Dv errno
18 to be an lvalue of thread-local storage duration.
19 .\"
20 .Pp
21 From the ISO C standard, the following error code constants are defined:
22 .Bl -tag -compact
23 .It ERANGE
24 indicating a value is out of range
25 .It EDOM
26 indicating that a value is outside the domain of the current function
27 .It EILSEQ
28 indicating an invalid character sequence
29 .El
30 .\"
31 .Pp
32 From the ISO C++ 2011 standard, the following error code constants are defined:
33 .Bl -tag -compact
34 .It E2BIG
35 .It ECONNRESET
36 .It EISCONN
37 .It ENOENT
38 .It ENOTRECOVERABLE
39 .It EROFS
40 .It EACCES
41 .It EDEADLK
42 .It EISDIR
43 .It ENOEXEC
44 .It ENOTSOCK
45 .It ESPIPE
46 .It EADDRINUSE
47 .It EDESTADDRREQ
48 .It ELOOP
49 .It ENOLCK
50 .It ENOTSUP
51 .It ESRCH
52 .It EADDRNOTAVAIL
53 .It EMFILE
54 .It ENOLINK
55 .It ENOTTY
56 .It ETIME
57 .It EAFNOSUPPORT
58 .It EEXIST
59 .It EMLINK
60 .It ENOMEM
61 .It ENXIO
62 .It ETIMEDOUT
63 .It EAGAIN
64 .It EFAULT
65 .It EMSGSIZE
66 .It ENOMSG
67 .It EOPNOTSUPP
68 .It ETXTBSY
69 .It EALREADY
70 .It EFBIG
71 .It ENAMETOOLONG
72 .It ENOPROTOOPT
73 .It EOVERFLOW
74 .It EWOULDBLOCK
75 (which may have the same value as 
76 .Ev EAGAIN )
77 .It EBADF
78 .It EHOSTUNREACH
79 .It ENETDOWN
80 .It ENOSPC
81 .It EOWNERDEAD
82 .It EXDEV
83 .It EBADMSG
84 .It EIDRM
85 .It ENETRESET
86 .It ENOSR
87 .It EPERM
88 .It EBUSY
89 .It ENETUNREACH
90 .It ENOSTR
91 .It EPIPE
92 .It ECANCELED
93 .It EINPROGRESS
94 .It ENFILE
95 .It ENOSYS
96 .It EPROTO
97 .It ECHILD
98 .It EINTR
99 .It ENOBUFS
100 .It ENOTCONN
101 .It EPROTONOSUPPORT
102 .It ECONNABORTED
103 .It EINVAL
104 .It ENODATA
105 .It ENOTDIR
106 .It EPROTOTYPE
107 .El
108 .Sh SEE ALSO
109 .Xr errno 3
110 .Sh STANDARDS
111 Conforming to
112 .St -isoC-90 ,
113 .St -isoC-99 , 
114 ISO/IEC 14882:2011 "ISO C++ 11"