xref: /aosp_15_r20/external/libcxx/include/errno.h (revision 58b9f456b02922dfdb1fad8a988d5fd8765ecb80)
1*58b9f456SAndroid Build Coastguard Worker // -*- C++ -*-
2*58b9f456SAndroid Build Coastguard Worker //===-------------------------- errno.h -----------------------------------===//
3*58b9f456SAndroid Build Coastguard Worker //
4*58b9f456SAndroid Build Coastguard Worker //                     The LLVM Compiler Infrastructure
5*58b9f456SAndroid Build Coastguard Worker //
6*58b9f456SAndroid Build Coastguard Worker // This file is dual licensed under the MIT and the University of Illinois Open
7*58b9f456SAndroid Build Coastguard Worker // Source Licenses. See LICENSE.TXT for details.
8*58b9f456SAndroid Build Coastguard Worker //
9*58b9f456SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
10*58b9f456SAndroid Build Coastguard Worker 
11*58b9f456SAndroid Build Coastguard Worker #ifndef _LIBCPP_ERRNO_H
12*58b9f456SAndroid Build Coastguard Worker #define _LIBCPP_ERRNO_H
13*58b9f456SAndroid Build Coastguard Worker 
14*58b9f456SAndroid Build Coastguard Worker /*
15*58b9f456SAndroid Build Coastguard Worker     errno.h synopsis
16*58b9f456SAndroid Build Coastguard Worker 
17*58b9f456SAndroid Build Coastguard Worker Macros:
18*58b9f456SAndroid Build Coastguard Worker 
19*58b9f456SAndroid Build Coastguard Worker     EDOM
20*58b9f456SAndroid Build Coastguard Worker     EILSEQ  // C99
21*58b9f456SAndroid Build Coastguard Worker     ERANGE
22*58b9f456SAndroid Build Coastguard Worker     errno
23*58b9f456SAndroid Build Coastguard Worker 
24*58b9f456SAndroid Build Coastguard Worker */
25*58b9f456SAndroid Build Coastguard Worker 
26*58b9f456SAndroid Build Coastguard Worker #include <__config>
27*58b9f456SAndroid Build Coastguard Worker 
28*58b9f456SAndroid Build Coastguard Worker #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
29*58b9f456SAndroid Build Coastguard Worker #pragma GCC system_header
30*58b9f456SAndroid Build Coastguard Worker #endif
31*58b9f456SAndroid Build Coastguard Worker 
32*58b9f456SAndroid Build Coastguard Worker #include_next <errno.h>
33*58b9f456SAndroid Build Coastguard Worker 
34*58b9f456SAndroid Build Coastguard Worker #ifdef __cplusplus
35*58b9f456SAndroid Build Coastguard Worker 
36*58b9f456SAndroid Build Coastguard Worker #if !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE)
37*58b9f456SAndroid Build Coastguard Worker 
38*58b9f456SAndroid Build Coastguard Worker #ifdef ELAST
39*58b9f456SAndroid Build Coastguard Worker 
40*58b9f456SAndroid Build Coastguard Worker static const int __elast1 = ELAST+1;
41*58b9f456SAndroid Build Coastguard Worker static const int __elast2 = ELAST+2;
42*58b9f456SAndroid Build Coastguard Worker 
43*58b9f456SAndroid Build Coastguard Worker #else
44*58b9f456SAndroid Build Coastguard Worker 
45*58b9f456SAndroid Build Coastguard Worker static const int __elast1 = 104;
46*58b9f456SAndroid Build Coastguard Worker static const int __elast2 = 105;
47*58b9f456SAndroid Build Coastguard Worker 
48*58b9f456SAndroid Build Coastguard Worker #endif
49*58b9f456SAndroid Build Coastguard Worker 
50*58b9f456SAndroid Build Coastguard Worker #ifdef ENOTRECOVERABLE
51*58b9f456SAndroid Build Coastguard Worker 
52*58b9f456SAndroid Build Coastguard Worker #define EOWNERDEAD __elast1
53*58b9f456SAndroid Build Coastguard Worker 
54*58b9f456SAndroid Build Coastguard Worker #ifdef ELAST
55*58b9f456SAndroid Build Coastguard Worker #undef ELAST
56*58b9f456SAndroid Build Coastguard Worker #define ELAST EOWNERDEAD
57*58b9f456SAndroid Build Coastguard Worker #endif
58*58b9f456SAndroid Build Coastguard Worker 
59*58b9f456SAndroid Build Coastguard Worker #elif defined(EOWNERDEAD)
60*58b9f456SAndroid Build Coastguard Worker 
61*58b9f456SAndroid Build Coastguard Worker #define ENOTRECOVERABLE __elast1
62*58b9f456SAndroid Build Coastguard Worker #ifdef ELAST
63*58b9f456SAndroid Build Coastguard Worker #undef ELAST
64*58b9f456SAndroid Build Coastguard Worker #define ELAST ENOTRECOVERABLE
65*58b9f456SAndroid Build Coastguard Worker #endif
66*58b9f456SAndroid Build Coastguard Worker 
67*58b9f456SAndroid Build Coastguard Worker #else  // defined(EOWNERDEAD)
68*58b9f456SAndroid Build Coastguard Worker 
69*58b9f456SAndroid Build Coastguard Worker #define EOWNERDEAD __elast1
70*58b9f456SAndroid Build Coastguard Worker #define ENOTRECOVERABLE __elast2
71*58b9f456SAndroid Build Coastguard Worker #ifdef ELAST
72*58b9f456SAndroid Build Coastguard Worker #undef ELAST
73*58b9f456SAndroid Build Coastguard Worker #define ELAST ENOTRECOVERABLE
74*58b9f456SAndroid Build Coastguard Worker #endif
75*58b9f456SAndroid Build Coastguard Worker 
76*58b9f456SAndroid Build Coastguard Worker #endif  // defined(EOWNERDEAD)
77*58b9f456SAndroid Build Coastguard Worker 
78*58b9f456SAndroid Build Coastguard Worker #endif  // !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE)
79*58b9f456SAndroid Build Coastguard Worker 
80*58b9f456SAndroid Build Coastguard Worker //  supply errno values likely to be missing, particularly on Windows
81*58b9f456SAndroid Build Coastguard Worker 
82*58b9f456SAndroid Build Coastguard Worker #ifndef EAFNOSUPPORT
83*58b9f456SAndroid Build Coastguard Worker #define EAFNOSUPPORT 9901
84*58b9f456SAndroid Build Coastguard Worker #endif
85*58b9f456SAndroid Build Coastguard Worker 
86*58b9f456SAndroid Build Coastguard Worker #ifndef EADDRINUSE
87*58b9f456SAndroid Build Coastguard Worker #define EADDRINUSE 9902
88*58b9f456SAndroid Build Coastguard Worker #endif
89*58b9f456SAndroid Build Coastguard Worker 
90*58b9f456SAndroid Build Coastguard Worker #ifndef EADDRNOTAVAIL
91*58b9f456SAndroid Build Coastguard Worker #define EADDRNOTAVAIL 9903
92*58b9f456SAndroid Build Coastguard Worker #endif
93*58b9f456SAndroid Build Coastguard Worker 
94*58b9f456SAndroid Build Coastguard Worker #ifndef EISCONN
95*58b9f456SAndroid Build Coastguard Worker #define EISCONN 9904
96*58b9f456SAndroid Build Coastguard Worker #endif
97*58b9f456SAndroid Build Coastguard Worker 
98*58b9f456SAndroid Build Coastguard Worker #ifndef EBADMSG
99*58b9f456SAndroid Build Coastguard Worker #define EBADMSG 9905
100*58b9f456SAndroid Build Coastguard Worker #endif
101*58b9f456SAndroid Build Coastguard Worker 
102*58b9f456SAndroid Build Coastguard Worker #ifndef ECONNABORTED
103*58b9f456SAndroid Build Coastguard Worker #define ECONNABORTED 9906
104*58b9f456SAndroid Build Coastguard Worker #endif
105*58b9f456SAndroid Build Coastguard Worker 
106*58b9f456SAndroid Build Coastguard Worker #ifndef EALREADY
107*58b9f456SAndroid Build Coastguard Worker #define EALREADY 9907
108*58b9f456SAndroid Build Coastguard Worker #endif
109*58b9f456SAndroid Build Coastguard Worker 
110*58b9f456SAndroid Build Coastguard Worker #ifndef ECONNREFUSED
111*58b9f456SAndroid Build Coastguard Worker #define ECONNREFUSED 9908
112*58b9f456SAndroid Build Coastguard Worker #endif
113*58b9f456SAndroid Build Coastguard Worker 
114*58b9f456SAndroid Build Coastguard Worker #ifndef ECONNRESET
115*58b9f456SAndroid Build Coastguard Worker #define ECONNRESET 9909
116*58b9f456SAndroid Build Coastguard Worker #endif
117*58b9f456SAndroid Build Coastguard Worker 
118*58b9f456SAndroid Build Coastguard Worker #ifndef EDESTADDRREQ
119*58b9f456SAndroid Build Coastguard Worker #define EDESTADDRREQ 9910
120*58b9f456SAndroid Build Coastguard Worker #endif
121*58b9f456SAndroid Build Coastguard Worker 
122*58b9f456SAndroid Build Coastguard Worker #ifndef EHOSTUNREACH
123*58b9f456SAndroid Build Coastguard Worker #define EHOSTUNREACH 9911
124*58b9f456SAndroid Build Coastguard Worker #endif
125*58b9f456SAndroid Build Coastguard Worker 
126*58b9f456SAndroid Build Coastguard Worker #ifndef EIDRM
127*58b9f456SAndroid Build Coastguard Worker #define EIDRM 9912
128*58b9f456SAndroid Build Coastguard Worker #endif
129*58b9f456SAndroid Build Coastguard Worker 
130*58b9f456SAndroid Build Coastguard Worker #ifndef EMSGSIZE
131*58b9f456SAndroid Build Coastguard Worker #define EMSGSIZE 9913
132*58b9f456SAndroid Build Coastguard Worker #endif
133*58b9f456SAndroid Build Coastguard Worker 
134*58b9f456SAndroid Build Coastguard Worker #ifndef ENETDOWN
135*58b9f456SAndroid Build Coastguard Worker #define ENETDOWN 9914
136*58b9f456SAndroid Build Coastguard Worker #endif
137*58b9f456SAndroid Build Coastguard Worker 
138*58b9f456SAndroid Build Coastguard Worker #ifndef ENETRESET
139*58b9f456SAndroid Build Coastguard Worker #define ENETRESET 9915
140*58b9f456SAndroid Build Coastguard Worker #endif
141*58b9f456SAndroid Build Coastguard Worker 
142*58b9f456SAndroid Build Coastguard Worker #ifndef ENETUNREACH
143*58b9f456SAndroid Build Coastguard Worker #define ENETUNREACH 9916
144*58b9f456SAndroid Build Coastguard Worker #endif
145*58b9f456SAndroid Build Coastguard Worker 
146*58b9f456SAndroid Build Coastguard Worker #ifndef ENOBUFS
147*58b9f456SAndroid Build Coastguard Worker #define ENOBUFS 9917
148*58b9f456SAndroid Build Coastguard Worker #endif
149*58b9f456SAndroid Build Coastguard Worker 
150*58b9f456SAndroid Build Coastguard Worker #ifndef ENOLINK
151*58b9f456SAndroid Build Coastguard Worker #define ENOLINK 9918
152*58b9f456SAndroid Build Coastguard Worker #endif
153*58b9f456SAndroid Build Coastguard Worker 
154*58b9f456SAndroid Build Coastguard Worker #ifndef ENODATA
155*58b9f456SAndroid Build Coastguard Worker #define ENODATA 9919
156*58b9f456SAndroid Build Coastguard Worker #endif
157*58b9f456SAndroid Build Coastguard Worker 
158*58b9f456SAndroid Build Coastguard Worker #ifndef ENOMSG
159*58b9f456SAndroid Build Coastguard Worker #define ENOMSG 9920
160*58b9f456SAndroid Build Coastguard Worker #endif
161*58b9f456SAndroid Build Coastguard Worker 
162*58b9f456SAndroid Build Coastguard Worker #ifndef ENOPROTOOPT
163*58b9f456SAndroid Build Coastguard Worker #define ENOPROTOOPT 9921
164*58b9f456SAndroid Build Coastguard Worker #endif
165*58b9f456SAndroid Build Coastguard Worker 
166*58b9f456SAndroid Build Coastguard Worker #ifndef ENOSR
167*58b9f456SAndroid Build Coastguard Worker #define ENOSR 9922
168*58b9f456SAndroid Build Coastguard Worker #endif
169*58b9f456SAndroid Build Coastguard Worker 
170*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTSOCK
171*58b9f456SAndroid Build Coastguard Worker #define ENOTSOCK 9923
172*58b9f456SAndroid Build Coastguard Worker #endif
173*58b9f456SAndroid Build Coastguard Worker 
174*58b9f456SAndroid Build Coastguard Worker #ifndef ENOSTR
175*58b9f456SAndroid Build Coastguard Worker #define ENOSTR 9924
176*58b9f456SAndroid Build Coastguard Worker #endif
177*58b9f456SAndroid Build Coastguard Worker 
178*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTCONN
179*58b9f456SAndroid Build Coastguard Worker #define ENOTCONN 9925
180*58b9f456SAndroid Build Coastguard Worker #endif
181*58b9f456SAndroid Build Coastguard Worker 
182*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTSUP
183*58b9f456SAndroid Build Coastguard Worker #define ENOTSUP 9926
184*58b9f456SAndroid Build Coastguard Worker #endif
185*58b9f456SAndroid Build Coastguard Worker 
186*58b9f456SAndroid Build Coastguard Worker #ifndef ECANCELED
187*58b9f456SAndroid Build Coastguard Worker #define ECANCELED 9927
188*58b9f456SAndroid Build Coastguard Worker #endif
189*58b9f456SAndroid Build Coastguard Worker 
190*58b9f456SAndroid Build Coastguard Worker #ifndef EINPROGRESS
191*58b9f456SAndroid Build Coastguard Worker #define EINPROGRESS 9928
192*58b9f456SAndroid Build Coastguard Worker #endif
193*58b9f456SAndroid Build Coastguard Worker 
194*58b9f456SAndroid Build Coastguard Worker #ifndef EOPNOTSUPP
195*58b9f456SAndroid Build Coastguard Worker #define EOPNOTSUPP 9929
196*58b9f456SAndroid Build Coastguard Worker #endif
197*58b9f456SAndroid Build Coastguard Worker 
198*58b9f456SAndroid Build Coastguard Worker #ifndef EWOULDBLOCK
199*58b9f456SAndroid Build Coastguard Worker #define EWOULDBLOCK 9930
200*58b9f456SAndroid Build Coastguard Worker #endif
201*58b9f456SAndroid Build Coastguard Worker 
202*58b9f456SAndroid Build Coastguard Worker #ifndef EOWNERDEAD
203*58b9f456SAndroid Build Coastguard Worker #define EOWNERDEAD  9931
204*58b9f456SAndroid Build Coastguard Worker #endif
205*58b9f456SAndroid Build Coastguard Worker 
206*58b9f456SAndroid Build Coastguard Worker #ifndef EPROTO
207*58b9f456SAndroid Build Coastguard Worker #define EPROTO 9932
208*58b9f456SAndroid Build Coastguard Worker #endif
209*58b9f456SAndroid Build Coastguard Worker 
210*58b9f456SAndroid Build Coastguard Worker #ifndef EPROTONOSUPPORT
211*58b9f456SAndroid Build Coastguard Worker #define EPROTONOSUPPORT 9933
212*58b9f456SAndroid Build Coastguard Worker #endif
213*58b9f456SAndroid Build Coastguard Worker 
214*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTRECOVERABLE
215*58b9f456SAndroid Build Coastguard Worker #define ENOTRECOVERABLE 9934
216*58b9f456SAndroid Build Coastguard Worker #endif
217*58b9f456SAndroid Build Coastguard Worker 
218*58b9f456SAndroid Build Coastguard Worker #ifndef ETIME
219*58b9f456SAndroid Build Coastguard Worker #define ETIME 9935
220*58b9f456SAndroid Build Coastguard Worker #endif
221*58b9f456SAndroid Build Coastguard Worker 
222*58b9f456SAndroid Build Coastguard Worker #ifndef ETXTBSY
223*58b9f456SAndroid Build Coastguard Worker #define ETXTBSY 9936
224*58b9f456SAndroid Build Coastguard Worker #endif
225*58b9f456SAndroid Build Coastguard Worker 
226*58b9f456SAndroid Build Coastguard Worker #ifndef ETIMEDOUT
227*58b9f456SAndroid Build Coastguard Worker #define ETIMEDOUT 9938
228*58b9f456SAndroid Build Coastguard Worker #endif
229*58b9f456SAndroid Build Coastguard Worker 
230*58b9f456SAndroid Build Coastguard Worker #ifndef ELOOP
231*58b9f456SAndroid Build Coastguard Worker #define ELOOP 9939
232*58b9f456SAndroid Build Coastguard Worker #endif
233*58b9f456SAndroid Build Coastguard Worker 
234*58b9f456SAndroid Build Coastguard Worker #ifndef EOVERFLOW
235*58b9f456SAndroid Build Coastguard Worker #define EOVERFLOW 9940
236*58b9f456SAndroid Build Coastguard Worker #endif
237*58b9f456SAndroid Build Coastguard Worker 
238*58b9f456SAndroid Build Coastguard Worker #ifndef EPROTOTYPE
239*58b9f456SAndroid Build Coastguard Worker #define EPROTOTYPE 9941
240*58b9f456SAndroid Build Coastguard Worker #endif
241*58b9f456SAndroid Build Coastguard Worker 
242*58b9f456SAndroid Build Coastguard Worker #ifndef ENOSYS
243*58b9f456SAndroid Build Coastguard Worker #define ENOSYS 9942
244*58b9f456SAndroid Build Coastguard Worker #endif
245*58b9f456SAndroid Build Coastguard Worker 
246*58b9f456SAndroid Build Coastguard Worker #ifndef EINVAL
247*58b9f456SAndroid Build Coastguard Worker #define EINVAL 9943
248*58b9f456SAndroid Build Coastguard Worker #endif
249*58b9f456SAndroid Build Coastguard Worker 
250*58b9f456SAndroid Build Coastguard Worker #ifndef ERANGE
251*58b9f456SAndroid Build Coastguard Worker #define ERANGE 9944
252*58b9f456SAndroid Build Coastguard Worker #endif
253*58b9f456SAndroid Build Coastguard Worker 
254*58b9f456SAndroid Build Coastguard Worker #ifndef EILSEQ
255*58b9f456SAndroid Build Coastguard Worker #define EILSEQ 9945
256*58b9f456SAndroid Build Coastguard Worker #endif
257*58b9f456SAndroid Build Coastguard Worker 
258*58b9f456SAndroid Build Coastguard Worker //  Windows Mobile doesn't appear to define these:
259*58b9f456SAndroid Build Coastguard Worker 
260*58b9f456SAndroid Build Coastguard Worker #ifndef E2BIG
261*58b9f456SAndroid Build Coastguard Worker #define E2BIG 9946
262*58b9f456SAndroid Build Coastguard Worker #endif
263*58b9f456SAndroid Build Coastguard Worker 
264*58b9f456SAndroid Build Coastguard Worker #ifndef EDOM
265*58b9f456SAndroid Build Coastguard Worker #define EDOM 9947
266*58b9f456SAndroid Build Coastguard Worker #endif
267*58b9f456SAndroid Build Coastguard Worker 
268*58b9f456SAndroid Build Coastguard Worker #ifndef EFAULT
269*58b9f456SAndroid Build Coastguard Worker #define EFAULT 9948
270*58b9f456SAndroid Build Coastguard Worker #endif
271*58b9f456SAndroid Build Coastguard Worker 
272*58b9f456SAndroid Build Coastguard Worker #ifndef EBADF
273*58b9f456SAndroid Build Coastguard Worker #define EBADF 9949
274*58b9f456SAndroid Build Coastguard Worker #endif
275*58b9f456SAndroid Build Coastguard Worker 
276*58b9f456SAndroid Build Coastguard Worker #ifndef EPIPE
277*58b9f456SAndroid Build Coastguard Worker #define EPIPE 9950
278*58b9f456SAndroid Build Coastguard Worker #endif
279*58b9f456SAndroid Build Coastguard Worker 
280*58b9f456SAndroid Build Coastguard Worker #ifndef EXDEV
281*58b9f456SAndroid Build Coastguard Worker #define EXDEV 9951
282*58b9f456SAndroid Build Coastguard Worker #endif
283*58b9f456SAndroid Build Coastguard Worker 
284*58b9f456SAndroid Build Coastguard Worker #ifndef EBUSY
285*58b9f456SAndroid Build Coastguard Worker #define EBUSY 9952
286*58b9f456SAndroid Build Coastguard Worker #endif
287*58b9f456SAndroid Build Coastguard Worker 
288*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTEMPTY
289*58b9f456SAndroid Build Coastguard Worker #define ENOTEMPTY 9953
290*58b9f456SAndroid Build Coastguard Worker #endif
291*58b9f456SAndroid Build Coastguard Worker 
292*58b9f456SAndroid Build Coastguard Worker #ifndef ENOEXEC
293*58b9f456SAndroid Build Coastguard Worker #define ENOEXEC 9954
294*58b9f456SAndroid Build Coastguard Worker #endif
295*58b9f456SAndroid Build Coastguard Worker 
296*58b9f456SAndroid Build Coastguard Worker #ifndef EEXIST
297*58b9f456SAndroid Build Coastguard Worker #define EEXIST 9955
298*58b9f456SAndroid Build Coastguard Worker #endif
299*58b9f456SAndroid Build Coastguard Worker 
300*58b9f456SAndroid Build Coastguard Worker #ifndef EFBIG
301*58b9f456SAndroid Build Coastguard Worker #define EFBIG 9956
302*58b9f456SAndroid Build Coastguard Worker #endif
303*58b9f456SAndroid Build Coastguard Worker 
304*58b9f456SAndroid Build Coastguard Worker #ifndef ENAMETOOLONG
305*58b9f456SAndroid Build Coastguard Worker #define ENAMETOOLONG 9957
306*58b9f456SAndroid Build Coastguard Worker #endif
307*58b9f456SAndroid Build Coastguard Worker 
308*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTTY
309*58b9f456SAndroid Build Coastguard Worker #define ENOTTY 9958
310*58b9f456SAndroid Build Coastguard Worker #endif
311*58b9f456SAndroid Build Coastguard Worker 
312*58b9f456SAndroid Build Coastguard Worker #ifndef EINTR
313*58b9f456SAndroid Build Coastguard Worker #define EINTR 9959
314*58b9f456SAndroid Build Coastguard Worker #endif
315*58b9f456SAndroid Build Coastguard Worker 
316*58b9f456SAndroid Build Coastguard Worker #ifndef ESPIPE
317*58b9f456SAndroid Build Coastguard Worker #define ESPIPE 9960
318*58b9f456SAndroid Build Coastguard Worker #endif
319*58b9f456SAndroid Build Coastguard Worker 
320*58b9f456SAndroid Build Coastguard Worker #ifndef EIO
321*58b9f456SAndroid Build Coastguard Worker #define EIO 9961
322*58b9f456SAndroid Build Coastguard Worker #endif
323*58b9f456SAndroid Build Coastguard Worker 
324*58b9f456SAndroid Build Coastguard Worker #ifndef EISDIR
325*58b9f456SAndroid Build Coastguard Worker #define EISDIR 9962
326*58b9f456SAndroid Build Coastguard Worker #endif
327*58b9f456SAndroid Build Coastguard Worker 
328*58b9f456SAndroid Build Coastguard Worker #ifndef ECHILD
329*58b9f456SAndroid Build Coastguard Worker #define ECHILD 9963
330*58b9f456SAndroid Build Coastguard Worker #endif
331*58b9f456SAndroid Build Coastguard Worker 
332*58b9f456SAndroid Build Coastguard Worker #ifndef ENOLCK
333*58b9f456SAndroid Build Coastguard Worker #define ENOLCK 9964
334*58b9f456SAndroid Build Coastguard Worker #endif
335*58b9f456SAndroid Build Coastguard Worker 
336*58b9f456SAndroid Build Coastguard Worker #ifndef ENOSPC
337*58b9f456SAndroid Build Coastguard Worker #define ENOSPC 9965
338*58b9f456SAndroid Build Coastguard Worker #endif
339*58b9f456SAndroid Build Coastguard Worker 
340*58b9f456SAndroid Build Coastguard Worker #ifndef ENXIO
341*58b9f456SAndroid Build Coastguard Worker #define ENXIO 9966
342*58b9f456SAndroid Build Coastguard Worker #endif
343*58b9f456SAndroid Build Coastguard Worker 
344*58b9f456SAndroid Build Coastguard Worker #ifndef ENODEV
345*58b9f456SAndroid Build Coastguard Worker #define ENODEV 9967
346*58b9f456SAndroid Build Coastguard Worker #endif
347*58b9f456SAndroid Build Coastguard Worker 
348*58b9f456SAndroid Build Coastguard Worker #ifndef ENOENT
349*58b9f456SAndroid Build Coastguard Worker #define ENOENT 9968
350*58b9f456SAndroid Build Coastguard Worker #endif
351*58b9f456SAndroid Build Coastguard Worker 
352*58b9f456SAndroid Build Coastguard Worker #ifndef ESRCH
353*58b9f456SAndroid Build Coastguard Worker #define ESRCH 9969
354*58b9f456SAndroid Build Coastguard Worker #endif
355*58b9f456SAndroid Build Coastguard Worker 
356*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTDIR
357*58b9f456SAndroid Build Coastguard Worker #define ENOTDIR 9970
358*58b9f456SAndroid Build Coastguard Worker #endif
359*58b9f456SAndroid Build Coastguard Worker 
360*58b9f456SAndroid Build Coastguard Worker #ifndef ENOMEM
361*58b9f456SAndroid Build Coastguard Worker #define ENOMEM 9971
362*58b9f456SAndroid Build Coastguard Worker #endif
363*58b9f456SAndroid Build Coastguard Worker 
364*58b9f456SAndroid Build Coastguard Worker #ifndef EPERM
365*58b9f456SAndroid Build Coastguard Worker #define EPERM 9972
366*58b9f456SAndroid Build Coastguard Worker #endif
367*58b9f456SAndroid Build Coastguard Worker 
368*58b9f456SAndroid Build Coastguard Worker #ifndef EACCES
369*58b9f456SAndroid Build Coastguard Worker #define EACCES 9973
370*58b9f456SAndroid Build Coastguard Worker #endif
371*58b9f456SAndroid Build Coastguard Worker 
372*58b9f456SAndroid Build Coastguard Worker #ifndef EROFS
373*58b9f456SAndroid Build Coastguard Worker #define EROFS 9974
374*58b9f456SAndroid Build Coastguard Worker #endif
375*58b9f456SAndroid Build Coastguard Worker 
376*58b9f456SAndroid Build Coastguard Worker #ifndef EDEADLK
377*58b9f456SAndroid Build Coastguard Worker #define EDEADLK 9975
378*58b9f456SAndroid Build Coastguard Worker #endif
379*58b9f456SAndroid Build Coastguard Worker 
380*58b9f456SAndroid Build Coastguard Worker #ifndef EAGAIN
381*58b9f456SAndroid Build Coastguard Worker #define EAGAIN 9976
382*58b9f456SAndroid Build Coastguard Worker #endif
383*58b9f456SAndroid Build Coastguard Worker 
384*58b9f456SAndroid Build Coastguard Worker #ifndef ENFILE
385*58b9f456SAndroid Build Coastguard Worker #define ENFILE 9977
386*58b9f456SAndroid Build Coastguard Worker #endif
387*58b9f456SAndroid Build Coastguard Worker 
388*58b9f456SAndroid Build Coastguard Worker #ifndef EMFILE
389*58b9f456SAndroid Build Coastguard Worker #define EMFILE 9978
390*58b9f456SAndroid Build Coastguard Worker #endif
391*58b9f456SAndroid Build Coastguard Worker 
392*58b9f456SAndroid Build Coastguard Worker #ifndef EMLINK
393*58b9f456SAndroid Build Coastguard Worker #define EMLINK 9979
394*58b9f456SAndroid Build Coastguard Worker #endif
395*58b9f456SAndroid Build Coastguard Worker 
396*58b9f456SAndroid Build Coastguard Worker #endif // __cplusplus
397*58b9f456SAndroid Build Coastguard Worker 
398*58b9f456SAndroid Build Coastguard Worker #endif  // _LIBCPP_ERRNO_H
399