1 #ifndef	_UNISTD_H
2 #define	_UNISTD_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include <features.h>
9 
10 #define STDIN_FILENO  0
11 #define STDOUT_FILENO 1
12 #define STDERR_FILENO 2
13 
14 #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
15 #define SEEK_SET 0
16 #define SEEK_CUR 1
17 #define SEEK_END 2
18 #else
19 #include <__header_unistd.h>
20 #endif
21 
22 #ifdef __wasilibc_unmodified_upstream /* Use the compiler's definition of NULL */
23 #ifdef __cplusplus
24 #define NULL 0L
25 #else
26 #define NULL ((void*)0)
27 #endif
28 #else
29 #define __need_NULL
30 #include <stddef.h>
31 #endif
32 
33 #define __NEED_size_t
34 #define __NEED_ssize_t
35 #define __NEED_uid_t
36 #define __NEED_gid_t
37 #define __NEED_off_t
38 #define __NEED_pid_t
39 #define __NEED_intptr_t
40 #define __NEED_useconds_t
41 
42 #include <bits/alltypes.h>
43 
44 #ifdef __wasilibc_unmodified_upstream /* WASI has no pipe */
45 int pipe(int [2]);
46 int pipe2(int [2], int);
47 #endif
48 int close(int);
49 int posix_close(int, int);
50 #ifdef __wasilibc_unmodified_upstream /* WASI has no dup */
51 int dup(int);
52 int dup2(int, int);
53 int dup3(int, int, int);
54 #endif
55 off_t lseek(int, off_t, int);
56 #ifdef __wasilibc_unmodified_upstream /* Optimize the readonly case of lseek */
57 #else
58 off_t __wasilibc_tell(int);
59 
60 #ifndef __cplusplus
61 /*
62  * Optimize lseek in the case where it's just returning the current offset.
63  * This avoids importing `__wasi_fd_seek` altogether in many common cases.
64  *
65  * But don't do this for C++ because a simple macro wouldn't handle namespaces
66  * correctly:
67  *  - User code could qualify the `lseek` call with `::`.
68  *  - There may be another `lseek` in scope from a `using` declaration.
69  */
70 #define lseek(fd, offset, whence)      \
71   ({                                   \
72      off_t __f = (fd);                 \
73      off_t __o = (offset);             \
74      off_t __w = (whence);             \
75      __builtin_constant_p((offset)) && \
76      __builtin_constant_p((whence)) && \
77      __o == 0 &&                       \
78      __w == SEEK_CUR                   \
79      ? __wasilibc_tell(__f)            \
80      : lseek(__f, __o, __w);           \
81   })
82 #endif
83 #endif
84 int fsync(int);
85 int fdatasync(int);
86 
87 ssize_t read(int, void *, size_t);
88 ssize_t write(int, const void *, size_t);
89 ssize_t pread(int, void *, size_t, off_t);
90 ssize_t pwrite(int, const void *, size_t, off_t);
91 
92 #ifdef __wasilibc_unmodified_upstream /* WASI has no chown */
93 int chown(const char *, uid_t, gid_t);
94 int fchown(int, uid_t, gid_t);
95 int lchown(const char *, uid_t, gid_t);
96 int fchownat(int, const char *, uid_t, gid_t, int);
97 #endif
98 
99 int link(const char *, const char *);
100 int linkat(int, const char *, int, const char *, int);
101 int symlink(const char *, const char *);
102 int symlinkat(const char *, int, const char *);
103 ssize_t readlink(const char *__restrict, char *__restrict, size_t);
104 ssize_t readlinkat(int, const char *__restrict, char *__restrict, size_t);
105 int unlink(const char *);
106 int unlinkat(int, const char *, int);
107 int rmdir(const char *);
108 int truncate(const char *, off_t);
109 int ftruncate(int, off_t);
110 
111 #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
112 #define F_OK 0
113 #define R_OK 4
114 #define W_OK 2
115 #define X_OK 1
116 #endif
117 
118 int access(const char *, int);
119 int faccessat(int, const char *, int, int);
120 
121 #ifdef __wasilibc_unmodified_upstream /* WASI has no cwd */
122 int chdir(const char *);
123 int fchdir(int);
124 char *getcwd(char *, size_t);
125 #endif
126 
127 #ifdef __wasilibc_unmodified_upstream /* WASI has no signals */
128 unsigned alarm(unsigned);
129 #endif
130 unsigned sleep(unsigned);
131 int pause(void);
132 
133 #ifdef __wasilibc_unmodified_upstream /* WASI has no fork/exec */
134 pid_t fork(void);
135 int execve(const char *, char *const [], char *const []);
136 int execv(const char *, char *const []);
137 int execle(const char *, const char *, ...);
138 int execl(const char *, const char *, ...);
139 int execvp(const char *, char *const []);
140 int execlp(const char *, const char *, ...);
141 int fexecve(int, char *const [], char *const []);
142 #endif
143 _Noreturn void _exit(int);
144 
145 #ifdef __wasilibc_unmodified_upstream /* WASI has no getpid etc. */
146 pid_t getpid(void);
147 pid_t getppid(void);
148 pid_t getpgrp(void);
149 pid_t getpgid(pid_t);
150 int setpgid(pid_t, pid_t);
151 pid_t setsid(void);
152 pid_t getsid(pid_t);
153 #endif
154 #ifdef __wasilibc_unmodified_upstream /* WASI has no ttyname */
155 char *ttyname(int);
156 int ttyname_r(int, char *, size_t);
157 #endif
158 int isatty(int);
159 #ifdef __wasilibc_unmodified_upstream /* WASI has no process groups */
160 pid_t tcgetpgrp(int);
161 int tcsetpgrp(int, pid_t);
162 #endif
163 
164 #ifdef __wasilibc_unmodified_upstream /* WASI has no getuid etc. */
165 uid_t getuid(void);
166 uid_t geteuid(void);
167 gid_t getgid(void);
168 gid_t getegid(void);
169 int getgroups(int, gid_t []);
170 int setuid(uid_t);
171 int seteuid(uid_t);
172 int setgid(gid_t);
173 int setegid(gid_t);
174 #endif
175 
176 char *getlogin(void);
177 int getlogin_r(char *, size_t);
178 int gethostname(char *, size_t);
179 char *ctermid(char *);
180 
181 int getopt(int, char * const [], const char *);
182 extern char *optarg;
183 extern int optind, opterr, optopt;
184 
185 long pathconf(const char *, int);
186 long fpathconf(int, int);
187 long sysconf(int);
188 size_t confstr(int, char *, size_t);
189 
190 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
191 #define F_ULOCK 0
192 #define F_LOCK  1
193 #define F_TLOCK 2
194 #define F_TEST  3
195 #ifdef __wasilibc_unmodified_upstream /* WASI has no setreuid */
196 int setreuid(uid_t, uid_t);
197 int setregid(gid_t, gid_t);
198 #endif
199 #ifdef __wasilibc_unmodified_upstream /* WASI has no POSIX file locking */
200 int lockf(int, int, off_t);
201 #endif
202 long gethostid(void);
203 #ifdef __wasilibc_unmodified_upstream /* WASI has no nice, sync, or setpgrp */
204 int nice(int);
205 void sync(void);
206 pid_t setpgrp(void);
207 #endif
208 char *crypt(const char *, const char *);
209 void encrypt(char *, int);
210 void swab(const void *__restrict, void *__restrict, ssize_t);
211 #endif
212 
213 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) \
214  || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700)
215 int usleep(unsigned);
216 unsigned ualarm(unsigned, unsigned);
217 #endif
218 
219 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
220 #define L_SET 0
221 #define L_INCR 1
222 #define L_XTND 2
223 #ifdef __wasilibc_unmodified_upstream /* WASI has no brk */
224 int brk(void *);
225 #endif
226 void *sbrk(intptr_t);
227 #ifdef __wasilibc_unmodified_upstream /* WASI has no processes */
228 pid_t vfork(void);
229 int vhangup(void);
230 int chroot(const char *);
231 int getpagesize(void);
232 int getdtablesize(void);
233 int sethostname(const char *, size_t);
234 int getdomainname(char *, size_t);
235 int setdomainname(const char *, size_t);
236 int setgroups(size_t, const gid_t *);
237 char *getpass(const char *);
238 int daemon(int, int);
239 void setusershell(void);
240 void endusershell(void);
241 char *getusershell(void);
242 int acct(const char *);
243 long syscall(long, ...);
244 int execvpe(const char *, char *const [], char *const []);
245 int issetugid(void);
246 #endif
247 int getentropy(void *, size_t);
248 #endif
249 
250 #ifdef _GNU_SOURCE
251 extern char **environ;
252 #ifdef __wasilibc_unmodified_upstream /* WASI has no get/setresuid */
253 int setresuid(uid_t, uid_t, uid_t);
254 int setresgid(gid_t, gid_t, gid_t);
255 int getresuid(uid_t *, uid_t *, uid_t *);
256 int getresgid(gid_t *, gid_t *, gid_t *);
257 #endif
258 #ifdef __wasilibc_unmodified_upstream /* WASI has no cwd */
259 char *get_current_dir_name(void);
260 #endif
261 #ifdef __wasilibc_unmodified_upstream /* WASI has no syncfs */
262 int syncfs(int);
263 #endif
264 #ifdef __wasilibc_unmodified_upstream /* WASI has no eaccess */
265 int euidaccess(const char *, int);
266 int eaccess(const char *, int);
267 #endif
268 #endif
269 
270 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
271 #define lseek64 lseek
272 #define pread64 pread
273 #define pwrite64 pwrite
274 #ifdef __wasilibc_unmodified_upstream /* WASI has no truncate */
275 #define truncate64 truncate
276 #endif
277 #define ftruncate64 ftruncate
278 #ifdef __wasilibc_unmodified_upstream /* WASI has no POSIX file locking */
279 #define lockf64 lockf
280 #endif
281 #define off64_t off_t
282 #endif
283 
284 #define POSIX_CLOSE_RESTART     0
285 
286 #define _XOPEN_VERSION          700
287 #define _XOPEN_UNIX             1
288 #define _XOPEN_ENH_I18N         1
289 
290 #define _POSIX_VERSION          200809L
291 #define _POSIX2_VERSION         _POSIX_VERSION
292 
293 #define _POSIX_ADVISORY_INFO    _POSIX_VERSION
294 #define _POSIX_CHOWN_RESTRICTED 1
295 #define _POSIX_IPV6             _POSIX_VERSION
296 #ifdef __wasilibc_unmodified_upstream /* WASI has no processes, mmap, or mq */
297 #define _POSIX_JOB_CONTROL      1
298 #define _POSIX_MAPPED_FILES     _POSIX_VERSION
299 #define _POSIX_MEMLOCK          _POSIX_VERSION
300 #define _POSIX_MEMLOCK_RANGE    _POSIX_VERSION
301 #define _POSIX_MEMORY_PROTECTION _POSIX_VERSION
302 #define _POSIX_MESSAGE_PASSING  _POSIX_VERSION
303 #endif
304 #define _POSIX_FSYNC            _POSIX_VERSION
305 #define _POSIX_NO_TRUNC         1
306 #ifdef __wasilibc_unmodified_upstream /* WASI has no raw sockets */
307 #define _POSIX_RAW_SOCKETS      _POSIX_VERSION
308 #endif
309 #define _POSIX_REALTIME_SIGNALS _POSIX_VERSION
310 #define _POSIX_REGEXP           1
311 #ifdef __wasilibc_unmodified_upstream /* WASI has no processes */
312 #define _POSIX_SAVED_IDS        1
313 #define _POSIX_SHELL            1
314 #define _POSIX_SPAWN            _POSIX_VERSION
315 #endif
316 #define _POSIX_VDISABLE         0
317 
318 #define _POSIX_THREADS          _POSIX_VERSION
319 #define _POSIX_THREAD_PROCESS_SHARED _POSIX_VERSION
320 #define _POSIX_THREAD_SAFE_FUNCTIONS _POSIX_VERSION
321 #define _POSIX_THREAD_ATTR_STACKADDR _POSIX_VERSION
322 #define _POSIX_THREAD_ATTR_STACKSIZE _POSIX_VERSION
323 #define _POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_VERSION
324 #define _POSIX_THREAD_CPUTIME   _POSIX_VERSION
325 #define _POSIX_TIMERS           _POSIX_VERSION
326 #define _POSIX_TIMEOUTS         _POSIX_VERSION
327 #define _POSIX_MONOTONIC_CLOCK  _POSIX_VERSION
328 #define _POSIX_CPUTIME          _POSIX_VERSION
329 #define _POSIX_CLOCK_SELECTION  _POSIX_VERSION
330 #define _POSIX_BARRIERS         _POSIX_VERSION
331 #define _POSIX_SPIN_LOCKS       _POSIX_VERSION
332 #define _POSIX_READER_WRITER_LOCKS _POSIX_VERSION
333 #ifdef __wasilibc_unmodified_upstream /* WASI has no POSIX async I/O, semaphores, or shared memory */
334 #define _POSIX_ASYNCHRONOUS_IO  _POSIX_VERSION
335 #define _POSIX_SEMAPHORES       _POSIX_VERSION
336 #define _POSIX_SHARED_MEMORY_OBJECTS _POSIX_VERSION
337 #endif
338 
339 #define _POSIX2_C_BIND          _POSIX_VERSION
340 
341 #include <bits/posix.h>
342 
343 
344 
345 #define _PC_LINK_MAX	0
346 #define _PC_MAX_CANON	1
347 #define _PC_MAX_INPUT	2
348 #define _PC_NAME_MAX	3
349 #define _PC_PATH_MAX	4
350 #define _PC_PIPE_BUF	5
351 #define _PC_CHOWN_RESTRICTED	6
352 #define _PC_NO_TRUNC	7
353 #define _PC_VDISABLE	8
354 #define _PC_SYNC_IO	9
355 #define _PC_ASYNC_IO	10
356 #define _PC_PRIO_IO	11
357 #define _PC_SOCK_MAXBUF	12
358 #define _PC_FILESIZEBITS	13
359 #define _PC_REC_INCR_XFER_SIZE	14
360 #define _PC_REC_MAX_XFER_SIZE	15
361 #define _PC_REC_MIN_XFER_SIZE	16
362 #define _PC_REC_XFER_ALIGN	17
363 #define _PC_ALLOC_SIZE_MIN	18
364 #define _PC_SYMLINK_MAX	19
365 #define _PC_2_SYMLINKS	20
366 
367 #define _SC_ARG_MAX	0
368 #define _SC_CHILD_MAX	1
369 #define _SC_CLK_TCK	2
370 #define _SC_NGROUPS_MAX	3
371 #define _SC_OPEN_MAX	4
372 #define _SC_STREAM_MAX	5
373 #define _SC_TZNAME_MAX	6
374 #define _SC_JOB_CONTROL	7
375 #define _SC_SAVED_IDS	8
376 #define _SC_REALTIME_SIGNALS	9
377 #define _SC_PRIORITY_SCHEDULING	10
378 #define _SC_TIMERS	11
379 #define _SC_ASYNCHRONOUS_IO	12
380 #define _SC_PRIORITIZED_IO	13
381 #define _SC_SYNCHRONIZED_IO	14
382 #define _SC_FSYNC	15
383 #define _SC_MAPPED_FILES	16
384 #define _SC_MEMLOCK	17
385 #define _SC_MEMLOCK_RANGE	18
386 #define _SC_MEMORY_PROTECTION	19
387 #define _SC_MESSAGE_PASSING	20
388 #define _SC_SEMAPHORES	21
389 #define _SC_SHARED_MEMORY_OBJECTS	22
390 #define _SC_AIO_LISTIO_MAX	23
391 #define _SC_AIO_MAX	24
392 #define _SC_AIO_PRIO_DELTA_MAX	25
393 #define _SC_DELAYTIMER_MAX	26
394 #define _SC_MQ_OPEN_MAX	27
395 #define _SC_MQ_PRIO_MAX	28
396 #define _SC_VERSION	29
397 #define _SC_PAGE_SIZE	30
398 #define _SC_PAGESIZE	30 /* !! */
399 #define _SC_RTSIG_MAX	31
400 #define _SC_SEM_NSEMS_MAX	32
401 #define _SC_SEM_VALUE_MAX	33
402 #define _SC_SIGQUEUE_MAX	34
403 #define _SC_TIMER_MAX	35
404 #define _SC_BC_BASE_MAX	36
405 #define _SC_BC_DIM_MAX	37
406 #define _SC_BC_SCALE_MAX	38
407 #define _SC_BC_STRING_MAX	39
408 #define _SC_COLL_WEIGHTS_MAX	40
409 #define _SC_EXPR_NEST_MAX	42
410 #define _SC_LINE_MAX	43
411 #define _SC_RE_DUP_MAX	44
412 #define _SC_2_VERSION	46
413 #define _SC_2_C_BIND	47
414 #define _SC_2_C_DEV	48
415 #define _SC_2_FORT_DEV	49
416 #define _SC_2_FORT_RUN	50
417 #define _SC_2_SW_DEV	51
418 #define _SC_2_LOCALEDEF	52
419 #define _SC_UIO_MAXIOV	60 /* !! */
420 #define _SC_IOV_MAX	60
421 #define _SC_THREADS	67
422 #define _SC_THREAD_SAFE_FUNCTIONS	68
423 #define _SC_GETGR_R_SIZE_MAX	69
424 #define _SC_GETPW_R_SIZE_MAX	70
425 #define _SC_LOGIN_NAME_MAX	71
426 #define _SC_TTY_NAME_MAX	72
427 #define _SC_THREAD_DESTRUCTOR_ITERATIONS	73
428 #define _SC_THREAD_KEYS_MAX	74
429 #define _SC_THREAD_STACK_MIN	75
430 #define _SC_THREAD_THREADS_MAX	76
431 #define _SC_THREAD_ATTR_STACKADDR	77
432 #define _SC_THREAD_ATTR_STACKSIZE	78
433 #define _SC_THREAD_PRIORITY_SCHEDULING	79
434 #define _SC_THREAD_PRIO_INHERIT	80
435 #define _SC_THREAD_PRIO_PROTECT	81
436 #define _SC_THREAD_PROCESS_SHARED	82
437 #define _SC_NPROCESSORS_CONF	83
438 #define _SC_NPROCESSORS_ONLN	84
439 #define _SC_PHYS_PAGES	85
440 #define _SC_AVPHYS_PAGES	86
441 #define _SC_ATEXIT_MAX	87
442 #define _SC_PASS_MAX	88
443 #define _SC_XOPEN_VERSION	89
444 #define _SC_XOPEN_XCU_VERSION	90
445 #define _SC_XOPEN_UNIX	91
446 #define _SC_XOPEN_CRYPT	92
447 #define _SC_XOPEN_ENH_I18N	93
448 #define _SC_XOPEN_SHM	94
449 #define _SC_2_CHAR_TERM	95
450 #define _SC_2_UPE	97
451 #define _SC_XOPEN_XPG2	98
452 #define _SC_XOPEN_XPG3	99
453 #define _SC_XOPEN_XPG4	100
454 #define _SC_NZERO	109
455 #define _SC_XBS5_ILP32_OFF32	125
456 #define _SC_XBS5_ILP32_OFFBIG	126
457 #define _SC_XBS5_LP64_OFF64	127
458 #define _SC_XBS5_LPBIG_OFFBIG	128
459 #define _SC_XOPEN_LEGACY	129
460 #define _SC_XOPEN_REALTIME	130
461 #define _SC_XOPEN_REALTIME_THREADS	131
462 #define _SC_ADVISORY_INFO	132
463 #define _SC_BARRIERS	133
464 #define _SC_CLOCK_SELECTION	137
465 #define _SC_CPUTIME	138
466 #define _SC_THREAD_CPUTIME	139
467 #define _SC_MONOTONIC_CLOCK	149
468 #define _SC_READER_WRITER_LOCKS	153
469 #define _SC_SPIN_LOCKS	154
470 #define _SC_REGEXP	155
471 #define _SC_SHELL	157
472 #define _SC_SPAWN	159
473 #define _SC_SPORADIC_SERVER	160
474 #define _SC_THREAD_SPORADIC_SERVER	161
475 #define _SC_TIMEOUTS	164
476 #define _SC_TYPED_MEMORY_OBJECTS	165
477 #define _SC_2_PBS	168
478 #define _SC_2_PBS_ACCOUNTING	169
479 #define _SC_2_PBS_LOCATE	170
480 #define _SC_2_PBS_MESSAGE	171
481 #define _SC_2_PBS_TRACK	172
482 #define _SC_SYMLOOP_MAX	173
483 #define _SC_STREAMS	174
484 #define _SC_2_PBS_CHECKPOINT	175
485 #define _SC_V6_ILP32_OFF32	176
486 #define _SC_V6_ILP32_OFFBIG	177
487 #define _SC_V6_LP64_OFF64	178
488 #define _SC_V6_LPBIG_OFFBIG	179
489 #define _SC_HOST_NAME_MAX	180
490 #define _SC_TRACE	181
491 #define _SC_TRACE_EVENT_FILTER	182
492 #define _SC_TRACE_INHERIT	183
493 #define _SC_TRACE_LOG	184
494 
495 #define _SC_IPV6	235
496 #define _SC_RAW_SOCKETS	236
497 #define _SC_V7_ILP32_OFF32	237
498 #define _SC_V7_ILP32_OFFBIG	238
499 #define _SC_V7_LP64_OFF64	239
500 #define _SC_V7_LPBIG_OFFBIG	240
501 #define _SC_SS_REPL_MAX	241
502 #define _SC_TRACE_EVENT_NAME_MAX	242
503 #define _SC_TRACE_NAME_MAX	243
504 #define _SC_TRACE_SYS_MAX	244
505 #define _SC_TRACE_USER_EVENT_MAX	245
506 #define _SC_XOPEN_STREAMS	246
507 #define _SC_THREAD_ROBUST_PRIO_INHERIT	247
508 #define _SC_THREAD_ROBUST_PRIO_PROTECT	248
509 
510 #define _CS_PATH	0
511 #define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS	1
512 #define _CS_GNU_LIBC_VERSION	2
513 #define _CS_GNU_LIBPTHREAD_VERSION	3
514 #define _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS	4
515 #define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS	5
516 
517 #define _CS_POSIX_V6_ILP32_OFF32_CFLAGS	1116
518 #define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS	1117
519 #define _CS_POSIX_V6_ILP32_OFF32_LIBS	1118
520 #define _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS	1119
521 #define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS	1120
522 #define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS	1121
523 #define _CS_POSIX_V6_ILP32_OFFBIG_LIBS	1122
524 #define _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS	1123
525 #define _CS_POSIX_V6_LP64_OFF64_CFLAGS	1124
526 #define _CS_POSIX_V6_LP64_OFF64_LDFLAGS	1125
527 #define _CS_POSIX_V6_LP64_OFF64_LIBS	1126
528 #define _CS_POSIX_V6_LP64_OFF64_LINTFLAGS	1127
529 #define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS	1128
530 #define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS	1129
531 #define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS	1130
532 #define _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS	1131
533 #define _CS_POSIX_V7_ILP32_OFF32_CFLAGS	1132
534 #define _CS_POSIX_V7_ILP32_OFF32_LDFLAGS	1133
535 #define _CS_POSIX_V7_ILP32_OFF32_LIBS	1134
536 #define _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS	1135
537 #define _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS	1136
538 #define _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS	1137
539 #define _CS_POSIX_V7_ILP32_OFFBIG_LIBS	1138
540 #define _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS	1139
541 #define _CS_POSIX_V7_LP64_OFF64_CFLAGS	1140
542 #define _CS_POSIX_V7_LP64_OFF64_LDFLAGS	1141
543 #define _CS_POSIX_V7_LP64_OFF64_LIBS	1142
544 #define _CS_POSIX_V7_LP64_OFF64_LINTFLAGS	1143
545 #define _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS	1144
546 #define _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS	1145
547 #define _CS_POSIX_V7_LPBIG_OFFBIG_LIBS	1146
548 #define _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS	1147
549 #define _CS_V6_ENV	1148
550 #define _CS_V7_ENV	1149
551 
552 #ifdef __cplusplus
553 }
554 #endif
555 
556 #endif
557