xref: /aosp_15_r20/external/libcxx/test/std/diagnostics/errno/cerrno.pass.cpp (revision 58b9f456b02922dfdb1fad8a988d5fd8765ecb80)
1*58b9f456SAndroid Build Coastguard Worker // -*- C++ -*-
2*58b9f456SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
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 // test <cerrno>
12*58b9f456SAndroid Build Coastguard Worker 
13*58b9f456SAndroid Build Coastguard Worker #include <cerrno>
14*58b9f456SAndroid Build Coastguard Worker 
15*58b9f456SAndroid Build Coastguard Worker #ifndef E2BIG
16*58b9f456SAndroid Build Coastguard Worker #error E2BIG not defined
17*58b9f456SAndroid Build Coastguard Worker #endif
18*58b9f456SAndroid Build Coastguard Worker 
19*58b9f456SAndroid Build Coastguard Worker #ifndef EACCES
20*58b9f456SAndroid Build Coastguard Worker #error EACCES not defined
21*58b9f456SAndroid Build Coastguard Worker #endif
22*58b9f456SAndroid Build Coastguard Worker 
23*58b9f456SAndroid Build Coastguard Worker #ifndef EACCES
24*58b9f456SAndroid Build Coastguard Worker #error EACCES not defined
25*58b9f456SAndroid Build Coastguard Worker #endif
26*58b9f456SAndroid Build Coastguard Worker 
27*58b9f456SAndroid Build Coastguard Worker #ifndef EADDRINUSE
28*58b9f456SAndroid Build Coastguard Worker #error EADDRINUSE not defined
29*58b9f456SAndroid Build Coastguard Worker #endif
30*58b9f456SAndroid Build Coastguard Worker 
31*58b9f456SAndroid Build Coastguard Worker #ifndef EADDRNOTAVAIL
32*58b9f456SAndroid Build Coastguard Worker #error EADDRNOTAVAIL not defined
33*58b9f456SAndroid Build Coastguard Worker #endif
34*58b9f456SAndroid Build Coastguard Worker 
35*58b9f456SAndroid Build Coastguard Worker #ifndef EAFNOSUPPORT
36*58b9f456SAndroid Build Coastguard Worker #error EAFNOSUPPORT not defined
37*58b9f456SAndroid Build Coastguard Worker #endif
38*58b9f456SAndroid Build Coastguard Worker 
39*58b9f456SAndroid Build Coastguard Worker #ifndef EAGAIN
40*58b9f456SAndroid Build Coastguard Worker #error EAGAIN not defined
41*58b9f456SAndroid Build Coastguard Worker #endif
42*58b9f456SAndroid Build Coastguard Worker 
43*58b9f456SAndroid Build Coastguard Worker #ifndef EALREADY
44*58b9f456SAndroid Build Coastguard Worker #error EALREADY not defined
45*58b9f456SAndroid Build Coastguard Worker #endif
46*58b9f456SAndroid Build Coastguard Worker 
47*58b9f456SAndroid Build Coastguard Worker #ifndef EBADF
48*58b9f456SAndroid Build Coastguard Worker #error EBADF not defined
49*58b9f456SAndroid Build Coastguard Worker #endif
50*58b9f456SAndroid Build Coastguard Worker 
51*58b9f456SAndroid Build Coastguard Worker #ifndef EBADMSG
52*58b9f456SAndroid Build Coastguard Worker #error EBADMSG not defined
53*58b9f456SAndroid Build Coastguard Worker #endif
54*58b9f456SAndroid Build Coastguard Worker 
55*58b9f456SAndroid Build Coastguard Worker #ifndef EBUSY
56*58b9f456SAndroid Build Coastguard Worker #error EBUSY not defined
57*58b9f456SAndroid Build Coastguard Worker #endif
58*58b9f456SAndroid Build Coastguard Worker 
59*58b9f456SAndroid Build Coastguard Worker #ifndef ECANCELED
60*58b9f456SAndroid Build Coastguard Worker #error ECANCELED not defined
61*58b9f456SAndroid Build Coastguard Worker #endif
62*58b9f456SAndroid Build Coastguard Worker 
63*58b9f456SAndroid Build Coastguard Worker #ifndef ECHILD
64*58b9f456SAndroid Build Coastguard Worker #error ECHILD not defined
65*58b9f456SAndroid Build Coastguard Worker #endif
66*58b9f456SAndroid Build Coastguard Worker 
67*58b9f456SAndroid Build Coastguard Worker #ifndef ECONNABORTED
68*58b9f456SAndroid Build Coastguard Worker #error ECONNABORTED not defined
69*58b9f456SAndroid Build Coastguard Worker #endif
70*58b9f456SAndroid Build Coastguard Worker 
71*58b9f456SAndroid Build Coastguard Worker #ifndef ECONNREFUSED
72*58b9f456SAndroid Build Coastguard Worker #error ECONNREFUSED not defined
73*58b9f456SAndroid Build Coastguard Worker #endif
74*58b9f456SAndroid Build Coastguard Worker 
75*58b9f456SAndroid Build Coastguard Worker #ifndef ECONNRESET
76*58b9f456SAndroid Build Coastguard Worker #error ECONNRESET not defined
77*58b9f456SAndroid Build Coastguard Worker #endif
78*58b9f456SAndroid Build Coastguard Worker 
79*58b9f456SAndroid Build Coastguard Worker #ifndef EDEADLK
80*58b9f456SAndroid Build Coastguard Worker #error EDEADLK not defined
81*58b9f456SAndroid Build Coastguard Worker #endif
82*58b9f456SAndroid Build Coastguard Worker 
83*58b9f456SAndroid Build Coastguard Worker #ifndef EDESTADDRREQ
84*58b9f456SAndroid Build Coastguard Worker #error EDESTADDRREQ not defined
85*58b9f456SAndroid Build Coastguard Worker #endif
86*58b9f456SAndroid Build Coastguard Worker 
87*58b9f456SAndroid Build Coastguard Worker #ifndef EDOM
88*58b9f456SAndroid Build Coastguard Worker #error EDOM not defined
89*58b9f456SAndroid Build Coastguard Worker #endif
90*58b9f456SAndroid Build Coastguard Worker 
91*58b9f456SAndroid Build Coastguard Worker #ifndef EEXIST
92*58b9f456SAndroid Build Coastguard Worker #error EEXIST not defined
93*58b9f456SAndroid Build Coastguard Worker #endif
94*58b9f456SAndroid Build Coastguard Worker 
95*58b9f456SAndroid Build Coastguard Worker #ifndef EFAULT
96*58b9f456SAndroid Build Coastguard Worker #error EFAULT not defined
97*58b9f456SAndroid Build Coastguard Worker #endif
98*58b9f456SAndroid Build Coastguard Worker 
99*58b9f456SAndroid Build Coastguard Worker #ifndef EFBIG
100*58b9f456SAndroid Build Coastguard Worker #error EFBIG not defined
101*58b9f456SAndroid Build Coastguard Worker #endif
102*58b9f456SAndroid Build Coastguard Worker 
103*58b9f456SAndroid Build Coastguard Worker #ifndef EHOSTUNREACH
104*58b9f456SAndroid Build Coastguard Worker #error EHOSTUNREACH not defined
105*58b9f456SAndroid Build Coastguard Worker #endif
106*58b9f456SAndroid Build Coastguard Worker 
107*58b9f456SAndroid Build Coastguard Worker #ifndef EIDRM
108*58b9f456SAndroid Build Coastguard Worker #error EIDRM not defined
109*58b9f456SAndroid Build Coastguard Worker #endif
110*58b9f456SAndroid Build Coastguard Worker 
111*58b9f456SAndroid Build Coastguard Worker #ifndef EILSEQ
112*58b9f456SAndroid Build Coastguard Worker #error EILSEQ not defined
113*58b9f456SAndroid Build Coastguard Worker #endif
114*58b9f456SAndroid Build Coastguard Worker 
115*58b9f456SAndroid Build Coastguard Worker #ifndef EINPROGRESS
116*58b9f456SAndroid Build Coastguard Worker #error EINPROGRESS not defined
117*58b9f456SAndroid Build Coastguard Worker #endif
118*58b9f456SAndroid Build Coastguard Worker 
119*58b9f456SAndroid Build Coastguard Worker #ifndef EINTR
120*58b9f456SAndroid Build Coastguard Worker #error EINTR not defined
121*58b9f456SAndroid Build Coastguard Worker #endif
122*58b9f456SAndroid Build Coastguard Worker 
123*58b9f456SAndroid Build Coastguard Worker #ifndef EINVAL
124*58b9f456SAndroid Build Coastguard Worker #error EINVAL not defined
125*58b9f456SAndroid Build Coastguard Worker #endif
126*58b9f456SAndroid Build Coastguard Worker 
127*58b9f456SAndroid Build Coastguard Worker #ifndef EIO
128*58b9f456SAndroid Build Coastguard Worker #error EIO not defined
129*58b9f456SAndroid Build Coastguard Worker #endif
130*58b9f456SAndroid Build Coastguard Worker 
131*58b9f456SAndroid Build Coastguard Worker #ifndef EISCONN
132*58b9f456SAndroid Build Coastguard Worker #error EISCONN not defined
133*58b9f456SAndroid Build Coastguard Worker #endif
134*58b9f456SAndroid Build Coastguard Worker 
135*58b9f456SAndroid Build Coastguard Worker #ifndef EISDIR
136*58b9f456SAndroid Build Coastguard Worker #error EISDIR not defined
137*58b9f456SAndroid Build Coastguard Worker #endif
138*58b9f456SAndroid Build Coastguard Worker 
139*58b9f456SAndroid Build Coastguard Worker #ifndef ELOOP
140*58b9f456SAndroid Build Coastguard Worker #error ELOOP not defined
141*58b9f456SAndroid Build Coastguard Worker #endif
142*58b9f456SAndroid Build Coastguard Worker 
143*58b9f456SAndroid Build Coastguard Worker #ifndef EMFILE
144*58b9f456SAndroid Build Coastguard Worker #error EMFILE not defined
145*58b9f456SAndroid Build Coastguard Worker #endif
146*58b9f456SAndroid Build Coastguard Worker 
147*58b9f456SAndroid Build Coastguard Worker #ifndef EMLINK
148*58b9f456SAndroid Build Coastguard Worker #error EMLINK not defined
149*58b9f456SAndroid Build Coastguard Worker #endif
150*58b9f456SAndroid Build Coastguard Worker 
151*58b9f456SAndroid Build Coastguard Worker #ifndef EMSGSIZE
152*58b9f456SAndroid Build Coastguard Worker #error EMSGSIZE not defined
153*58b9f456SAndroid Build Coastguard Worker #endif
154*58b9f456SAndroid Build Coastguard Worker 
155*58b9f456SAndroid Build Coastguard Worker #ifndef ENAMETOOLONG
156*58b9f456SAndroid Build Coastguard Worker #error ENAMETOOLONG not defined
157*58b9f456SAndroid Build Coastguard Worker #endif
158*58b9f456SAndroid Build Coastguard Worker 
159*58b9f456SAndroid Build Coastguard Worker #ifndef ENETDOWN
160*58b9f456SAndroid Build Coastguard Worker #error ENETDOWN not defined
161*58b9f456SAndroid Build Coastguard Worker #endif
162*58b9f456SAndroid Build Coastguard Worker 
163*58b9f456SAndroid Build Coastguard Worker #ifndef ENETRESET
164*58b9f456SAndroid Build Coastguard Worker #error ENETRESET not defined
165*58b9f456SAndroid Build Coastguard Worker #endif
166*58b9f456SAndroid Build Coastguard Worker 
167*58b9f456SAndroid Build Coastguard Worker #ifndef ENETUNREACH
168*58b9f456SAndroid Build Coastguard Worker #error ENETUNREACH not defined
169*58b9f456SAndroid Build Coastguard Worker #endif
170*58b9f456SAndroid Build Coastguard Worker 
171*58b9f456SAndroid Build Coastguard Worker #ifndef ENFILE
172*58b9f456SAndroid Build Coastguard Worker #error ENFILE not defined
173*58b9f456SAndroid Build Coastguard Worker #endif
174*58b9f456SAndroid Build Coastguard Worker 
175*58b9f456SAndroid Build Coastguard Worker #ifndef ENOBUFS
176*58b9f456SAndroid Build Coastguard Worker #error ENOBUFS not defined
177*58b9f456SAndroid Build Coastguard Worker #endif
178*58b9f456SAndroid Build Coastguard Worker 
179*58b9f456SAndroid Build Coastguard Worker #if (defined(_XOPEN_STREAMS) && _XOPEN_STREAMS != -1)
180*58b9f456SAndroid Build Coastguard Worker #ifndef ENODATA
181*58b9f456SAndroid Build Coastguard Worker #error ENODATA not defined
182*58b9f456SAndroid Build Coastguard Worker #endif
183*58b9f456SAndroid Build Coastguard Worker #endif
184*58b9f456SAndroid Build Coastguard Worker 
185*58b9f456SAndroid Build Coastguard Worker #ifndef ENODEV
186*58b9f456SAndroid Build Coastguard Worker #error ENODEV not defined
187*58b9f456SAndroid Build Coastguard Worker #endif
188*58b9f456SAndroid Build Coastguard Worker 
189*58b9f456SAndroid Build Coastguard Worker #ifndef ENOENT
190*58b9f456SAndroid Build Coastguard Worker #error ENOENT not defined
191*58b9f456SAndroid Build Coastguard Worker #endif
192*58b9f456SAndroid Build Coastguard Worker 
193*58b9f456SAndroid Build Coastguard Worker #ifndef ENOEXEC
194*58b9f456SAndroid Build Coastguard Worker #error ENOEXEC not defined
195*58b9f456SAndroid Build Coastguard Worker #endif
196*58b9f456SAndroid Build Coastguard Worker 
197*58b9f456SAndroid Build Coastguard Worker #ifndef ENOLCK
198*58b9f456SAndroid Build Coastguard Worker #error ENOLCK not defined
199*58b9f456SAndroid Build Coastguard Worker #endif
200*58b9f456SAndroid Build Coastguard Worker 
201*58b9f456SAndroid Build Coastguard Worker #ifndef ENOLINK
202*58b9f456SAndroid Build Coastguard Worker #error ENOLINK not defined
203*58b9f456SAndroid Build Coastguard Worker #endif
204*58b9f456SAndroid Build Coastguard Worker 
205*58b9f456SAndroid Build Coastguard Worker #ifndef ENOMEM
206*58b9f456SAndroid Build Coastguard Worker #error ENOMEM not defined
207*58b9f456SAndroid Build Coastguard Worker #endif
208*58b9f456SAndroid Build Coastguard Worker 
209*58b9f456SAndroid Build Coastguard Worker #ifndef ENOMSG
210*58b9f456SAndroid Build Coastguard Worker #error ENOMSG not defined
211*58b9f456SAndroid Build Coastguard Worker #endif
212*58b9f456SAndroid Build Coastguard Worker 
213*58b9f456SAndroid Build Coastguard Worker #ifndef ENOPROTOOPT
214*58b9f456SAndroid Build Coastguard Worker #error ENOPROTOOPT not defined
215*58b9f456SAndroid Build Coastguard Worker #endif
216*58b9f456SAndroid Build Coastguard Worker 
217*58b9f456SAndroid Build Coastguard Worker #ifndef ENOSPC
218*58b9f456SAndroid Build Coastguard Worker #error ENOSPC not defined
219*58b9f456SAndroid Build Coastguard Worker #endif
220*58b9f456SAndroid Build Coastguard Worker 
221*58b9f456SAndroid Build Coastguard Worker #if (defined(_XOPEN_STREAMS) && _XOPEN_STREAMS != -1)
222*58b9f456SAndroid Build Coastguard Worker #ifndef ENOSR
223*58b9f456SAndroid Build Coastguard Worker #error ENOSR not defined
224*58b9f456SAndroid Build Coastguard Worker #endif
225*58b9f456SAndroid Build Coastguard Worker #endif
226*58b9f456SAndroid Build Coastguard Worker 
227*58b9f456SAndroid Build Coastguard Worker #if (defined(_XOPEN_STREAMS) && _XOPEN_STREAMS != -1)
228*58b9f456SAndroid Build Coastguard Worker #ifndef ENOSTR
229*58b9f456SAndroid Build Coastguard Worker #error ENOSTR not defined
230*58b9f456SAndroid Build Coastguard Worker #endif
231*58b9f456SAndroid Build Coastguard Worker #endif
232*58b9f456SAndroid Build Coastguard Worker 
233*58b9f456SAndroid Build Coastguard Worker #ifndef ENOSYS
234*58b9f456SAndroid Build Coastguard Worker #error ENOSYS not defined
235*58b9f456SAndroid Build Coastguard Worker #endif
236*58b9f456SAndroid Build Coastguard Worker 
237*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTCONN
238*58b9f456SAndroid Build Coastguard Worker #error ENOTCONN not defined
239*58b9f456SAndroid Build Coastguard Worker #endif
240*58b9f456SAndroid Build Coastguard Worker 
241*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTDIR
242*58b9f456SAndroid Build Coastguard Worker #error ENOTDIR not defined
243*58b9f456SAndroid Build Coastguard Worker #endif
244*58b9f456SAndroid Build Coastguard Worker 
245*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTEMPTY
246*58b9f456SAndroid Build Coastguard Worker #error ENOTEMPTY not defined
247*58b9f456SAndroid Build Coastguard Worker #endif
248*58b9f456SAndroid Build Coastguard Worker 
249*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTRECOVERABLE
250*58b9f456SAndroid Build Coastguard Worker #error ENOTRECOVERABLE not defined
251*58b9f456SAndroid Build Coastguard Worker #endif
252*58b9f456SAndroid Build Coastguard Worker 
253*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTSOCK
254*58b9f456SAndroid Build Coastguard Worker #error ENOTSOCK not defined
255*58b9f456SAndroid Build Coastguard Worker #endif
256*58b9f456SAndroid Build Coastguard Worker 
257*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTSUP
258*58b9f456SAndroid Build Coastguard Worker #error ENOTSUP not defined
259*58b9f456SAndroid Build Coastguard Worker #endif
260*58b9f456SAndroid Build Coastguard Worker 
261*58b9f456SAndroid Build Coastguard Worker #ifndef ENOTTY
262*58b9f456SAndroid Build Coastguard Worker #error ENOTTY not defined
263*58b9f456SAndroid Build Coastguard Worker #endif
264*58b9f456SAndroid Build Coastguard Worker 
265*58b9f456SAndroid Build Coastguard Worker #ifndef ENXIO
266*58b9f456SAndroid Build Coastguard Worker #error ENXIO not defined
267*58b9f456SAndroid Build Coastguard Worker #endif
268*58b9f456SAndroid Build Coastguard Worker 
269*58b9f456SAndroid Build Coastguard Worker #ifndef EOPNOTSUPP
270*58b9f456SAndroid Build Coastguard Worker #error EOPNOTSUPP not defined
271*58b9f456SAndroid Build Coastguard Worker #endif
272*58b9f456SAndroid Build Coastguard Worker 
273*58b9f456SAndroid Build Coastguard Worker #ifndef EOVERFLOW
274*58b9f456SAndroid Build Coastguard Worker #error EOVERFLOW not defined
275*58b9f456SAndroid Build Coastguard Worker #endif
276*58b9f456SAndroid Build Coastguard Worker 
277*58b9f456SAndroid Build Coastguard Worker #ifndef EOWNERDEAD
278*58b9f456SAndroid Build Coastguard Worker #error EOWNERDEAD not defined
279*58b9f456SAndroid Build Coastguard Worker #endif
280*58b9f456SAndroid Build Coastguard Worker 
281*58b9f456SAndroid Build Coastguard Worker #ifndef EPERM
282*58b9f456SAndroid Build Coastguard Worker #error EPERM not defined
283*58b9f456SAndroid Build Coastguard Worker #endif
284*58b9f456SAndroid Build Coastguard Worker 
285*58b9f456SAndroid Build Coastguard Worker #ifndef EPIPE
286*58b9f456SAndroid Build Coastguard Worker #error EPIPE not defined
287*58b9f456SAndroid Build Coastguard Worker #endif
288*58b9f456SAndroid Build Coastguard Worker 
289*58b9f456SAndroid Build Coastguard Worker #ifndef EPROTO
290*58b9f456SAndroid Build Coastguard Worker #error EPROTO not defined
291*58b9f456SAndroid Build Coastguard Worker #endif
292*58b9f456SAndroid Build Coastguard Worker 
293*58b9f456SAndroid Build Coastguard Worker #ifndef EPROTONOSUPPORT
294*58b9f456SAndroid Build Coastguard Worker #error EPROTONOSUPPORT not defined
295*58b9f456SAndroid Build Coastguard Worker #endif
296*58b9f456SAndroid Build Coastguard Worker 
297*58b9f456SAndroid Build Coastguard Worker #ifndef EPROTOTYPE
298*58b9f456SAndroid Build Coastguard Worker #error EPROTOTYPE not defined
299*58b9f456SAndroid Build Coastguard Worker #endif
300*58b9f456SAndroid Build Coastguard Worker 
301*58b9f456SAndroid Build Coastguard Worker #ifndef ERANGE
302*58b9f456SAndroid Build Coastguard Worker #error ERANGE not defined
303*58b9f456SAndroid Build Coastguard Worker #endif
304*58b9f456SAndroid Build Coastguard Worker 
305*58b9f456SAndroid Build Coastguard Worker #ifndef EROFS
306*58b9f456SAndroid Build Coastguard Worker #error EROFS not defined
307*58b9f456SAndroid Build Coastguard Worker #endif
308*58b9f456SAndroid Build Coastguard Worker 
309*58b9f456SAndroid Build Coastguard Worker #ifndef ESPIPE
310*58b9f456SAndroid Build Coastguard Worker #error ESPIPE not defined
311*58b9f456SAndroid Build Coastguard Worker #endif
312*58b9f456SAndroid Build Coastguard Worker 
313*58b9f456SAndroid Build Coastguard Worker #ifndef ESRCH
314*58b9f456SAndroid Build Coastguard Worker #error ESRCH not defined
315*58b9f456SAndroid Build Coastguard Worker #endif
316*58b9f456SAndroid Build Coastguard Worker 
317*58b9f456SAndroid Build Coastguard Worker #if (defined(_XOPEN_STREAMS) && _XOPEN_STREAMS != -1)
318*58b9f456SAndroid Build Coastguard Worker #ifndef ETIME
319*58b9f456SAndroid Build Coastguard Worker #error ETIME not defined
320*58b9f456SAndroid Build Coastguard Worker #endif
321*58b9f456SAndroid Build Coastguard Worker #endif
322*58b9f456SAndroid Build Coastguard Worker 
323*58b9f456SAndroid Build Coastguard Worker #ifndef ETIMEDOUT
324*58b9f456SAndroid Build Coastguard Worker #error ETIMEDOUT not defined
325*58b9f456SAndroid Build Coastguard Worker #endif
326*58b9f456SAndroid Build Coastguard Worker 
327*58b9f456SAndroid Build Coastguard Worker #ifndef ETXTBSY
328*58b9f456SAndroid Build Coastguard Worker #error ETXTBSY not defined
329*58b9f456SAndroid Build Coastguard Worker #endif
330*58b9f456SAndroid Build Coastguard Worker 
331*58b9f456SAndroid Build Coastguard Worker #ifndef EWOULDBLOCK
332*58b9f456SAndroid Build Coastguard Worker #error EWOULDBLOCK not defined
333*58b9f456SAndroid Build Coastguard Worker #endif
334*58b9f456SAndroid Build Coastguard Worker 
335*58b9f456SAndroid Build Coastguard Worker #ifndef EXDEV
336*58b9f456SAndroid Build Coastguard Worker #error EXDEV not defined
337*58b9f456SAndroid Build Coastguard Worker #endif
338*58b9f456SAndroid Build Coastguard Worker 
339*58b9f456SAndroid Build Coastguard Worker #ifndef errno
340*58b9f456SAndroid Build Coastguard Worker #error errno not defined
341*58b9f456SAndroid Build Coastguard Worker #endif
342*58b9f456SAndroid Build Coastguard Worker 
main()343*58b9f456SAndroid Build Coastguard Worker int main()
344*58b9f456SAndroid Build Coastguard Worker {
345*58b9f456SAndroid Build Coastguard Worker }
346