blob: 9f2fac96ddab92944ea5657be2cf5d5c0c181628 [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#ifndef _UNISTD_H
2#define _UNISTD_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
Rich Felkerc1a96582012-09-07 23:13:55 -04008#include <features.h>
Rich Felker0c05bd32012-09-06 23:34:10 -04009
Rich Felker0b44a032011-02-12 00:22:29 -050010#define STDIN_FILENO 0
11#define STDOUT_FILENO 1
12#define STDERR_FILENO 2
13
Rich Felker0b44a032011-02-12 00:22:29 -050014#define SEEK_SET 0
15#define SEEK_CUR 1
16#define SEEK_END 2
17
Rich Felkerc8a9c222013-11-24 21:42:55 -050018#ifdef __cplusplus
Rich Felker41d7c772013-01-18 20:35:26 -050019#define NULL 0L
Rich Felkerc8a9c222013-11-24 21:42:55 -050020#else
21#define NULL ((void*)0)
22#endif
Rich Felker0b44a032011-02-12 00:22:29 -050023
24#define __NEED_size_t
25#define __NEED_ssize_t
26#define __NEED_uid_t
27#define __NEED_gid_t
28#define __NEED_off_t
29#define __NEED_pid_t
Rich Felker0b44a032011-02-12 00:22:29 -050030#define __NEED_intptr_t
rofl0r47cf4912013-04-02 04:38:23 +020031#define __NEED_useconds_t
Rich Felker0b44a032011-02-12 00:22:29 -050032
33#include <bits/alltypes.h>
34
35int pipe(int [2]);
Rich Felker9735d502012-09-29 17:42:21 -040036int pipe2(int [2], int);
Rich Felker0b44a032011-02-12 00:22:29 -050037int close(int);
38int dup(int);
39int dup2(int, int);
Rich Felker9735d502012-09-29 17:42:21 -040040int dup3(int, int, int);
Rich Felker0b44a032011-02-12 00:22:29 -050041off_t lseek(int, off_t, int);
42int fsync(int);
Rich Felker0b44a032011-02-12 00:22:29 -050043int fdatasync(int);
44
45ssize_t read(int, void *, size_t);
46ssize_t write(int, const void *, size_t);
47ssize_t pread(int, void *, size_t, off_t);
48ssize_t pwrite(int, const void *, size_t, off_t);
49
Rich Felker0b44a032011-02-12 00:22:29 -050050int chown(const char *, uid_t, gid_t);
51int fchown(int, uid_t, gid_t);
52int lchown(const char *, uid_t, gid_t);
53int fchownat(int, const char *, uid_t, gid_t, int);
54
55int link(const char *, const char *);
56int linkat(int, const char *, int, const char *, int);
57int symlink(const char *, const char *);
58int symlinkat(const char *, int, const char *);
Rich Felker400c5e52012-09-06 22:44:55 -040059ssize_t readlink(const char *__restrict, char *__restrict, size_t);
60ssize_t readlinkat(int, const char *__restrict, char *__restrict, size_t);
Rich Felker0b44a032011-02-12 00:22:29 -050061int unlink(const char *);
62int unlinkat(int, const char *, int);
63int rmdir(const char *);
64int truncate(const char *, off_t);
65int ftruncate(int, off_t);
66
67#define F_OK 0
68#define R_OK 4
69#define W_OK 2
70#define X_OK 1
Rich Felker419ae6d2012-05-22 21:52:08 -040071
Rich Felker0b44a032011-02-12 00:22:29 -050072int access(const char *, int);
73int faccessat(int, const char *, int, int);
74
75int chdir(const char *);
76int fchdir(int);
77char *getcwd(char *, size_t);
Rich Felker0b44a032011-02-12 00:22:29 -050078
79unsigned alarm(unsigned);
Rich Felker0b44a032011-02-12 00:22:29 -050080unsigned sleep(unsigned);
Rich Felker0b44a032011-02-12 00:22:29 -050081int pause(void);
Rich Felker0b44a032011-02-12 00:22:29 -050082
83pid_t fork(void);
Rich Felker0b44a032011-02-12 00:22:29 -050084int execve(const char *, char *const [], char *const []);
85int execv(const char *, char *const []);
Rich Felkere6bac872011-04-27 16:06:33 -040086int execle(const char *, const char *, ...);
87int execl(const char *, const char *, ...);
Rich Felker0b44a032011-02-12 00:22:29 -050088int execvp(const char *, char *const []);
Rich Felkere6bac872011-04-27 16:06:33 -040089int execlp(const char *, const char *, ...);
Rich Felkerf2374ed2011-02-27 02:59:23 -050090int fexecve(int, char *const [], char *const []);
Rich Felker0c05bd32012-09-06 23:34:10 -040091_Noreturn void _exit(int);
Rich Felker0b44a032011-02-12 00:22:29 -050092
93pid_t getpid(void);
94pid_t getppid(void);
95pid_t getpgrp(void);
96pid_t getpgid(pid_t);
97int setpgid(pid_t, pid_t);
Rich Felker0b44a032011-02-12 00:22:29 -050098pid_t setsid(void);
99pid_t getsid(pid_t);
100char *ttyname(int);
101int ttyname_r(int, char *, size_t);
102int isatty(int);
103pid_t tcgetpgrp(int);
104int tcsetpgrp(int, pid_t);
105
106uid_t getuid(void);
107uid_t geteuid(void);
108gid_t getgid(void);
109gid_t getegid(void);
110int getgroups(int, gid_t []);
111int setuid(uid_t);
112int setreuid(uid_t, uid_t);
113int seteuid(uid_t);
114int setgid(gid_t);
115int setregid(gid_t, gid_t);
116int setegid(gid_t);
117
118char *getlogin(void);
119int getlogin_r(char *, size_t);
Rich Felker0b44a032011-02-12 00:22:29 -0500120int gethostname(char *, size_t);
Rich Felker0b44a032011-02-12 00:22:29 -0500121char *ctermid(char *);
122
Rich Felker0b44a032011-02-12 00:22:29 -0500123int getopt(int, char * const [], const char *);
124extern char *optarg;
125extern int optind, opterr, optopt;
126
Rich Felker0b44a032011-02-12 00:22:29 -0500127long pathconf(const char *, int);
128long fpathconf(int, int);
129long sysconf(int);
130size_t confstr(int, char *, size_t);
131
Rich Felker1d729532011-02-15 16:28:36 -0500132#define F_ULOCK 0
133#define F_LOCK 1
134#define F_TLOCK 2
135#define F_TEST 3
136
Rich Felkeraf3330d2012-05-22 22:28:17 -0400137#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
Rich Felker1d729532011-02-15 16:28:36 -0500138int lockf(int, int, off_t);
Rich Felker1d729532011-02-15 16:28:36 -0500139long gethostid(void);
140int nice(int);
141void sync(void);
142#endif
143
Rich Felkeraf3330d2012-05-22 22:28:17 -0400144#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
145pid_t setpgrp(void);
146char *crypt(const char *, const char *);
147void encrypt(char *, int);
Rich Felker400c5e52012-09-06 22:44:55 -0400148void swab(const void *__restrict, void *__restrict, ssize_t);
Rich Felkeraf3330d2012-05-22 22:28:17 -0400149#endif
150
Rich Felker3f80afc2012-08-15 15:35:32 -0400151#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) \
Rich Felkerb367ab12012-11-01 03:49:43 -0400152 || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700)
Rich Felker3f80afc2012-08-15 15:35:32 -0400153int usleep(unsigned);
154unsigned ualarm(unsigned, unsigned);
155#endif
156
Rich Felker419ae6d2012-05-22 21:52:08 -0400157#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
Rich Felkeraf3330d2012-05-22 22:28:17 -0400158#define L_SET 0
159#define L_INCR 1
160#define L_XTND 2
Rich Felkerb386d812011-02-19 01:02:46 -0500161int brk(void *);
162void *sbrk(intptr_t);
Rich Felker1d729532011-02-15 16:28:36 -0500163pid_t vfork(void);
164int vhangup(void);
165int chroot(const char *);
166int getpagesize(void);
Rich Felkeraf3330d2012-05-22 22:28:17 -0400167int getdtablesize(void);
Rich Felker1d729532011-02-15 16:28:36 -0500168int sethostname(const char *, size_t);
Rich Felkeraf3330d2012-05-22 22:28:17 -0400169int getdomainname(char *, size_t);
Rich Felkerc87584a2012-09-09 16:50:20 -0400170int setdomainname(const char *, size_t);
rofl0r6bf0fdb2012-12-06 19:48:14 +0100171int setgroups(size_t, const gid_t *);
Rich Felker419ae6d2012-05-22 21:52:08 -0400172char *getpass(const char *);
Rich Felkeraf3330d2012-05-22 22:28:17 -0400173int daemon(int, int);
174void setusershell(void);
175void endusershell(void);
176char *getusershell(void);
Rich Felker6cf8bfd2012-09-08 20:22:08 -0400177int acct(const char *);
Rich Felkerbaf246e2012-12-10 16:40:45 -0500178long syscall(long, ...);
Rich Felker419ae6d2012-05-22 21:52:08 -0400179#endif
180
181#ifdef _GNU_SOURCE
Rich Felkerd200bd72012-06-02 16:51:04 -0400182extern char **environ;
Rich Felker1db283b2011-04-03 16:20:57 -0400183int setresuid(uid_t, uid_t, uid_t);
184int setresgid(gid_t, gid_t, gid_t);
Rich Felkerb1b3d352012-04-22 10:37:19 -0400185int getresuid(uid_t *, uid_t *, uid_t *);
186int getresgid(gid_t *, gid_t *, gid_t *);
Rich Felker1611ab02012-02-17 23:10:00 -0500187char *get_current_dir_name(void);
Rich Felker662da622012-09-16 22:26:23 -0400188void syncfs(int);
Rich Felkerf0ceb5a2013-08-03 02:18:19 -0400189int euidaccess(const char *, int);
190int eaccess(const char *, int);
Rich Felker1d729532011-02-15 16:28:36 -0500191#endif
192
Rich Felker3b94dab2012-06-04 08:03:56 -0400193#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
Rich Felker2dd8d5e2012-05-04 00:13:23 -0400194#define lseek64 lseek
195#define pread64 pread
196#define pwrite64 pwrite
197#define truncate64 truncate
198#define ftruncate64 ftruncate
199#define lockf64 lockf
200#define off64_t off_t
201#endif
202
Rich Felker0b44a032011-02-12 00:22:29 -0500203#define _XOPEN_VERSION 700
204#define _XOPEN_UNIX 1
205#define _XOPEN_ENH_I18N 1
206
207#define _POSIX_VERSION 200809L
208#define _POSIX2_VERSION _POSIX_VERSION
209
Rich Felkera6d39fd2013-07-26 23:07:54 -0400210#define _POSIX_ADVISORY_INFO _POSIX_VERSION
Rich Felker0b44a032011-02-12 00:22:29 -0500211#define _POSIX_CHOWN_RESTRICTED 1
212#define _POSIX_IPV6 _POSIX_VERSION
213#define _POSIX_JOB_CONTROL 1
214#define _POSIX_MAPPED_FILES _POSIX_VERSION
215#define _POSIX_MEMLOCK _POSIX_VERSION
216#define _POSIX_MEMLOCK_RANGE _POSIX_VERSION
217#define _POSIX_MEMORY_PROTECTION _POSIX_VERSION
Rich Felkera6d39fd2013-07-26 23:07:54 -0400218#define _POSIX_MESSAGE_PASSING _POSIX_VERSION
Rich Felker2e3648b2012-09-30 01:52:17 -0400219#define _POSIX_FSYNC _POSIX_VERSION
Rich Felker0b44a032011-02-12 00:22:29 -0500220#define _POSIX_NO_TRUNC 1
221#define _POSIX_RAW_SOCKETS _POSIX_VERSION
222#define _POSIX_REALTIME_SIGNALS _POSIX_VERSION
223#define _POSIX_REGEXP 1
224#define _POSIX_SAVED_IDS 1
225#define _POSIX_SHELL 1
Rich Felker77830502013-07-26 15:51:28 -0400226#define _POSIX_SPAWN _POSIX_VERSION
Rich Felker0b44a032011-02-12 00:22:29 -0500227#define _POSIX_VDISABLE 0
228
229#define _POSIX_THREADS _POSIX_VERSION
230#define _POSIX_THREAD_PROCESS_SHARED _POSIX_VERSION
231#define _POSIX_THREAD_SAFE_FUNCTIONS _POSIX_VERSION
Rich Felker2e3648b2012-09-30 01:52:17 -0400232#define _POSIX_THREAD_ATTR_STACKADDR _POSIX_VERSION
233#define _POSIX_THREAD_ATTR_STACKSIZE _POSIX_VERSION
Rich Felker7df42e82012-11-11 15:54:20 -0500234#define _POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_VERSION
Rich Felkerf03db4b2013-06-26 19:43:24 -0400235#define _POSIX_THREAD_CPUTIME _POSIX_VERSION
Rich Felker0b44a032011-02-12 00:22:29 -0500236#define _POSIX_TIMERS _POSIX_VERSION
237#define _POSIX_TIMEOUTS _POSIX_VERSION
238#define _POSIX_MONOTONIC_CLOCK _POSIX_VERSION
239#define _POSIX_CPUTIME _POSIX_VERSION
240#define _POSIX_CLOCK_SELECTION _POSIX_VERSION
241#define _POSIX_BARRIERS _POSIX_VERSION
242#define _POSIX_SPIN_LOCKS _POSIX_VERSION
243#define _POSIX_READER_WRITER_LOCKS _POSIX_VERSION
244#define _POSIX_ASYNCHRONOUS_IO _POSIX_VERSION
245#define _POSIX_SEMAPHORES _POSIX_VERSION
Rich Felkerbf7b7282013-07-27 00:02:39 -0400246#define _POSIX_SHARED_MEMORY_OBJECTS _POSIX_VERSION
Rich Felker0b44a032011-02-12 00:22:29 -0500247
248#define _POSIX2_C_BIND _POSIX_VERSION
249
250#include <bits/posix.h>
251
252
253
254#define _PC_LINK_MAX 0
255#define _PC_MAX_CANON 1
256#define _PC_MAX_INPUT 2
257#define _PC_NAME_MAX 3
258#define _PC_PATH_MAX 4
259#define _PC_PIPE_BUF 5
260#define _PC_CHOWN_RESTRICTED 6
261#define _PC_NO_TRUNC 7
262#define _PC_VDISABLE 8
263#define _PC_SYNC_IO 9
264#define _PC_ASYNC_IO 10
265#define _PC_PRIO_IO 11
266#define _PC_SOCK_MAXBUF 12
267#define _PC_FILESIZEBITS 13
268#define _PC_REC_INCR_XFER_SIZE 14
269#define _PC_REC_MAX_XFER_SIZE 15
270#define _PC_REC_MIN_XFER_SIZE 16
271#define _PC_REC_XFER_ALIGN 17
272#define _PC_ALLOC_SIZE_MIN 18
273#define _PC_SYMLINK_MAX 19
274#define _PC_2_SYMLINKS 20
275
276#define _SC_ARG_MAX 0
277#define _SC_CHILD_MAX 1
278#define _SC_CLK_TCK 2
279#define _SC_NGROUPS_MAX 3
280#define _SC_OPEN_MAX 4
281#define _SC_STREAM_MAX 5
282#define _SC_TZNAME_MAX 6
283#define _SC_JOB_CONTROL 7
284#define _SC_SAVED_IDS 8
285#define _SC_REALTIME_SIGNALS 9
286#define _SC_PRIORITY_SCHEDULING 10
287#define _SC_TIMERS 11
288#define _SC_ASYNCHRONOUS_IO 12
289#define _SC_PRIORITIZED_IO 13
290#define _SC_SYNCHRONIZED_IO 14
291#define _SC_FSYNC 15
292#define _SC_MAPPED_FILES 16
293#define _SC_MEMLOCK 17
294#define _SC_MEMLOCK_RANGE 18
295#define _SC_MEMORY_PROTECTION 19
296#define _SC_MESSAGE_PASSING 20
297#define _SC_SEMAPHORES 21
298#define _SC_SHARED_MEMORY_OBJECTS 22
299#define _SC_AIO_LISTIO_MAX 23
300#define _SC_AIO_MAX 24
301#define _SC_AIO_PRIO_DELTA_MAX 25
302#define _SC_DELAYTIMER_MAX 26
303#define _SC_MQ_OPEN_MAX 27
304#define _SC_MQ_PRIO_MAX 28
305#define _SC_VERSION 29
306#define _SC_PAGE_SIZE 30
307#define _SC_PAGESIZE 30 /* !! */
308#define _SC_RTSIG_MAX 31
309#define _SC_SEM_NSEMS_MAX 32
310#define _SC_SEM_VALUE_MAX 33
311#define _SC_SIGQUEUE_MAX 34
312#define _SC_TIMER_MAX 35
313#define _SC_BC_BASE_MAX 36
314#define _SC_BC_DIM_MAX 37
315#define _SC_BC_SCALE_MAX 38
316#define _SC_BC_STRING_MAX 39
317#define _SC_COLL_WEIGHTS_MAX 40
318#define _SC_EQUIV_CLASS_MAX 41
319#define _SC_EXPR_NEST_MAX 42
320#define _SC_LINE_MAX 43
321#define _SC_RE_DUP_MAX 44
322#define _SC_CHARCLASS_NAME_MAX 45
323#define _SC_2_VERSION 46
324#define _SC_2_C_BIND 47
325#define _SC_2_C_DEV 48
326#define _SC_2_FORT_DEV 49
327#define _SC_2_FORT_RUN 50
328#define _SC_2_SW_DEV 51
329#define _SC_2_LOCALEDEF 52
330#define _SC_PII 53
331#define _SC_PII_XTI 54
332#define _SC_PII_SOCKET 55
333#define _SC_PII_INTERNET 56
334#define _SC_PII_OSI 57
335#define _SC_POLL 58
336#define _SC_SELECT 59
337#define _SC_UIO_MAXIOV 60 /* !! */
338#define _SC_IOV_MAX 60
339#define _SC_PII_INTERNET_STREAM 61
340#define _SC_PII_INTERNET_DGRAM 62
341#define _SC_PII_OSI_COTS 63
342#define _SC_PII_OSI_CLTS 64
343#define _SC_PII_OSI_M 65
344#define _SC_T_IOV_MAX 66
345#define _SC_THREADS 67
346#define _SC_THREAD_SAFE_FUNCTIONS 68
347#define _SC_GETGR_R_SIZE_MAX 69
348#define _SC_GETPW_R_SIZE_MAX 70
349#define _SC_LOGIN_NAME_MAX 71
350#define _SC_TTY_NAME_MAX 72
351#define _SC_THREAD_DESTRUCTOR_ITERATIONS 73
352#define _SC_THREAD_KEYS_MAX 74
353#define _SC_THREAD_STACK_MIN 75
354#define _SC_THREAD_THREADS_MAX 76
355#define _SC_THREAD_ATTR_STACKADDR 77
356#define _SC_THREAD_ATTR_STACKSIZE 78
357#define _SC_THREAD_PRIORITY_SCHEDULING 79
358#define _SC_THREAD_PRIO_INHERIT 80
359#define _SC_THREAD_PRIO_PROTECT 81
360#define _SC_THREAD_PROCESS_SHARED 82
361#define _SC_NPROCESSORS_CONF 83
362#define _SC_NPROCESSORS_ONLN 84
363#define _SC_PHYS_PAGES 85
364#define _SC_AVPHYS_PAGES 86
365#define _SC_ATEXIT_MAX 87
366#define _SC_PASS_MAX 88
367#define _SC_XOPEN_VERSION 89
368#define _SC_XOPEN_XCU_VERSION 90
369#define _SC_XOPEN_UNIX 91
370#define _SC_XOPEN_CRYPT 92
371#define _SC_XOPEN_ENH_I18N 93
372#define _SC_XOPEN_SHM 94
373#define _SC_2_CHAR_TERM 95
374#define _SC_2_C_VERSION 96
375#define _SC_2_UPE 97
376#define _SC_XOPEN_XPG2 98
377#define _SC_XOPEN_XPG3 99
378#define _SC_XOPEN_XPG4 100
379#define _SC_CHAR_BIT 101
380#define _SC_CHAR_MAX 102
381#define _SC_CHAR_MIN 103
382#define _SC_INT_MAX 104
383#define _SC_INT_MIN 105
384#define _SC_LONG_BIT 106
385#define _SC_WORD_BIT 107
386#define _SC_MB_LEN_MAX 108
387#define _SC_NZERO 109
388#define _SC_SSIZE_MAX 110
389#define _SC_SCHAR_MAX 111
390#define _SC_SCHAR_MIN 112
391#define _SC_SHRT_MAX 113
392#define _SC_SHRT_MIN 114
393#define _SC_UCHAR_MAX 115
394#define _SC_UINT_MAX 116
395#define _SC_ULONG_MAX 117
396#define _SC_USHRT_MAX 118
397#define _SC_NL_ARGMAX 119
398#define _SC_NL_LANGMAX 120
399#define _SC_NL_MSGMAX 121
400#define _SC_NL_NMAX 122
401#define _SC_NL_SETMAX 123
402#define _SC_NL_TEXTMAX 124
403#define _SC_XBS5_ILP32_OFF32 125
404#define _SC_XBS5_ILP32_OFFBIG 126
405#define _SC_XBS5_LP64_OFF64 127
406#define _SC_XBS5_LPBIG_OFFBIG 128
407#define _SC_XOPEN_LEGACY 129
408#define _SC_XOPEN_REALTIME 130
409#define _SC_XOPEN_REALTIME_THREADS 131
410#define _SC_ADVISORY_INFO 132
411#define _SC_BARRIERS 133
412#define _SC_BASE 134
413#define _SC_C_LANG_SUPPORT 135
414#define _SC_C_LANG_SUPPORT_R 136
415#define _SC_CLOCK_SELECTION 137
416#define _SC_CPUTIME 138
417#define _SC_THREAD_CPUTIME 139
418#define _SC_DEVICE_IO 140
419#define _SC_DEVICE_SPECIFIC 141
420#define _SC_DEVICE_SPECIFIC_R 142
421#define _SC_FD_MGMT 143
422#define _SC_FIFO 144
423#define _SC_PIPE 145
424#define _SC_FILE_ATTRIBUTES 146
425#define _SC_FILE_LOCKING 147
426#define _SC_FILE_SYSTEM 148
427#define _SC_MONOTONIC_CLOCK 149
428#define _SC_MULTI_PROCESS 150
429#define _SC_SINGLE_PROCESS 151
430#define _SC_NETWORKING 152
431#define _SC_READER_WRITER_LOCKS 153
432#define _SC_SPIN_LOCKS 154
433#define _SC_REGEXP 155
434#define _SC_REGEX_VERSION 156
435#define _SC_SHELL 157
436#define _SC_SIGNALS 158
437#define _SC_SPAWN 159
438#define _SC_SPORADIC_SERVER 160
439#define _SC_THREAD_SPORADIC_SERVER 161
440#define _SC_SYSTEM_DATABASE 162
441#define _SC_SYSTEM_DATABASE_R 163
442#define _SC_TIMEOUTS 164
443#define _SC_TYPED_MEMORY_OBJECTS 165
444#define _SC_USER_GROUPS 166
445#define _SC_USER_GROUPS_R 167
446#define _SC_2_PBS 168
447#define _SC_2_PBS_ACCOUNTING 169
448#define _SC_2_PBS_LOCATE 170
449#define _SC_2_PBS_MESSAGE 171
450#define _SC_2_PBS_TRACK 172
451#define _SC_SYMLOOP_MAX 173
452#define _SC_STREAMS 174
453#define _SC_2_PBS_CHECKPOINT 175
454#define _SC_V6_ILP32_OFF32 176
455#define _SC_V6_ILP32_OFFBIG 177
456#define _SC_V6_LP64_OFF64 178
457#define _SC_V6_LPBIG_OFFBIG 179
458#define _SC_HOST_NAME_MAX 180
459#define _SC_TRACE 181
460#define _SC_TRACE_EVENT_FILTER 182
461#define _SC_TRACE_INHERIT 183
462#define _SC_TRACE_LOG 184
463
464#define _SC_IPV6 235
465#define _SC_RAW_SOCKETS 236
466#define _SC_V7_ILP32_OFF32 237
467#define _SC_V7_ILP32_OFFBIG 238
468#define _SC_V7_LP64_OFF64 239
469#define _SC_V7_LPBIG_OFFBIG 240
470#define _SC_SS_REPL_MAX 241
471#define _SC_TRACE_EVENT_NAME_MAX 242
472#define _SC_TRACE_NAME_MAX 243
473#define _SC_TRACE_SYS_MAX 244
474#define _SC_TRACE_USER_EVENT_MAX 245
475#define _SC_XOPEN_STREAMS 246
476#define _SC_THREAD_ROBUST_PRIO_INHERIT 247
477#define _SC_THREAD_ROBUST_PRIO_PROTECT 248
478
479#define _CS_PATH 0
480#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 1
481#define _CS_GNU_LIBC_VERSION 2
482#define _CS_GNU_LIBPTHREAD_VERSION 3
483#define _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS 4
484#define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS 5
485
486#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS 1116
487#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS 1117
488#define _CS_POSIX_V6_ILP32_OFF32_LIBS 1118
489#define _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS 1119
490#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS 1120
491#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS 1121
492#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS 1122
493#define _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS 1123
494#define _CS_POSIX_V6_LP64_OFF64_CFLAGS 1124
495#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS 1125
496#define _CS_POSIX_V6_LP64_OFF64_LIBS 1126
497#define _CS_POSIX_V6_LP64_OFF64_LINTFLAGS 1127
498#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS 1128
499#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS 1129
500#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS 1130
501#define _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS 1131
502#define _CS_POSIX_V7_ILP32_OFF32_CFLAGS 1132
503#define _CS_POSIX_V7_ILP32_OFF32_LDFLAGS 1133
504#define _CS_POSIX_V7_ILP32_OFF32_LIBS 1134
505#define _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS 1135
506#define _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS 1136
507#define _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS 1137
508#define _CS_POSIX_V7_ILP32_OFFBIG_LIBS 1138
509#define _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS 1139
510#define _CS_POSIX_V7_LP64_OFF64_CFLAGS 1140
511#define _CS_POSIX_V7_LP64_OFF64_LDFLAGS 1141
512#define _CS_POSIX_V7_LP64_OFF64_LIBS 1142
513#define _CS_POSIX_V7_LP64_OFF64_LINTFLAGS 1143
514#define _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS 1144
515#define _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS 1145
516#define _CS_POSIX_V7_LPBIG_OFFBIG_LIBS 1146
517#define _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS 1147
518
519#ifdef __cplusplus
520}
521#endif
522
523#endif