annotate lib/errno.in.h @ 265:68fbca173508 2.6

Added generated files for release
author lost
date Tue, 22 Dec 2009 05:31:23 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
265
68fbca173508 Added generated files for release
lost
parents:
diff changeset
1 /* A POSIX-like <errno.h>.
68fbca173508 Added generated files for release
lost
parents:
diff changeset
2
68fbca173508 Added generated files for release
lost
parents:
diff changeset
3 Copyright (C) 2008 Free Software Foundation, Inc.
68fbca173508 Added generated files for release
lost
parents:
diff changeset
4
68fbca173508 Added generated files for release
lost
parents:
diff changeset
5 This program is free software; you can redistribute it and/or modify
68fbca173508 Added generated files for release
lost
parents:
diff changeset
6 it under the terms of the GNU General Public License as published by
68fbca173508 Added generated files for release
lost
parents:
diff changeset
7 the Free Software Foundation; either version 2, or (at your option)
68fbca173508 Added generated files for release
lost
parents:
diff changeset
8 any later version.
68fbca173508 Added generated files for release
lost
parents:
diff changeset
9
68fbca173508 Added generated files for release
lost
parents:
diff changeset
10 This program is distributed in the hope that it will be useful,
68fbca173508 Added generated files for release
lost
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
68fbca173508 Added generated files for release
lost
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68fbca173508 Added generated files for release
lost
parents:
diff changeset
13 GNU General Public License for more details.
68fbca173508 Added generated files for release
lost
parents:
diff changeset
14
68fbca173508 Added generated files for release
lost
parents:
diff changeset
15 You should have received a copy of the GNU General Public License
68fbca173508 Added generated files for release
lost
parents:
diff changeset
16 along with this program; if not, write to the Free Software Foundation,
68fbca173508 Added generated files for release
lost
parents:
diff changeset
17 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
18
68fbca173508 Added generated files for release
lost
parents:
diff changeset
19 #ifndef _GL_ERRNO_H
68fbca173508 Added generated files for release
lost
parents:
diff changeset
20
68fbca173508 Added generated files for release
lost
parents:
diff changeset
21 #if __GNUC__ >= 3
68fbca173508 Added generated files for release
lost
parents:
diff changeset
22 @PRAGMA_SYSTEM_HEADER@
68fbca173508 Added generated files for release
lost
parents:
diff changeset
23 #endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
24
68fbca173508 Added generated files for release
lost
parents:
diff changeset
25 /* The include_next requires a split double-inclusion guard. */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
26 #@INCLUDE_NEXT@ @NEXT_ERRNO_H@
68fbca173508 Added generated files for release
lost
parents:
diff changeset
27
68fbca173508 Added generated files for release
lost
parents:
diff changeset
28 #ifndef _GL_ERRNO_H
68fbca173508 Added generated files for release
lost
parents:
diff changeset
29 #define _GL_ERRNO_H
68fbca173508 Added generated files for release
lost
parents:
diff changeset
30
68fbca173508 Added generated files for release
lost
parents:
diff changeset
31
68fbca173508 Added generated files for release
lost
parents:
diff changeset
32 /* On native Windows platforms, many macros are not defined. */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
33 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
68fbca173508 Added generated files for release
lost
parents:
diff changeset
34
68fbca173508 Added generated files for release
lost
parents:
diff changeset
35 /* POSIX says that EAGAIN and EWOULDBLOCK may have the same value. */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
36 # define EWOULDBLOCK EAGAIN
68fbca173508 Added generated files for release
lost
parents:
diff changeset
37
68fbca173508 Added generated files for release
lost
parents:
diff changeset
38 /* Values >= 100 seem safe to use. */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
39 # define ETXTBSY 100
68fbca173508 Added generated files for release
lost
parents:
diff changeset
40 # define GNULIB_defined_ETXTBSY 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
41
68fbca173508 Added generated files for release
lost
parents:
diff changeset
42 /* These are intentionally the same values as the WSA* error numbers, defined
68fbca173508 Added generated files for release
lost
parents:
diff changeset
43 in <winsock2.h>. */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
44 # define EINPROGRESS 10036
68fbca173508 Added generated files for release
lost
parents:
diff changeset
45 # define EALREADY 10037
68fbca173508 Added generated files for release
lost
parents:
diff changeset
46 # define ENOTSOCK 10038
68fbca173508 Added generated files for release
lost
parents:
diff changeset
47 # define EDESTADDRREQ 10039
68fbca173508 Added generated files for release
lost
parents:
diff changeset
48 # define EMSGSIZE 10040
68fbca173508 Added generated files for release
lost
parents:
diff changeset
49 # define EPROTOTYPE 10041
68fbca173508 Added generated files for release
lost
parents:
diff changeset
50 # define ENOPROTOOPT 10042
68fbca173508 Added generated files for release
lost
parents:
diff changeset
51 # define EPROTONOSUPPORT 10043
68fbca173508 Added generated files for release
lost
parents:
diff changeset
52 # define ESOCKTNOSUPPORT 10044 /* not required by POSIX */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
53 # define EOPNOTSUPP 10045
68fbca173508 Added generated files for release
lost
parents:
diff changeset
54 # define EPFNOSUPPORT 10046 /* not required by POSIX */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
55 # define EAFNOSUPPORT 10047
68fbca173508 Added generated files for release
lost
parents:
diff changeset
56 # define EADDRINUSE 10048
68fbca173508 Added generated files for release
lost
parents:
diff changeset
57 # define EADDRNOTAVAIL 10049
68fbca173508 Added generated files for release
lost
parents:
diff changeset
58 # define ENETDOWN 10050
68fbca173508 Added generated files for release
lost
parents:
diff changeset
59 # define ENETUNREACH 10051
68fbca173508 Added generated files for release
lost
parents:
diff changeset
60 # define ENETRESET 10052
68fbca173508 Added generated files for release
lost
parents:
diff changeset
61 # define ECONNABORTED 10053
68fbca173508 Added generated files for release
lost
parents:
diff changeset
62 # define ECONNRESET 10054
68fbca173508 Added generated files for release
lost
parents:
diff changeset
63 # define ENOBUFS 10055
68fbca173508 Added generated files for release
lost
parents:
diff changeset
64 # define EISCONN 10056
68fbca173508 Added generated files for release
lost
parents:
diff changeset
65 # define ENOTCONN 10057
68fbca173508 Added generated files for release
lost
parents:
diff changeset
66 # define ESHUTDOWN 10058 /* not required by POSIX */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
67 # define ETOOMANYREFS 10059 /* not required by POSIX */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
68 # define ETIMEDOUT 10060
68fbca173508 Added generated files for release
lost
parents:
diff changeset
69 # define ECONNREFUSED 10061
68fbca173508 Added generated files for release
lost
parents:
diff changeset
70 # define ELOOP 10062
68fbca173508 Added generated files for release
lost
parents:
diff changeset
71 # define EHOSTDOWN 10064 /* not required by POSIX */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
72 # define EHOSTUNREACH 10065
68fbca173508 Added generated files for release
lost
parents:
diff changeset
73 # define EPROCLIM 10067 /* not required by POSIX */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
74 # define EUSERS 10068 /* not required by POSIX */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
75 # define EDQUOT 10069
68fbca173508 Added generated files for release
lost
parents:
diff changeset
76 # define ESTALE 10070
68fbca173508 Added generated files for release
lost
parents:
diff changeset
77 # define EREMOTE 10071 /* not required by POSIX */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
78 # define GNULIB_defined_ESOCK 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
79
68fbca173508 Added generated files for release
lost
parents:
diff changeset
80 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
81
68fbca173508 Added generated files for release
lost
parents:
diff changeset
82
68fbca173508 Added generated files for release
lost
parents:
diff changeset
83 /* On OSF/1 5.1, when _XOPEN_SOURCE_EXTENDED is not defined, the macros
68fbca173508 Added generated files for release
lost
parents:
diff changeset
84 EMULTIHOP, ENOLINK, EOVERFLOW are not defined. */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
85 # if @EMULTIHOP_HIDDEN@
68fbca173508 Added generated files for release
lost
parents:
diff changeset
86 # define EMULTIHOP @EMULTIHOP_VALUE@
68fbca173508 Added generated files for release
lost
parents:
diff changeset
87 # define GNULIB_defined_EMULTIHOP 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
88 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
89 # if @ENOLINK_HIDDEN@
68fbca173508 Added generated files for release
lost
parents:
diff changeset
90 # define ENOLINK @ENOLINK_VALUE@
68fbca173508 Added generated files for release
lost
parents:
diff changeset
91 # define GNULIB_defined_ENOLINK 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
92 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
93 # if @EOVERFLOW_HIDDEN@
68fbca173508 Added generated files for release
lost
parents:
diff changeset
94 # define EOVERFLOW @EOVERFLOW_VALUE@
68fbca173508 Added generated files for release
lost
parents:
diff changeset
95 # define GNULIB_defined_EOVERFLOW 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
96 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
97
68fbca173508 Added generated files for release
lost
parents:
diff changeset
98
68fbca173508 Added generated files for release
lost
parents:
diff changeset
99 /* On OpenBSD 4.0 and on native Windows, the macros ENOMSG, EIDRM, ENOLINK,
68fbca173508 Added generated files for release
lost
parents:
diff changeset
100 EPROTO, EMULTIHOP, EBADMSG, EOVERFLOW, ENOTSUP, ECANCELED are not defined.
68fbca173508 Added generated files for release
lost
parents:
diff changeset
101 Define them here. Values >= 2000 seem safe to use: Solaris ESTALE = 151,
68fbca173508 Added generated files for release
lost
parents:
diff changeset
102 HP-UX EWOULDBLOCK = 246, IRIX EDQUOT = 1133.
68fbca173508 Added generated files for release
lost
parents:
diff changeset
103
68fbca173508 Added generated files for release
lost
parents:
diff changeset
104 Note: When one of these systems defines some of these macros some day,
68fbca173508 Added generated files for release
lost
parents:
diff changeset
105 binaries will have to be recompiled so that they recognizes the new
68fbca173508 Added generated files for release
lost
parents:
diff changeset
106 errno values from the system. */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
107
68fbca173508 Added generated files for release
lost
parents:
diff changeset
108 # ifndef ENOMSG
68fbca173508 Added generated files for release
lost
parents:
diff changeset
109 # define ENOMSG 2000
68fbca173508 Added generated files for release
lost
parents:
diff changeset
110 # define GNULIB_defined_ENOMSG 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
111 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
112
68fbca173508 Added generated files for release
lost
parents:
diff changeset
113 # ifndef EIDRM
68fbca173508 Added generated files for release
lost
parents:
diff changeset
114 # define EIDRM 2001
68fbca173508 Added generated files for release
lost
parents:
diff changeset
115 # define GNULIB_defined_EIDRM 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
116 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
117
68fbca173508 Added generated files for release
lost
parents:
diff changeset
118 # ifndef ENOLINK
68fbca173508 Added generated files for release
lost
parents:
diff changeset
119 # define ENOLINK 2002
68fbca173508 Added generated files for release
lost
parents:
diff changeset
120 # define GNULIB_defined_ENOLINK 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
121 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
122
68fbca173508 Added generated files for release
lost
parents:
diff changeset
123 # ifndef EPROTO
68fbca173508 Added generated files for release
lost
parents:
diff changeset
124 # define EPROTO 2003
68fbca173508 Added generated files for release
lost
parents:
diff changeset
125 # define GNULIB_defined_EPROTO 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
126 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
127
68fbca173508 Added generated files for release
lost
parents:
diff changeset
128 # ifndef EMULTIHOP
68fbca173508 Added generated files for release
lost
parents:
diff changeset
129 # define EMULTIHOP 2004
68fbca173508 Added generated files for release
lost
parents:
diff changeset
130 # define GNULIB_defined_EMULTIHOP 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
131 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
132
68fbca173508 Added generated files for release
lost
parents:
diff changeset
133 # ifndef EBADMSG
68fbca173508 Added generated files for release
lost
parents:
diff changeset
134 # define EBADMSG 2005
68fbca173508 Added generated files for release
lost
parents:
diff changeset
135 # define GNULIB_defined_EBADMSG 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
136 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
137
68fbca173508 Added generated files for release
lost
parents:
diff changeset
138 # ifndef EOVERFLOW
68fbca173508 Added generated files for release
lost
parents:
diff changeset
139 # define EOVERFLOW 2006
68fbca173508 Added generated files for release
lost
parents:
diff changeset
140 # define GNULIB_defined_EOVERFLOW 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
141 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
142
68fbca173508 Added generated files for release
lost
parents:
diff changeset
143 # ifndef ENOTSUP
68fbca173508 Added generated files for release
lost
parents:
diff changeset
144 # define ENOTSUP 2007
68fbca173508 Added generated files for release
lost
parents:
diff changeset
145 # define GNULIB_defined_ENOTSUP 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
146 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
147
68fbca173508 Added generated files for release
lost
parents:
diff changeset
148 # ifndef ECANCELED
68fbca173508 Added generated files for release
lost
parents:
diff changeset
149 # define ECANCELED 2008
68fbca173508 Added generated files for release
lost
parents:
diff changeset
150 # define GNULIB_defined_ECANCELED 1
68fbca173508 Added generated files for release
lost
parents:
diff changeset
151 # endif
68fbca173508 Added generated files for release
lost
parents:
diff changeset
152
68fbca173508 Added generated files for release
lost
parents:
diff changeset
153
68fbca173508 Added generated files for release
lost
parents:
diff changeset
154 #endif /* _GL_ERRNO_H */
68fbca173508 Added generated files for release
lost
parents:
diff changeset
155 #endif /* _GL_ERRNO_H */