Ticket #43353: thing_to_attach.2

File thing_to_attach.2, 96.9 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)

preprocessed source with -dM

Line 
1#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
2#define AF_APPLETALK 16
3#define AF_CCITT 10
4#define AF_CHAOS 5
5#define AF_CNT 21
6#define AF_COIP 20
7#define AF_DATAKIT 9
8#define AF_DECnet 12
9#define AF_DLI 13
10#define AF_E164 AF_ISDN
11#define AF_ECMA 8
12#define AF_HYLINK 15
13#define AF_IMPLINK 3
14#define AF_INET 2
15#define AF_INET6 30
16#define AF_IPX 23
17#define AF_ISDN 28
18#define AF_ISO 7
19#define AF_LAT 14
20#define AF_LINK 18
21#define AF_LOCAL AF_UNIX
22#define AF_MAX 37
23#define AF_NATM 31
24#define AF_NDRV 27
25#define AF_NETBIOS 33
26#define AF_NS 6
27#define AF_OSI AF_ISO
28#define AF_PPP 34
29#define AF_PUP 4
30#define AF_RESERVED_36 36
31#define AF_ROUTE 17
32#define AF_SIP 24
33#define AF_SNA 11
34#define AF_SYSTEM 32
35#define AF_UNIX 1
36#define AF_UNSPEC 0
37#define AI_ADDRCONFIG 0x00000400
38#define AI_ALL 0x00000100
39#define AI_CANONNAME 0x00000002
40#define AI_DEFAULT (AI_V4MAPPED_CFG | AI_ADDRCONFIG)
41#define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST)
42#define AI_NUMERICHOST 0x00000004
43#define AI_PASSIVE 0x00000001
44#define AI_V4MAPPED 0x00000800
45#define AI_V4MAPPED_CFG 0x00000200
46#define ALIAS(x) __attribute__((alias(x)))
47#define ALIGN(p) __DARWIN_ALIGN(p)
48#define ALIGNBYTES __DARWIN_ALIGNBYTES
49#define ALIGNED(x) __attribute__((aligned(x)))
50#define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
51#define ALTWERASE 0x00000200
52#define ALWAYS_INLINE inline __attribute__((always_inline))
53#define APPLE_IF_FAM_BOND 14
54#define APPLE_IF_FAM_DISC 8
55#define APPLE_IF_FAM_ETHERNET 2
56#define APPLE_IF_FAM_FAITH 11
57#define APPLE_IF_FAM_FIREWIRE 13
58#define APPLE_IF_FAM_GIF 10
59#define APPLE_IF_FAM_LOOPBACK 1
60#define APPLE_IF_FAM_MDECAP 9
61#define APPLE_IF_FAM_PPP 6
62#define APPLE_IF_FAM_PVC 7
63#define APPLE_IF_FAM_SLIP 3
64#define APPLE_IF_FAM_STF 12
65#define APPLE_IF_FAM_TUN 4
66#define APPLE_IF_FAM_VLAN 5
67#define AQ_BUFSZ 1024
68#define AQ_HIWATER 100
69#define AQ_LOWATER 10
70#define AQ_MAXBUFSZ 1048576
71#define AQ_MAXHIGH 10000
72#define ARG_MAX (256 * 1024)
73#define ARPHRD_ETHER 1
74#define ARPHRD_FRELAY 15
75#define ARPHRD_IEEE1394 24
76#define ARPHRD_IEEE1394_EUI64 27
77#define ARPHRD_IEEE802 6
78#define ARPOP_INVREPLY 9
79#define ARPOP_INVREQUEST 8
80#define ARPOP_REPLY 2
81#define ARPOP_REQUEST 1
82#define ARPOP_REVREPLY 4
83#define ARPOP_REVREQUEST 3
84#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
85#define ATF_COM 0x02
86#define ATF_INUSE 0x01
87#define ATF_PERM 0x04
88#define ATF_PUBL 0x08
89#define ATF_USETRAILERS 0x10
90#define ATTR_BIT_MAP_COUNT 5
91#define ATTR_CMN_ACCESSMASK 0x00020000
92#define ATTR_CMN_ACCTIME 0x00001000
93#define ATTR_CMN_BKUPTIME 0x00002000
94#define ATTR_CMN_CHGTIME 0x00000800
95#define ATTR_CMN_CRTIME 0x00000200
96#define ATTR_CMN_DEVID 0x00000002
97#define ATTR_CMN_EXTENDED_SECURITY 0x00400000
98#define ATTR_CMN_FILEID 0x02000000
99#define ATTR_CMN_FLAGS 0x00040000
100#define ATTR_CMN_FNDRINFO 0x00004000
101#define ATTR_CMN_FSID 0x00000004
102#define ATTR_CMN_GRPID 0x00010000
103#define ATTR_CMN_GRPUUID 0x01000000
104#define ATTR_CMN_MODTIME 0x00000400
105#define ATTR_CMN_NAME 0x00000001
106#define ATTR_CMN_NAMEDATTRCOUNT 0x00080000
107#define ATTR_CMN_NAMEDATTRLIST 0x00100000
108#define ATTR_CMN_OBJID 0x00000020
109#define ATTR_CMN_OBJPERMANENTID 0x00000040
110#define ATTR_CMN_OBJTAG 0x00000010
111#define ATTR_CMN_OBJTYPE 0x00000008
112#define ATTR_CMN_OWNERID 0x00008000
113#define ATTR_CMN_PARENTID 0x04000000
114#define ATTR_CMN_PAROBJID 0x00000080
115#define ATTR_CMN_SCRIPT 0x00000100
116#define ATTR_CMN_SETMASK 0x01C7FF00
117#define ATTR_CMN_USERACCESS 0x00200000
118#define ATTR_CMN_UUID 0x00800000
119#define ATTR_CMN_VALIDMASK 0x07FFFFFF
120#define ATTR_CMN_VOLSETMASK 0x00006700
121#define ATTR_DIR_ENTRYCOUNT 0x00000002
122#define ATTR_DIR_LINKCOUNT 0x00000001
123#define ATTR_DIR_MOUNTSTATUS 0x00000004
124#define ATTR_DIR_SETMASK 0x00000000
125#define ATTR_DIR_VALIDMASK 0x00000007
126#define ATTR_FILE_ALLOCSIZE 0x00000004
127#define ATTR_FILE_CLUMPSIZE 0x00000010
128#define ATTR_FILE_DATAALLOCSIZE 0x00000400
129#define ATTR_FILE_DATAEXTENTS 0x00000800
130#define ATTR_FILE_DATALENGTH 0x00000200
131#define ATTR_FILE_DEVTYPE 0x00000020
132#define ATTR_FILE_FILETYPE 0x00000040
133#define ATTR_FILE_FORKCOUNT 0x00000080
134#define ATTR_FILE_FORKLIST 0x00000100
135#define ATTR_FILE_IOBLOCKSIZE 0x00000008
136#define ATTR_FILE_LINKCOUNT 0x00000001
137#define ATTR_FILE_RSRCALLOCSIZE 0x00002000
138#define ATTR_FILE_RSRCEXTENTS 0x00004000
139#define ATTR_FILE_RSRCLENGTH 0x00001000
140#define ATTR_FILE_SETMASK 0x00000020
141#define ATTR_FILE_TOTALSIZE 0x00000002
142#define ATTR_FILE_VALIDMASK 0x00007FFF
143#define ATTR_FORK_ALLOCSIZE 0x00000002
144#define ATTR_FORK_SETMASK 0x00000000
145#define ATTR_FORK_TOTALSIZE 0x00000001
146#define ATTR_FORK_VALIDMASK 0x00000003
147#define ATTR_MAX_BUFFER 8192
148#define ATTR_VOL_ALLOCATIONCLUMP 0x00000040
149#define ATTR_VOL_ATTRIBUTES 0x40000000
150#define ATTR_VOL_CAPABILITIES 0x00020000
151#define ATTR_VOL_DIRCOUNT 0x00000400
152#define ATTR_VOL_ENCODINGSUSED 0x00010000
153#define ATTR_VOL_FILECOUNT 0x00000200
154#define ATTR_VOL_FSTYPE 0x00000001
155#define ATTR_VOL_INFO 0x80000000
156#define ATTR_VOL_IOBLOCKSIZE 0x00000080
157#define ATTR_VOL_MAXOBJCOUNT 0x00000800
158#define ATTR_VOL_MINALLOCATION 0x00000020
159#define ATTR_VOL_MOUNTEDDEVICE 0x00008000
160#define ATTR_VOL_MOUNTFLAGS 0x00004000
161#define ATTR_VOL_MOUNTPOINT 0x00001000
162#define ATTR_VOL_NAME 0x00002000
163#define ATTR_VOL_OBJCOUNT 0x00000100
164#define ATTR_VOL_SETMASK 0x80002000
165#define ATTR_VOL_SIGNATURE 0x00000002
166#define ATTR_VOL_SIZE 0x00000004
167#define ATTR_VOL_SPACEAVAIL 0x00000010
168#define ATTR_VOL_SPACEFREE 0x00000008
169#define ATTR_VOL_VALIDMASK 0xC003FFFF
170#define AT_IPC_MSG ((u_char)1)
171#define AT_IPC_SEM ((u_char)2)
172#define AT_IPC_SHM ((u_char)3)
173#define AUC_AUDITING 1
174#define AUC_DISABLED -1
175#define AUC_NOAUDIT 2
176#define AUC_UNSET 0
177#define AUDIT_AHLT 0x0002
178#define AUDIT_ARGE 0x0008
179#define AUDIT_ARGV 0x0004
180#define AUDIT_CNT 0x0001
181#define AUDIT_GROUP 0x0100
182#define AUDIT_PASSWD 0x0010
183#define AUDIT_PATH 0x0400
184#define AUDIT_RECORD_MAGIC 0x828a0f1b
185#define AUDIT_SEQ 0x0020
186#define AUDIT_TRAIL 0x0200
187#define AUDIT_TRIGGER_FILE_FULL 2
188#define AUDIT_TRIGGER_LOW_SPACE 1
189#define AUDIT_USER 0x0080
190#define AUDIT_WINDATA 0x0040
191#define AU_ADMIN 0x00000800
192#define AU_ALL 0xffffffff
193#define AU_APPL 0x00004000
194#define AU_CLOSE 0x00000040
195#define AU_DEFAUDITID ((uid_t)-1)
196#define AU_EXEC 0x40000000
197#define AU_FACCESS 0x00000004
198#define AU_FCREATE 0x00000010
199#define AU_FDELETE 0x00000020
200#define AU_FMODIFY 0x00000008
201#define AU_FREAD 0x00000001
202#define AU_FS_MINFREE 20
203#define AU_FWRITE 0x00000002
204#define AU_IFLOAT 0x00010000
205#define AU_IOCTL 0x20000000
206#define AU_IPC 0x00000200
207#define AU_LOGIN 0x00001000
208#define AU_MAC_RW 0x00040000
209#define AU_NET 0x00000100
210#define AU_NONAT 0x00000400
211#define AU_NULL 0x00000000
212#define AU_OTHER 0x80000000
213#define AU_PRIV 0x00020000
214#define AU_PROCESS 0x00000080
215#define AU_SETL 0x00008000
216#define AU_TFM 0x00002000
217#define AU_XCONN 0x00080000
218#define AU_XCREATE 0x00100000
219#define AU_XDACF 0x04000000
220#define AU_XDELETE 0x00200000
221#define AU_XIFLOAT 0x00400000
222#define AU_XMACF 0x08000000
223#define AU_XMOVE 0x02000000
224#define AU_XPRIVF 0x01000000
225#define AU_XPRIVS 0x00800000
226#define AU_XSECATTR 0x10000000
227#define A_GETCAR 9
228#define A_GETCLASS 22
229#define A_GETCOND 20
230#define A_GETCWD 8
231#define A_GETFSIZE 27
232#define A_GETKAUDIT 29
233#define A_GETKMASK 4
234#define A_GETPINFO 24
235#define A_GETPINFO_ADDR 28
236#define A_GETPOLICY 2
237#define A_GETQCTRL 6
238#define A_GETSTAT 12
239#define A_SETCLASS 23
240#define A_SETCOND 21
241#define A_SETFSIZE 26
242#define A_SETKAUDIT 30
243#define A_SETKMASK 5
244#define A_SETPMASK 25
245#define A_SETPOLICY 3
246#define A_SETQCTRL 7
247#define A_SETSMASK 15
248#define A_SETSTAT 13
249#define A_SETUMASK 14
250#define B0 0
251#define B110 110
252#define B115200 115200
253#define B1200 1200
254#define B134 134
255#define B14400 14400
256#define B150 150
257#define B1800 1800
258#define B19200 19200
259#define B200 200
260#define B230400 230400
261#define B2400 2400
262#define B28800 28800
263#define B300 300
264#define B38400 38400
265#define B4800 4800
266#define B50 50
267#define B57600 57600
268#define B600 600
269#define B7200 7200
270#define B75 75
271#define B76800 76800
272#define B9600 9600
273#define BADSIG SIG_ERR
274#define BASEPRI(x) (((x) & (255 << 8)) == 0)
275#define BC_BASE_MAX 99
276#define BC_DIM_MAX 2048
277#define BC_SCALE_MAX 99
278#define BC_STRING_MAX 1000
279#define BIG_ENDIAN __DARWIN_BIG_ENDIAN
280#define BLKDEV_IOSIZE 2048
281#define BRKINT 0x00000002
282#define BS0 0x00000000
283#define BS1 0x00008000
284#define BSD 199506
285#define BSD4_3 1
286#define BSD4_4 1
287#define BSDLY 0x00008000
288#define BUFSIZ 1024
289#define BUS_ADRALN 1
290#define BUS_ADRERR 2
291#define BUS_NOOP 0
292#define BUS_OBJERR 3
293#define BYTE_ORDER __DARWIN_BYTE_ORDER
294#define CAST_USER_ADDR_T(a_ptr) ((user_addr_t)((uintptr_t)(a_ptr)))
295#define CBLOCK 64
296#define CBQSIZE (CBLOCK/NBBY)
297#define CBRK CEOL
298#define CBSIZE (CBLOCK - sizeof(struct cblock *) - CBQSIZE)
299#define CCAR_OFLOW 0x00100000
300#define CCEQ(val,c) ((c) == (val) ? (val) != _POSIX_VDISABLE : 0)
301#define CCTS_OFLOW 0x00010000
302#define CDISCARD CTRL('o')
303#define CDSR_OFLOW 0x00080000
304#define CDSUSP CTRL('y')
305#define CDTR_IFLOW 0x00040000
306#define CEOF CTRL('d')
307#define CEOL 0xff
308#define CEOT CEOF
309#define CERASE 0177
310#define CFLUSH CDISCARD
311#define CHARCLASS_NAME_MAX 14
312#define CHAR_BIT __CHAR_BIT__
313#define CHAR_MAX __SCHAR_MAX__
314#define CHAR_MIN SCHAR_MIN
315#define CHECK(a) CHECK_IMPL((a), !=, 0)
316#define CHECK_EQ(a,b) CHECK_IMPL((a), ==, (b))
317#define CHECK_GE(a,b) CHECK_IMPL((a), >=, (b))
318#define CHECK_GT(a,b) CHECK_IMPL((a), >, (b))
319#define CHECK_IMPL(c1,op,c2) do { __sanitizer::u64 v1 = (u64)(c1); __sanitizer::u64 v2 = (u64)(c2); if (!(v1 op v2)) __sanitizer::CheckFailed(__FILE__, __LINE__, "(" #c1 ") " #op " (" #c2 ")", v1, v2); } while (false)
320#define CHECK_LE(a,b) CHECK_IMPL((a), <=, (b))
321#define CHECK_LT(a,b) CHECK_IMPL((a), <, (b))
322#define CHECK_NE(a,b) CHECK_IMPL((a), !=, (b))
323#define CHECK_SIZE_AND_OFFSET(CLASS,MEMBER) COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) == sizeof(((CLASS *) NULL)->MEMBER)); COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == offsetof(CLASS, MEMBER))
324#define CHECK_STRUCT_SIZE_AND_OFFSET(CLASS,MEMBER) COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *) NULL)->MEMBER) == sizeof(((struct CLASS *) NULL)->MEMBER)); COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) == offsetof(struct CLASS, MEMBER))
325#define CHECK_TYPE_SIZE(TYPE) COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
326#define CHILD_MAX 266
327#define CIGNORE 0x00000001
328#define CINTR CTRL('c')
329#define CIRCLEQ_EMPTY(head) ((head)->cqh_first == (void *)(head))
330#define CIRCLEQ_ENTRY(type) struct { struct type *cqe_next; struct type *cqe_prev; }
331#define CIRCLEQ_FIRST(head) ((head)->cqh_first)
332#define CIRCLEQ_FOREACH(var,head,field) for((var) = (head)->cqh_first; (var) != (void *)(head); (var) = (var)->field.cqe_next)
333#define CIRCLEQ_HEAD(name,type) struct name { struct type *cqh_first; struct type *cqh_last; }
334#define CIRCLEQ_INIT(head) do { (head)->cqh_first = (void *)(head); (head)->cqh_last = (void *)(head); } while (0)
335#define CIRCLEQ_INSERT_AFTER(head,listelm,elm,field) do { (elm)->field.cqe_next = (listelm)->field.cqe_next; (elm)->field.cqe_prev = (listelm); if ((listelm)->field.cqe_next == (void *)(head)) (head)->cqh_last = (elm); else (listelm)->field.cqe_next->field.cqe_prev = (elm); (listelm)->field.cqe_next = (elm); } while (0)
336#define CIRCLEQ_INSERT_BEFORE(head,listelm,elm,field) do { (elm)->field.cqe_next = (listelm); (elm)->field.cqe_prev = (listelm)->field.cqe_prev; if ((listelm)->field.cqe_prev == (void *)(head)) (head)->cqh_first = (elm); else (listelm)->field.cqe_prev->field.cqe_next = (elm); (listelm)->field.cqe_prev = (elm); } while (0)
337#define CIRCLEQ_INSERT_HEAD(head,elm,field) do { (elm)->field.cqe_next = (head)->cqh_first; (elm)->field.cqe_prev = (void *)(head); if ((head)->cqh_last == (void *)(head)) (head)->cqh_last = (elm); else (head)->cqh_first->field.cqe_prev = (elm); (head)->cqh_first = (elm); } while (0)
338#define CIRCLEQ_INSERT_TAIL(head,elm,field) do { (elm)->field.cqe_next = (void *)(head); (elm)->field.cqe_prev = (head)->cqh_last; if ((head)->cqh_first == (void *)(head)) (head)->cqh_first = (elm); else (head)->cqh_last->field.cqe_next = (elm); (head)->cqh_last = (elm); } while (0)
339#define CIRCLEQ_LAST(head) ((head)->cqh_last)
340#define CIRCLEQ_NEXT(elm,field) ((elm)->field.cqe_next)
341#define CIRCLEQ_PREV(elm,field) ((elm)->field.cqe_prev)
342#define CIRCLEQ_REMOVE(head,elm,field) do { if ((elm)->field.cqe_next == (void *)(head)) (head)->cqh_last = (elm)->field.cqe_prev; else (elm)->field.cqe_next->field.cqe_prev = (elm)->field.cqe_prev; if ((elm)->field.cqe_prev == (void *)(head)) (head)->cqh_first = (elm)->field.cqe_next; else (elm)->field.cqe_prev->field.cqe_next = (elm)->field.cqe_next; } while (0)
343#define CKILL CTRL('u')
344#define CLBYTES (CLSIZE*NBPG)
345#define CLD_CONTINUED 6
346#define CLD_DUMPED 3
347#define CLD_EXITED 1
348#define CLD_KILLED 2
349#define CLD_NOOP 0
350#define CLD_STOPPED 5
351#define CLD_TRAPPED 4
352#define CLK_TCK __DARWIN_CLK_TCK
353#define CLNEXT CTRL('v')
354#define CLOCAL 0x00008000
355#define CLOCKS_PER_SEC 1000000
356#define CLOFF CLOFSET
357#define CLOFSET (CLSIZE*NBPG-1)
358#define CLSHIFT (PGSHIFT+CLSIZELOG2)
359#define CLSIZE 1
360#define CLSIZELOG2 0
361#define CMASK 022
362#define CMIN 1
363#define CMSG_DATA(cmsg) ((unsigned char *)(cmsg) + __DARWIN_ALIGN(sizeof(struct cmsghdr)))
364#define CMSG_FIRSTHDR(mhdr) ((struct cmsghdr *)(mhdr)->msg_control)
365#define CMSG_LEN(l) (__DARWIN_ALIGN(sizeof(struct cmsghdr)) + (l))
366#define CMSG_NXTHDR(mhdr,cmsg) (((unsigned char *)(cmsg) + __DARWIN_ALIGN((__darwin_intptr_t)(cmsg)->cmsg_len) + __DARWIN_ALIGN(sizeof(struct cmsghdr)) > (unsigned char *)(mhdr)->msg_control + (mhdr)->msg_controllen) ? (struct cmsghdr *)0L : (struct cmsghdr *)((unsigned char *)(cmsg) + __DARWIN_ALIGN((__darwin_intptr_t)(cmsg)->cmsg_len)))
367#define CMSG_SPACE(l) (__DARWIN_ALIGN(sizeof(struct cmsghdr)) + __DARWIN_ALIGN(l))
368#define COLL_WEIGHTS_MAX 2
369#define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
370#define CQUIT 034
371#define CR0 0x00000000
372#define CR1 0x00001000
373#define CR2 0x00002000
374#define CR3 0x00003000
375#define CRDLY 0x00003000
376#define CREAD 0x00000800
377#define CREPRINT CTRL('r')
378#define CRF_MAC_ENFORCE 0x00000002
379#define CRF_NOMEMBERD 0x00000001
380#define CROUND (CBLOCK - 1)
381#define CRPRNT CREPRINT
382#define CRTSCTS (CCTS_OFLOW | CRTS_IFLOW)
383#define CRTS_IFLOW 0x00020000
384#define CS5 0x00000000
385#define CS6 0x00000100
386#define CS7 0x00000200
387#define CS8 0x00000300
388#define CSIZE 0x00000300
389#define CSTART CTRL('q')
390#define CSTATUS CTRL('t')
391#define CSTOP CTRL('s')
392#define CSTOPB 0x00000400
393#define CSUSP CTRL('z')
394#define CTIME 0
395#define CTRL(x) (x&037)
396#define CWERASE CTRL('w')
397#define DCHECK(a)
398#define DCHECK_EQ(a,b)
399#define DCHECK_GE(a,b)
400#define DCHECK_GT(a,b)
401#define DCHECK_LE(a,b)
402#define DCHECK_LT(a,b)
403#define DCHECK_NE(a,b)
404#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
405#define DELAY(n) { register int N = (n); while (--N > 0); }
406#define DEV_BSHIFT 9
407#define DEV_BSIZE 512
408#define DIRBLKSIZ 1024
409#define DIR_MNTSTATUS_MNTPOINT 0x00000001
410#define DST_AUST 2
411#define DST_CAN 6
412#define DST_EET 5
413#define DST_MET 4
414#define DST_NONE 0
415#define DST_USA 1
416#define DST_WET 3
417#define DTF_HIDEW 0x0001
418#define DTF_NODUP 0x0002
419#define DTF_REWIND 0x0004
420#define DTTOIF(dirtype) ((dirtype) << 12)
421#define DT_BLK 6
422#define DT_CHR 2
423#define DT_DIR 4
424#define DT_FIFO 1
425#define DT_LNK 10
426#define DT_REG 8
427#define DT_SOCK 12
428#define DT_UNKNOWN 0
429#define DT_WHT 14
430#define E2BIG 7
431#define EACCES 13
432#define EADDRINUSE 48
433#define EADDRNOTAVAIL 49
434#define EAFNOSUPPORT 47
435#define EAGAIN 35
436#define EAI_ADDRFAMILY 1
437#define EAI_AGAIN 2
438#define EAI_BADFLAGS 3
439#define EAI_BADHINTS 12
440#define EAI_FAIL 4
441#define EAI_FAMILY 5
442#define EAI_MAX 14
443#define EAI_MEMORY 6
444#define EAI_NODATA 7
445#define EAI_NONAME 8
446#define EAI_PROTOCOL 13
447#define EAI_SERVICE 9
448#define EAI_SOCKTYPE 10
449#define EAI_SYSTEM 11
450#define EALREADY 37
451#define EAUTH 80
452#define EBADARCH 86
453#define EBADEXEC 85
454#define EBADF 9
455#define EBADMACHO 88
456#define EBADMSG 94
457#define EBADRPC 72
458#define EBUSY 16
459#define ECANCELED 89
460#define ECHILD 10
461#define ECHO 0x00000008
462#define ECHOCTL 0x00000040
463#define ECHOE 0x00000002
464#define ECHOK 0x00000004
465#define ECHOKE 0x00000001
466#define ECHONL 0x00000010
467#define ECHOPRT 0x00000020
468#define ECONNABORTED 53
469#define ECONNREFUSED 61
470#define ECONNRESET 54
471#define EDEADLK 11
472#define EDESTADDRREQ 39
473#define EDEVERR 83
474#define EDOM 33
475#define EDQUOT 69
476#define EEXIST 17
477#define EFAULT 14
478#define EFBIG 27
479#define EFTYPE 79
480#define EHOSTDOWN 64
481#define EHOSTUNREACH 65
482#define EIDRM 90
483#define EILSEQ 92
484#define EINPROGRESS 36
485#define EINTR 4
486#define EINVAL 22
487#define EIO 5
488#define EISCONN 56
489#define EISDIR 21
490#define ELAST 103
491#define ELOOP 62
492#define EMFILE 24
493#define EMLINK 31
494#define EMSGSIZE 40
495#define EMULTIHOP 95
496#define ENAMETOOLONG 63
497#define ENEEDAUTH 81
498#define ENETDOWN 50
499#define ENETRESET 52
500#define ENETUNREACH 51
501#define ENFILE 23
502#define ENOATTR 93
503#define ENOBUFS 55
504#define ENODATA 96
505#define ENODEV 19
506#define ENOENT 2
507#define ENOEXEC 8
508#define ENOLCK 77
509#define ENOLINK 97
510#define ENOMEM 12
511#define ENOMSG 91
512#define ENOPOLICY 103
513#define ENOPROTOOPT 42
514#define ENOSPC 28
515#define ENOSR 98
516#define ENOSTR 99
517#define ENOSYS 78
518#define ENOTBLK 15
519#define ENOTCONN 57
520#define ENOTDIR 20
521#define ENOTEMPTY 66
522#define ENOTSOCK 38
523#define ENOTSUP 45
524#define ENOTTY 25
525#define ENXIO 6
526#define EOF (-1)
527#define EOPNOTSUPP 102
528#define EOVERFLOW 84
529#define EPERM 1
530#define EPFNOSUPPORT 46
531#define EPIPE 32
532#define EPROCLIM 67
533#define EPROCUNAVAIL 76
534#define EPROGMISMATCH 75
535#define EPROGUNAVAIL 74
536#define EPROTO 100
537#define EPROTONOSUPPORT 43
538#define EPROTOTYPE 41
539#define EPWROFF 82
540#define EQUIV_CLASS_MAX 2
541#define ERANGE 34
542#define EREMOTE 71
543#define EROFS 30
544#define ERPCMISMATCH 73
545#define ESHLIBVERS 87
546#define ESHUTDOWN 58
547#define ESOCKTNOSUPPORT 44
548#define ESPIPE 29
549#define ESRCH 3
550#define ESTALE 70
551#define ETHERMIN (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
552#define ETHERMTU (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
553#define ETHERTYPE_ARP 0x0806
554#define ETHERTYPE_IP 0x0800
555#define ETHERTYPE_IPV6 0x86dd
556#define ETHERTYPE_LOOPBACK 0x9000
557#define ETHERTYPE_NTRAILER 16
558#define ETHERTYPE_PUP 0x0200
559#define ETHERTYPE_REVARP 0x8035
560#define ETHERTYPE_TRAIL 0x1000
561#define ETHERTYPE_VLAN 0x8100
562#define ETHER_ADDR_LEN 6
563#define ETHER_CRC_LEN 4
564#define ETHER_HDR_LEN (ETHER_ADDR_LEN*2+ETHER_TYPE_LEN)
565#define ETHER_IS_VALID_LEN(foo) ((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)
566#define ETHER_MAX_LEN 1518
567#define ETHER_MIN_LEN 64
568#define ETHER_TYPE_LEN 2
569#define ETIME 101
570#define ETIMEDOUT 60
571#define ETOOMANYREFS 59
572#define ETXTBSY 26
573#define EUSERS 68
574#define EWOULDBLOCK EAGAIN
575#define EXDEV 18
576#define EXPR_NEST_MAX 32
577#define EXTA 19200
578#define EXTB 38400
579#define EXTPROC 0x00000800
580#define FD_CLR(n,p) __DARWIN_FD_CLR(n, p)
581#define FD_COPY(f,t) __DARWIN_FD_COPY(f, t)
582#define FD_ISSET(n,p) __DARWIN_FD_ISSET(n, p)
583#define FD_SET(n,p) __DARWIN_FD_SET(n, p)
584#define FD_SETSIZE __DARWIN_FD_SETSIZE
585#define FD_ZERO(p) __DARWIN_FD_ZERO(p)
586#define FF0 0x00000000
587#define FF1 0x00004000
588#define FFDLY 0x00004000
589#define FILENAME_MAX 1024
590#define FIOASYNC _IOW('f', 125, int)
591#define FIOCLEX _IO('f', 1)
592#define FIODTYPE _IOR('f', 122, int)
593#define FIOGETOWN _IOR('f', 123, int)
594#define FIONBIO _IOW('f', 126, int)
595#define FIONCLEX _IO('f', 2)
596#define FIONREAD _IOR('f', 127, int)
597#define FIOSETOWN _IOW('f', 124, int)
598#define FLUSHO 0x00800000
599#define FOPEN_MAX 20
600#define FORMAT(f,a) __attribute__((format(printf, f, a)))
601#define FPE_FLTDIV 1
602#define FPE_FLTINV 5
603#define FPE_FLTOVF 2
604#define FPE_FLTRES 4
605#define FPE_FLTSUB 6
606#define FPE_FLTUND 3
607#define FPE_INTDIV 7
608#define FPE_INTOVF 8
609#define FPE_NOOP 0
610#define FP_CHOP 3
611#define FP_PREC_24B 0
612#define FP_PREC_53B 2
613#define FP_PREC_64B 3
614#define FP_RND_DOWN 1
615#define FP_RND_NEAR 0
616#define FP_RND_UP 2
617#define FP_STATE_BYTES 512
618#define FSCALE (1<<FSHIFT)
619#define FSCRED ((kauth_cred_t )-1)
620#define FSHIFT 11
621#define FSOPT_NOFOLLOW 0x00000001
622#define FSOPT_NOINMEMUPDATE 0x00000002
623#define FSOPT_REPORT_FULLSIZE 0x00000004
624#define FST_EOF (-1)
625#define GET_CALLER_PC() (uptr)__builtin_return_address(0)
626#define GET_CURRENT_FRAME() (uptr)__builtin_frame_address(0)
627#define GID_MAX 2147483647U
628#define HANDLE_EINTR(res,f) { int rverrno; do { res = (f); } while (internal_iserror(res, &rverrno) && rverrno == EINTR); }
629#define HOST_NOT_FOUND 1
630#define HTONL(x) (x) = htonl((__uint32_t)x)
631#define HTONS(x) (x) = htons((__uint16_t)x)
632#define HUPCL 0x00004000
633#define I386_MCONTEXT_SIZE sizeof(struct mcontext)
634#define ICANON 0x00000100
635#define ICMP6_FILTER 18
636#define ICRNL 0x00000100
637#define IEXTEN 0x00000400
638#define IFF_ALLMULTI 0x200
639#define IFF_ALTPHYS IFF_LINK2
640#define IFF_BROADCAST 0x2
641#define IFF_DEBUG 0x4
642#define IFF_LINK0 0x1000
643#define IFF_LINK1 0x2000
644#define IFF_LINK2 0x4000
645#define IFF_LOOPBACK 0x8
646#define IFF_MULTICAST 0x8000
647#define IFF_NOARP 0x80
648#define IFF_NOTRAILERS 0x20
649#define IFF_OACTIVE 0x400
650#define IFF_POINTOPOINT 0x10
651#define IFF_PROMISC 0x100
652#define IFF_RUNNING 0x40
653#define IFF_SIMPLEX 0x800
654#define IFF_UP 0x1
655#define IFLR_PREFIX 0x8000
656#define IFNAMSIZ 16
657#define IFNET_SLOWHZ 1
658#define IFQ_MAXLEN 50
659#define IFSTATMAX 800
660#define IFTODT(mode) (((mode) & 0170000) >> 12)
661#define IF_DATA_TIMEVAL timeval
662#define IF_MAXMTU 65535
663#define IF_MINMTU 72
664#define IF_NAMESIZE 16
665#define IGNBRK 0x00000001
666#define IGNCR 0x00000080
667#define IGNPAR 0x00000004
668#define ILL_BADSTK 8
669#define ILL_COPROC 7
670#define ILL_ILLADR 5
671#define ILL_ILLOPC 1
672#define ILL_ILLOPN 4
673#define ILL_ILLTRP 2
674#define ILL_NOOP 0
675#define ILL_PRVOPC 3
676#define ILL_PRVREG 6
677#define IMAXBEL 0x00002000
678#define IMPL_COMPILER_ASSERT(pred,line) typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
679#define IMPL_PASTE(a,b) a##b
680#define IN6ADDR_ANY_INIT {{{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }}}
681#define IN6ADDR_LINKLOCAL_ALLNODES_INIT {{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }}}
682#define IN6ADDR_LINKLOCAL_ALLROUTERS_INIT {{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 }}}
683#define IN6ADDR_LOOPBACK_INIT {{{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }}}
684#define IN6ADDR_NODELOCAL_ALLNODES_INIT {{{ 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }}}
685#define IN6_ARE_ADDR_EQUAL(a,b) (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)
686#define IN6_IS_ADDR_LINKLOCAL(a) (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0x80))
687#define IN6_IS_ADDR_LOOPBACK(a) ((*(const __uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[12]) == ntohl(1)))
688#define IN6_IS_ADDR_MC_GLOBAL(a) (IN6_IS_ADDR_MULTICAST(a) && (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_GLOBAL))
689#define IN6_IS_ADDR_MC_LINKLOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_LINKLOCAL))
690#define IN6_IS_ADDR_MC_NODELOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_NODELOCAL))
691#define IN6_IS_ADDR_MC_ORGLOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_ORGLOCAL))
692#define IN6_IS_ADDR_MC_SITELOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_SITELOCAL))
693#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
694#define IN6_IS_ADDR_SITELOCAL(a) (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0))
695#define IN6_IS_ADDR_UNSPECIFIED(a) ((*(const __uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[12]) == 0))
696#define IN6_IS_ADDR_V4COMPAT(a) ((*(const __uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[12]) != 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[12]) != ntohl(1)))
697#define IN6_IS_ADDR_V4MAPPED(a) ((*(const __uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && (*(const __uint32_t *)(const void *)(&(a)->s6_addr[8]) == ntohl(0x0000ffff)))
698#define INADDR_ALLHOSTS_GROUP (u_int32_t)0xe0000001
699#define INADDR_ALLRTRS_GROUP (u_int32_t)0xe0000002
700#define INADDR_ANY (u_int32_t)0x00000000
701#define INADDR_BROADCAST (u_int32_t)0xffffffff
702#define INADDR_LOOPBACK (u_int32_t)0x7f000001
703#define INADDR_MAX_LOCAL_GROUP (u_int32_t)0xe00000ff
704#define INADDR_NONE 0xffffffff
705#define INADDR_UNSPEC_GROUP (u_int32_t)0xe0000000
706#define INET6_ADDRSTRLEN 46
707#define INET_ADDRSTRLEN 16
708#define INLCR 0x00000040
709#define INLINE inline
710#define INPCK 0x00000010
711#define INT16_C(v) (v)
712#define INT16_MAX 32767
713#define INT16_MIN -32768
714#define INT32_C(v) (v)
715#define INT32_MAX 2147483647
716#define INT32_MIN (-INT32_MAX-1)
717#define INT64_C(v) (v ## LL)
718#define INT64_MAX 9223372036854775807LL
719#define INT64_MIN (-INT64_MAX-1)
720#define INT8_C(v) (v)
721#define INT8_MAX 127
722#define INT8_MIN -128
723#define INTERFACE_ATTRIBUTE SANITIZER_INTERFACE_ATTRIBUTE
724#define INTMAX_C(v) (v ## LL)
725#define INTMAX_MAX INT64_MAX
726#define INTMAX_MIN INT64_MIN
727#define INTPTR_MAX INT32_MAX
728#define INTPTR_MIN INT32_MIN
729#define INT_FAST16_MAX INT16_MAX
730#define INT_FAST16_MIN INT16_MIN
731#define INT_FAST32_MAX INT32_MAX
732#define INT_FAST32_MIN INT32_MIN
733#define INT_FAST64_MAX INT64_MAX
734#define INT_FAST64_MIN INT64_MIN
735#define INT_FAST8_MAX INT8_MAX
736#define INT_FAST8_MIN INT8_MIN
737#define INT_LEAST16_MAX INT16_MAX
738#define INT_LEAST16_MIN INT16_MIN
739#define INT_LEAST32_MAX INT32_MAX
740#define INT_LEAST32_MIN INT32_MIN
741#define INT_LEAST64_MAX INT64_MAX
742#define INT_LEAST64_MIN INT64_MIN
743#define INT_LEAST8_MAX INT8_MAX
744#define INT_LEAST8_MIN INT8_MIN
745#define INT_MAX __INT_MAX__
746#define INT_MIN (-__INT_MAX__ -1)
747#define IN_BADCLASS(i) (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
748#define IN_CLASSA(i) (((u_int32_t)(i) & 0x80000000) == 0)
749#define IN_CLASSA_HOST 0x00ffffff
750#define IN_CLASSA_MAX 128
751#define IN_CLASSA_NET 0xff000000
752#define IN_CLASSA_NSHIFT 24
753#define IN_CLASSB(i) (((u_int32_t)(i) & 0xc0000000) == 0x80000000)
754#define IN_CLASSB_HOST 0x0000ffff
755#define IN_CLASSB_MAX 65536
756#define IN_CLASSB_NET 0xffff0000
757#define IN_CLASSB_NSHIFT 16
758#define IN_CLASSC(i) (((u_int32_t)(i) & 0xe0000000) == 0xc0000000)
759#define IN_CLASSC_HOST 0x000000ff
760#define IN_CLASSC_NET 0xffffff00
761#define IN_CLASSC_NSHIFT 8
762#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
763#define IN_CLASSD_HOST 0x0fffffff
764#define IN_CLASSD_NET 0xf0000000
765#define IN_CLASSD_NSHIFT 28
766#define IN_EXPERIMENTAL(i) (((u_int32_t)(i) & 0xf0000000) == 0xf0000000)
767#define IN_LINKLOCAL(i) (((u_int32_t)(i) & IN_CLASSB_NET) == IN_LINKLOCALNETNUM)
768#define IN_LINKLOCALNETNUM (u_int32_t)0xA9FE0000
769#define IN_LOOPBACKNET 127
770#define IN_MULTICAST(i) IN_CLASSD(i)
771#define IOCBASECMD(x) ((x) & ~(IOCPARM_MASK << 16))
772#define IOCGROUP(x) (((x) >> 8) & 0xff)
773#define IOCPARM_LEN(x) (((x) >> 16) & IOCPARM_MASK)
774#define IOCPARM_MASK 0x1fff
775#define IOCPARM_MAX (IOCPARM_MASK + 1)
776#define IOC_DIRMASK (unsigned long)0xe0000000
777#define IOC_IN (unsigned long)0x80000000
778#define IOC_INOUT (IOC_IN|IOC_OUT)
779#define IOC_OUT (unsigned long)0x40000000
780#define IOC_SIZE(nr) (((nr) >> 16) & 0x3fff)
781#define IOC_VOID (unsigned long)0x20000000
782#define IOPOL_DEFAULT 0
783#define IOPOL_NORMAL 1
784#define IOPOL_PASSIVE 2
785#define IOPOL_SCOPE_PROCESS 0
786#define IOPOL_SCOPE_THREAD 1
787#define IOPOL_THROTTLE 3
788#define IOPOL_TYPE_DISK 0
789#define IOV_MAX 1024
790#define IPCTL_ACCEPTSOURCEROUTE 13
791#define IPCTL_DEFTTL 3
792#define IPCTL_DIRECTEDBROADCAST 9
793#define IPCTL_FASTFORWARDING 14
794#define IPCTL_FORWARDING 1
795#define IPCTL_GIF_TTL 16
796#define IPCTL_INTRQDROPS 11
797#define IPCTL_INTRQMAXLEN 10
798#define IPCTL_KEEPFAITH 15
799#define IPCTL_MAXID 17
800#define IPCTL_RTEXPIRE 5
801#define IPCTL_RTMAXCACHE 7
802#define IPCTL_RTMINEXPIRE 6
803#define IPCTL_SENDREDIRECTS 2
804#define IPCTL_SOURCEROUTE 8
805#define IPCTL_STATS 12
806#define IPPORT_HIFIRSTAUTO 49152
807#define IPPORT_HILASTAUTO 65535
808#define IPPORT_RESERVED __DARWIN_IPPORT_RESERVED
809#define IPPORT_RESERVEDSTART 600
810#define IPPORT_USERRESERVED 5000
811#define IPPROTO_3PC 34
812#define IPPROTO_ADFS 68
813#define IPPROTO_AH 51
814#define IPPROTO_AHIP 61
815#define IPPROTO_APES 99
816#define IPPROTO_ARGUS 13
817#define IPPROTO_AX25 93
818#define IPPROTO_BHA 49
819#define IPPROTO_BLT 30
820#define IPPROTO_BRSATMON 76
821#define IPPROTO_CFTP 62
822#define IPPROTO_CHAOS 16
823#define IPPROTO_CMTP 38
824#define IPPROTO_CPHB 73
825#define IPPROTO_CPNX 72
826#define IPPROTO_DDP 37
827#define IPPROTO_DGP 86
828#define IPPROTO_DIVERT 254
829#define IPPROTO_DONE 257
830#define IPPROTO_DSTOPTS 60
831#define IPPROTO_EGP 8
832#define IPPROTO_EMCON 14
833#define IPPROTO_ENCAP 98
834#define IPPROTO_EON 80
835#define IPPROTO_ESP 50
836#define IPPROTO_ETHERIP 97
837#define IPPROTO_FRAGMENT 44
838#define IPPROTO_GGP 3
839#define IPPROTO_GMTP 100
840#define IPPROTO_GRE 47
841#define IPPROTO_HELLO 63
842#define IPPROTO_HMP 20
843#define IPPROTO_HOPOPTS 0
844#define IPPROTO_ICMP 1
845#define IPPROTO_ICMPV6 58
846#define IPPROTO_IDP 22
847#define IPPROTO_IDPR 35
848#define IPPROTO_IDRP 45
849#define IPPROTO_IGMP 2
850#define IPPROTO_IGP 85
851#define IPPROTO_IGRP 88
852#define IPPROTO_IL 40
853#define IPPROTO_INLSP 52
854#define IPPROTO_INP 32
855#define IPPROTO_IP 0
856#define IPPROTO_IPCOMP 108
857#define IPPROTO_IPCV 71
858#define IPPROTO_IPEIP 94
859#define IPPROTO_IPIP IPPROTO_IPV4
860#define IPPROTO_IPPC 67
861#define IPPROTO_IPV4 4
862#define IPPROTO_IPV6 41
863#define IPPROTO_IRTP 28
864#define IPPROTO_KRYPTOLAN 65
865#define IPPROTO_LARP 91
866#define IPPROTO_LEAF1 25
867#define IPPROTO_LEAF2 26
868#define IPPROTO_MAX 256
869#define IPPROTO_MAXID (IPPROTO_AH + 1)
870#define IPPROTO_MEAS 19
871#define IPPROTO_MHRP 48
872#define IPPROTO_MICP 95
873#define IPPROTO_MTP 92
874#define IPPROTO_MUX 18
875#define IPPROTO_ND 77
876#define IPPROTO_NHRP 54
877#define IPPROTO_NONE 59
878#define IPPROTO_NSP 31
879#define IPPROTO_NVPII 11
880#define IPPROTO_OSPFIGP 89
881#define IPPROTO_PGM 113
882#define IPPROTO_PIGP 9
883#define IPPROTO_PIM 103
884#define IPPROTO_PRM 21
885#define IPPROTO_PUP 12
886#define IPPROTO_PVP 75
887#define IPPROTO_RAW 255
888#define IPPROTO_RCCMON 10
889#define IPPROTO_RDP 27
890#define IPPROTO_ROUTING 43
891#define IPPROTO_RSVP 46
892#define IPPROTO_RVD 66
893#define IPPROTO_SATEXPAK 64
894#define IPPROTO_SATMON 69
895#define IPPROTO_SCCSP 96
896#define IPPROTO_SDRP 42
897#define IPPROTO_SEP 33
898#define IPPROTO_SRPC 90
899#define IPPROTO_ST 7
900#define IPPROTO_SVMTP 82
901#define IPPROTO_SWIPE 53
902#define IPPROTO_TCF 87
903#define IPPROTO_TCP 6
904#define IPPROTO_TP 29
905#define IPPROTO_TPXX 39
906#define IPPROTO_TRUNK1 23
907#define IPPROTO_TRUNK2 24
908#define IPPROTO_TTP 84
909#define IPPROTO_UDP 17
910#define IPPROTO_VINES 83
911#define IPPROTO_VISA 70
912#define IPPROTO_VMTP 81
913#define IPPROTO_WBEXPAK 79
914#define IPPROTO_WBMON 78
915#define IPPROTO_WSN 74
916#define IPPROTO_XNET 15
917#define IPPROTO_XTP 36
918#define IPV6CTL_ACCEPT_RTADV 12
919#define IPV6CTL_AUTO_FLOWLABEL 17
920#define IPV6CTL_AUTO_LINKLOCAL 35
921#define IPV6CTL_DAD_COUNT 16
922#define IPV6CTL_DEFHLIM 3
923#define IPV6CTL_DEFMCASTHLIM 18
924#define IPV6CTL_FORWARDING 1
925#define IPV6CTL_FORWSRCRT 5
926#define IPV6CTL_GIF_HLIM 19
927#define IPV6CTL_HDRNESTLIMIT 15
928#define IPV6CTL_KAME_VERSION 20
929#define IPV6CTL_KEEPFAITH 13
930#define IPV6CTL_LOG_INTERVAL 14
931#define IPV6CTL_MAXFRAGPACKETS 9
932#define IPV6CTL_MAXFRAGS 41
933#define IPV6CTL_MAXID 42
934#define IPV6CTL_MRTPROTO 8
935#define IPV6CTL_MRTSTATS 7
936#define IPV6CTL_RIP6STATS 36
937#define IPV6CTL_RR_PRUNE 22
938#define IPV6CTL_RTEXPIRE 25
939#define IPV6CTL_RTMAXCACHE 27
940#define IPV6CTL_RTMINEXPIRE 26
941#define IPV6CTL_SENDREDIRECTS 2
942#define IPV6CTL_SOURCECHECK 10
943#define IPV6CTL_SOURCECHECK_LOGINT 11
944#define IPV6CTL_STATS 6
945#define IPV6CTL_TEMPPLTIME 33
946#define IPV6CTL_TEMPVLTIME 34
947#define IPV6CTL_USETEMPADDR 32
948#define IPV6CTL_USE_DEPRECATED 21
949#define IPV6CTL_V6ONLY 24
950#define IPV6PORT_ANONMAX 65535
951#define IPV6PORT_ANONMIN 49152
952#define IPV6PORT_RESERVED 1024
953#define IPV6PORT_RESERVEDMAX (IPV6PORT_RESERVED-1)
954#define IPV6PORT_RESERVEDMIN 600
955#define IPV6PROTO_MAXID (IPPROTO_PIM + 1)
956#define IPV6_BINDV6ONLY IPV6_V6ONLY
957#define IPV6_CHECKSUM 26
958#define IPV6_DEFAULT_MULTICAST_HOPS 1
959#define IPV6_DEFAULT_MULTICAST_LOOP 1
960#define IPV6_DSTOPTS 23
961#define IPV6_FAITH 29
962#define IPV6_FW_ADD 30
963#define IPV6_FW_DEL 31
964#define IPV6_FW_FLUSH 32
965#define IPV6_FW_GET 34
966#define IPV6_FW_ZERO 33
967#define IPV6_HOPLIMIT 20
968#define IPV6_HOPOPTS 22
969#define IPV6_IPSEC_POLICY 28
970#define IPV6_JOIN_GROUP 12
971#define IPV6_LEAVE_GROUP 13
972#define IPV6_MULTICAST_HOPS 10
973#define IPV6_MULTICAST_IF 9
974#define IPV6_MULTICAST_LOOP 11
975#define IPV6_NEXTHOP 21
976#define IPV6_PKTINFO 19
977#define IPV6_PKTOPTIONS 25
978#define IPV6_PORTRANGE 14
979#define IPV6_PORTRANGE_DEFAULT 0
980#define IPV6_PORTRANGE_HIGH 1
981#define IPV6_PORTRANGE_LOW 2
982#define IPV6_RTHDR 24
983#define IPV6_RTHDR_LOOSE 0
984#define IPV6_RTHDR_STRICT 1
985#define IPV6_RTHDR_TYPE_0 0
986#define IPV6_SOCKOPT_RESERVED1 3
987#define IPV6_UNICAST_HOPS 4
988#define IPV6_V6ONLY 27
989#define IP_ADD_MEMBERSHIP 12
990#define IP_DEFAULT_MULTICAST_LOOP 1
991#define IP_DEFAULT_MULTICAST_TTL 1
992#define IP_DROP_MEMBERSHIP 13
993#define IP_DUMMYNET_CONFIGURE 60
994#define IP_DUMMYNET_DEL 61
995#define IP_DUMMYNET_FLUSH 62
996#define IP_DUMMYNET_GET 64
997#define IP_FAITH 22
998#define IP_FW_ADD 40
999#define IP_FW_DEL 41
1000#define IP_FW_FLUSH 42
1001#define IP_FW_GET 44
1002#define IP_FW_RESETLOG 45
1003#define IP_FW_ZERO 43
1004#define IP_HDRINCL 2
1005#define IP_IPSEC_POLICY 21
1006#define IP_MAX_MEMBERSHIPS 20
1007#define IP_MULTICAST_IF 9
1008#define IP_MULTICAST_LOOP 11
1009#define IP_MULTICAST_TTL 10
1010#define IP_MULTICAST_VIF 14
1011#define IP_NAT__XXX 55
1012#define IP_OLD_FW_ADD 50
1013#define IP_OLD_FW_DEL 51
1014#define IP_OLD_FW_FLUSH 52
1015#define IP_OLD_FW_GET 54
1016#define IP_OLD_FW_RESETLOG 56
1017#define IP_OLD_FW_ZERO 53
1018#define IP_OPTIONS 1
1019#define IP_PORTRANGE 19
1020#define IP_PORTRANGE_DEFAULT 0
1021#define IP_PORTRANGE_HIGH 1
1022#define IP_PORTRANGE_LOW 2
1023#define IP_RECVDSTADDR 7
1024#define IP_RECVIF 20
1025#define IP_RECVOPTS 5
1026#define IP_RECVRETOPTS 6
1027#define IP_RECVTTL 24
1028#define IP_RETOPTS 8
1029#define IP_RSVP_OFF 16
1030#define IP_RSVP_ON 15
1031#define IP_RSVP_VIF_OFF 18
1032#define IP_RSVP_VIF_ON 17
1033#define IP_STRIPHDR 23
1034#define IP_TOS 3
1035#define IP_TRAFFIC_MGT_BACKGROUND 65
1036#define IP_TTL 4
1037#define ISIG 0x00000080
1038#define ISTRIP 0x00000020
1039#define IS_VALID_CRED(_cr) ((_cr) != NOCRED && (_cr) != FSCRED)
1040#define ITIMER_PROF 2
1041#define ITIMER_REAL 0
1042#define ITIMER_VIRTUAL 1
1043#define IUTF8 0x00004000
1044#define IXANY 0x00000800
1045#define IXOFF 0x00000400
1046#define IXON 0x00000200
1047#define KEV_DL_ADDMULTI 7
1048#define KEV_DL_DELMULTI 8
1049#define KEV_DL_IF_ATTACHED 9
1050#define KEV_DL_IF_DETACHED 11
1051#define KEV_DL_IF_DETACHING 10
1052#define KEV_DL_LINK_ADDRESS_CHANGED 16
1053#define KEV_DL_LINK_OFF 12
1054#define KEV_DL_LINK_ON 13
1055#define KEV_DL_PROTO_ATTACHED 14
1056#define KEV_DL_PROTO_DETACHED 15
1057#define KEV_DL_SIFFLAGS 1
1058#define KEV_DL_SIFGENERIC 6
1059#define KEV_DL_SIFMEDIA 5
1060#define KEV_DL_SIFMETRICS 2
1061#define KEV_DL_SIFMTU 3
1062#define KEV_DL_SIFPHYS 4
1063#define KEV_DL_SUBCLASS 2
1064#define LIKELY(x) __builtin_expect(!!(x), 1)
1065#define LINE_MAX 2048
1066#define LINK_MAX 32767
1067#define LIST_EMPTY(head) ((head)->lh_first == NULL)
1068#define LIST_ENTRY(type) struct { struct type *le_next; struct type **le_prev; }
1069#define LIST_FIRST(head) ((head)->lh_first)
1070#define LIST_FOREACH(var,head,field) for ((var) = LIST_FIRST((head)); (var); (var) = LIST_NEXT((var), field))
1071#define LIST_FOREACH_SAFE(var,head,field,tvar) for ((var) = LIST_FIRST((head)); (var) && ((tvar) = LIST_NEXT((var), field), 1); (var) = (tvar))
1072#define LIST_HEAD(name,type) struct name { struct type *lh_first; }
1073#define LIST_HEAD_INITIALIZER(head) { NULL }
1074#define LIST_INIT(head) do { LIST_FIRST((head)) = NULL; } while (0)
1075#define LIST_INSERT_AFTER(listelm,elm,field) do { QMD_LIST_CHECK_NEXT(listelm, field); if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL) LIST_NEXT((listelm), field)->field.le_prev = &LIST_NEXT((elm), field); LIST_NEXT((listelm), field) = (elm); (elm)->field.le_prev = &LIST_NEXT((listelm), field); } while (0)
1076#define LIST_INSERT_BEFORE(listelm,elm,field) do { QMD_LIST_CHECK_PREV(listelm, field); (elm)->field.le_prev = (listelm)->field.le_prev; LIST_NEXT((elm), field) = (listelm); *(listelm)->field.le_prev = (elm); (listelm)->field.le_prev = &LIST_NEXT((elm), field); } while (0)
1077#define LIST_INSERT_HEAD(head,elm,field) do { QMD_LIST_CHECK_HEAD((head), field); if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field); LIST_FIRST((head)) = (elm); (elm)->field.le_prev = &LIST_FIRST((head)); } while (0)
1078#define LIST_NEXT(elm,field) ((elm)->field.le_next)
1079#define LIST_REMOVE(elm,field) do { QMD_LIST_CHECK_NEXT(elm, field); QMD_LIST_CHECK_PREV(elm, field); if (LIST_NEXT((elm), field) != NULL) LIST_NEXT((elm), field)->field.le_prev = (elm)->field.le_prev; *(elm)->field.le_prev = LIST_NEXT((elm), field); TRASHIT((elm)->field.le_next); TRASHIT((elm)->field.le_prev); } while (0)
1080#define LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN
1081#define LLONG_MAX 0x7fffffffffffffffLL
1082#define LLONG_MIN (-0x7fffffffffffffffLL-1)
1083#define LONG_BIT 32
1084#define LONG_LONG_MAX __LONG_LONG_MAX__
1085#define LONG_LONG_MIN (-__LONG_LONG_MAX__-1LL)
1086#define LONG_MAX __LONG_MAX__
1087#define LONG_MIN (-__LONG_MAX__ -1L)
1088#define L_ctermid 1024
1089#define L_tmpnam 1024
1090#define MAX(a,b) (((a)>(b))?(a):(b))
1091#define MAXALLOCSAVE (2 * CLBYTES)
1092#define MAXBSIZE (256 * 4096)
1093#define MAXCOMLEN 16
1094#define MAXDOMNAMELEN 256
1095#define MAXFRAG 8
1096#define MAXHOSTNAMELEN 256
1097#define MAXINTERP 64
1098#define MAXLOGNAME 255
1099#define MAXNAMLEN __DARWIN_MAXNAMLEN
1100#define MAXPATHLEN PATH_MAX
1101#define MAXPHYS (128 * 1024)
1102#define MAXPHYSIO MAXPHYS
1103#define MAXPHYSIO_WIRED (16 * 1024 * 1024)
1104#define MAXPRI 127
1105#define MAXSYMLINKS 32
1106#define MAXUPRC CHILD_MAX
1107#define MAX_AUDIT_RECORDS 20
1108#define MAX_AUDIT_RECORD_SIZE 4096
1109#define MAX_CANON 1024
1110#define MAX_INPUT 1024
1111#define MB_LEN_MAX 6
1112#define MCLBYTES 2048
1113#define MCLOFSET (MCLBYTES - 1)
1114#define MCLSHIFT 11
1115#define MDMBUF 0x00100000
1116#define MFSNAMELEN 15
1117#define MFSTYPENAMELEN 16
1118#define MIN(a,b) (((a)<(b))?(a):(b))
1119#define MINBUCKET 4
1120#define MINSIGSTKSZ 32768
1121#define MIN_AUDIT_FILE_SIZE 512 * 1024
1122#define MNAMELEN 90
1123#define MNT_ASYNC 0x00000040
1124#define MNT_AUTOMOUNTED 0x00400000
1125#define MNT_CMDFLAGS (MNT_UPDATE|MNT_RELOAD|MNT_FORCE)
1126#define MNT_DEFWRITE 0x02000000
1127#define MNT_DONTBROWSE 0x00100000
1128#define MNT_DOVOLFS 0x00008000
1129#define MNT_EXPORTED 0x00000100
1130#define MNT_FORCE 0x00080000
1131#define MNT_IGNORE_OWNERSHIP 0x00200000
1132#define MNT_JOURNALED 0x00800000
1133#define MNT_LOCAL 0x00001000
1134#define MNT_MULTILABEL 0x04000000
1135#define MNT_NOATIME 0x10000000
1136#define MNT_NODEV 0x00000010
1137#define MNT_NOEXEC 0x00000004
1138#define MNT_NOSUID 0x00000008
1139#define MNT_NOUSERXATTR 0x01000000
1140#define MNT_NOWAIT 2
1141#define MNT_QUARANTINE 0x00000400
1142#define MNT_QUOTA 0x00002000
1143#define MNT_RDONLY 0x00000001
1144#define MNT_RELOAD 0x00040000
1145#define MNT_ROOTFS 0x00004000
1146#define MNT_SYNCHRONOUS 0x00000002
1147#define MNT_UNION 0x00000020
1148#define MNT_UNKNOWNPERMISSIONS MNT_IGNORE_OWNERSHIP
1149#define MNT_UPDATE 0x00010000
1150#define MNT_VISFLAGMASK (MNT_RDONLY | MNT_SYNCHRONOUS | MNT_NOEXEC | MNT_NOSUID | MNT_NODEV | MNT_UNION | MNT_ASYNC | MNT_EXPORTED | MNT_QUARANTINE | MNT_LOCAL | MNT_QUOTA | MNT_ROOTFS | MNT_DOVOLFS | MNT_DONTBROWSE | MNT_IGNORE_OWNERSHIP | MNT_AUTOMOUNTED | MNT_JOURNALED | MNT_NOUSERXATTR | MNT_DEFWRITE | MNT_MULTILABEL | MNT_NOATIME)
1151#define MNT_WAIT 1
1152#define MSG_CTRUNC 0x20
1153#define MSG_DONTROUTE 0x4
1154#define MSG_DONTWAIT 0x80
1155#define MSG_EOF 0x100
1156#define MSG_EOR 0x8
1157#define MSG_FLUSH 0x400
1158#define MSG_HAVEMORE 0x2000
1159#define MSG_HOLD 0x800
1160#define MSG_NEEDSA 0x10000
1161#define MSG_OOB 0x1
1162#define MSG_PEEK 0x2
1163#define MSG_RCVMORE 0x4000
1164#define MSG_SEND 0x1000
1165#define MSG_TRUNC 0x10
1166#define MSG_WAITALL 0x40
1167#define MSG_WAITSTREAM 0x200
1168#define MSIZE 256
1169#define NAME_MAX 255
1170#define NBBY __DARWIN_NBBY
1171#define NBPG 4096
1172#define NBPW sizeof(int)
1173#define NCARGS ARG_MAX
1174#define NCCS 20
1175#define NETDB_INTERNAL -1
1176#define NETDB_SUCCESS 0
1177#define NET_MAXID AF_MAX
1178#define NET_RT_DUMP 1
1179#define NET_RT_DUMP2 7
1180#define NET_RT_FLAGS 2
1181#define NET_RT_IFLIST 3
1182#define NET_RT_IFLIST2 6
1183#define NET_RT_MAXID 8
1184#define NET_RT_STAT 4
1185#define NET_RT_TRASH 5
1186#define NFDBITS __DARWIN_NFDBITS
1187#define NFSV2_MAX_FH_SIZE 32
1188#define NFSV3_MAX_FH_SIZE 64
1189#define NFSV4_MAX_FH_SIZE 128
1190#define NFS_MAX_FH_SIZE NFSV4_MAX_FH_SIZE
1191#define NGROUPS NGROUPS_MAX
1192#define NGROUPS_MAX 16
1193#define NI_DGRAM 0x00000010
1194#define NI_MAXHOST 1025
1195#define NI_MAXSERV 32
1196#define NI_NAMEREQD 0x00000004
1197#define NI_NOFQDN 0x00000001
1198#define NI_NUMERICHOST 0x00000002
1199#define NI_NUMERICSERV 0x00000008
1200#define NI_WITHSCOPEID 0x00000020
1201#define NL0 0x00000000
1202#define NL1 0x00000100
1203#define NL2 0x00000200
1204#define NL3 0x00000300
1205#define NLDLY 0x00000300
1206#define NL_ARGMAX 9
1207#define NL_LANGMAX 14
1208#define NL_MSGMAX 32767
1209#define NL_NMAX 1
1210#define NL_SETMAX 255
1211#define NL_TEXTMAX 2048
1212#define NMBCLUSTERS ((1024 * 512) / MCLBYTES)
1213#define NOCRED ((kauth_cred_t )0)
1214#define NODEV (dev_t)(-1)
1215#define NOFILE 256
1216#define NOFLSH 0x80000000
1217#define NOGROUP 65535
1218#define NOINLINE __attribute__((noinline))
1219#define NOKERNINFO 0x02000000
1220#define NORETURN __attribute__((noreturn))
1221#define NOTHROW throw()
1222#define NO_ADDRESS NO_DATA
1223#define NO_DATA 4
1224#define NO_RECOVERY 3
1225#define NSIG __DARWIN_NSIG
1226#define NTOHL(x) (x) = ntohl((__uint32_t)x)
1227#define NTOHS(x) (x) = ntohs((__uint16_t)x)
1228#define NULL __null
1229#define NZERO 20
1230#define NeXTBSD 1995064
1231#define NeXTBSD4_0 0
1232#define OBJC_NEW_PROPERTIES 1
1233#define OCRNL 0x00000010
1234#define OFDEL 0x00020000
1235#define OFILL 0x00000080
1236#define ONLCR 0x00000002
1237#define ONLRET 0x00000040
1238#define ONOCR 0x00000020
1239#define ONOEOT 0x00000008
1240#define OPEN_MAX 10240
1241#define OPOST 0x00000001
1242#define OXTABS 0x00000004
1243#define PARENB 0x00001000
1244#define PARMRK 0x00000008
1245#define PARODD 0x00002000
1246#define PASS_MAX 128
1247#define PATH_MAX 1024
1248#define PCATCH 0x100
1249#define PDP_ENDIAN __DARWIN_PDP_ENDIAN
1250#define PDROP 0x400
1251#define PENDIN 0x20000000
1252#define PF_APPLETALK AF_APPLETALK
1253#define PF_BOND ((uint32_t)0x626f6e64)
1254#define PF_CCITT AF_CCITT
1255#define PF_CHAOS AF_CHAOS
1256#define PF_CNT AF_CNT
1257#define PF_COIP AF_COIP
1258#define PF_DATAKIT AF_DATAKIT
1259#define PF_DECnet AF_DECnet
1260#define PF_DLI AF_DLI
1261#define PF_ECMA AF_ECMA
1262#define PF_HYLINK AF_HYLINK
1263#define PF_IMPLINK AF_IMPLINK
1264#define PF_INET AF_INET
1265#define PF_INET6 AF_INET6
1266#define PF_IPX AF_IPX
1267#define PF_ISDN AF_ISDN
1268#define PF_ISO AF_ISO
1269#define PF_KEY pseudo_AF_KEY
1270#define PF_LAT AF_LAT
1271#define PF_LINK AF_LINK
1272#define PF_LOCAL AF_LOCAL
1273#define PF_MAX AF_MAX
1274#define PF_NATM AF_NATM
1275#define PF_NDRV AF_NDRV
1276#define PF_NETBIOS AF_NETBIOS
1277#define PF_NS AF_NS
1278#define PF_OSI AF_ISO
1279#define PF_PIP pseudo_AF_PIP
1280#define PF_PPP AF_PPP
1281#define PF_PUP AF_PUP
1282#define PF_RESERVED_36 AF_RESERVED_36
1283#define PF_ROUTE AF_ROUTE
1284#define PF_RTIP pseudo_AF_RTIP
1285#define PF_SIP AF_SIP
1286#define PF_SNA AF_SNA
1287#define PF_SYSTEM AF_SYSTEM
1288#define PF_UNIX PF_LOCAL
1289#define PF_UNSPEC AF_UNSPEC
1290#define PF_VLAN ((uint32_t)0x766c616e)
1291#define PF_XTP pseudo_AF_XTP
1292#define PGOFSET (NBPG-1)
1293#define PGSHIFT 12
1294#define PINOD 8
1295#define PIPE_BUF 512
1296#define PLOCK 36
1297#define POLLATTRIB 0x0400
1298#define POLLERR 0x0008
1299#define POLLEXTEND 0x0200
1300#define POLLHUP 0x0010
1301#define POLLIN 0x0001
1302#define POLLNLINK 0x0800
1303#define POLLNVAL 0x0020
1304#define POLLOUT 0x0004
1305#define POLLPRI 0x0002
1306#define POLLRDBAND 0x0080
1307#define POLLRDNORM 0x0040
1308#define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND| POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
1309#define POLLWRBAND 0x0100
1310#define POLLWRITE 0x1000
1311#define POLLWRNORM POLLOUT
1312#define POLL_ERR 4
1313#define POLL_HUP 6
1314#define POLL_IN 1
1315#define POLL_MSG 3
1316#define POLL_OUT 2
1317#define POLL_PRI 5
1318#define PPAUSE 40
1319#define PPPDISC 5
1320#define PREFETCH(x) __asm__("prefetchnta (%0)" : : "r" (x))
1321#define PRIBIO 16
1322#define PRIMASK 0x0ff
1323#define PRIO_DARWIN_BG 0x1000
1324#define PRIO_DARWIN_THREAD 3
1325#define PRIO_MAX 20
1326#define PRIO_MIN -20
1327#define PRIO_PGRP 1
1328#define PRIO_PROCESS 0
1329#define PRIO_USER 2
1330#define PSOCK 24
1331#define PSWP 0
1332#define PTHREAD_CANCELED ((void *) 1)
1333#define PTHREAD_CANCEL_ASYNCHRONOUS 0x00
1334#define PTHREAD_CANCEL_DEFERRED 0x02
1335#define PTHREAD_CANCEL_DISABLE 0x00
1336#define PTHREAD_CANCEL_ENABLE 0x01
1337#define PTHREAD_COND_INITIALIZER {_PTHREAD_COND_SIG_init, {0}}
1338#define PTHREAD_CREATE_DETACHED 2
1339#define PTHREAD_CREATE_JOINABLE 1
1340#define PTHREAD_DESTRUCTOR_ITERATIONS 4
1341#define PTHREAD_EXPLICIT_SCHED 2
1342#define PTHREAD_INHERIT_SCHED 1
1343#define PTHREAD_KEYS_MAX 512
1344#define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL
1345#define PTHREAD_MUTEX_ERRORCHECK 1
1346#define PTHREAD_MUTEX_INITIALIZER {_PTHREAD_MUTEX_SIG_init, {0}}
1347#define PTHREAD_MUTEX_NORMAL 0
1348#define PTHREAD_MUTEX_RECURSIVE 2
1349#define PTHREAD_ONCE_INIT {_PTHREAD_ONCE_SIG_init, {0}}
1350#define PTHREAD_PRIO_INHERIT 1
1351#define PTHREAD_PRIO_NONE 0
1352#define PTHREAD_PRIO_PROTECT 2
1353#define PTHREAD_PROCESS_PRIVATE 2
1354#define PTHREAD_PROCESS_SHARED 1
1355#define PTHREAD_RWLOCK_INITIALIZER {_PTHREAD_RWLOCK_SIG_init, {0}}
1356#define PTHREAD_SCOPE_PROCESS 2
1357#define PTHREAD_SCOPE_SYSTEM 1
1358#define PTHREAD_STACK_MIN 8192
1359#define PTRDIFF_MAX INT32_MAX
1360#define PTRDIFF_MIN INT32_MIN
1361#define PTTYBLOCK 0x200
1362#define PUSER 50
1363#define PVFS 20
1364#define PVM 4
1365#define PWAIT 32
1366#define PZERO 22
1367#define P_tmpdir "/var/tmp/"
1368#define QMD_LIST_CHECK_HEAD(head,field)
1369#define QMD_LIST_CHECK_NEXT(elm,field)
1370#define QMD_LIST_CHECK_PREV(elm,field)
1371#define QMD_TRACE_ELEM(elem)
1372#define QMD_TRACE_HEAD(head)
1373#define QUAD_MAX LLONG_MAX
1374#define QUAD_MIN LLONG_MIN
1375#define RAW_CHECK(expr) RAW_CHECK_MSG(expr, #expr)
1376#define RAW_CHECK_MSG(expr,msg) do { if (!(expr)) { RawWrite(msg); Die(); } } while (0)
1377#define RE_DUP_MAX 255
1378#define RLIMIT_AS 5
1379#define RLIMIT_CORE 4
1380#define RLIMIT_CPU 0
1381#define RLIMIT_DATA 2
1382#define RLIMIT_FSIZE 1
1383#define RLIMIT_MEMLOCK 6
1384#define RLIMIT_NOFILE 8
1385#define RLIMIT_NPROC 7
1386#define RLIMIT_RSS RLIMIT_AS
1387#define RLIMIT_STACK 3
1388#define RLIM_INFINITY (((__uint64_t)1 << 63) - 1)
1389#define RLIM_NLIMITS 9
1390#define RLIM_SAVED_CUR RLIM_INFINITY
1391#define RLIM_SAVED_MAX RLIM_INFINITY
1392#define RTAX_AUTHOR 6
1393#define RTAX_BRD 7
1394#define RTAX_DST 0
1395#define RTAX_GATEWAY 1
1396#define RTAX_GENMASK 3
1397#define RTAX_IFA 5
1398#define RTAX_IFP 4
1399#define RTAX_MAX 8
1400#define RTAX_NETMASK 2
1401#define RTA_AUTHOR 0x40
1402#define RTA_BRD 0x80
1403#define RTA_DST 0x1
1404#define RTA_GATEWAY 0x2
1405#define RTA_GENMASK 0x8
1406#define RTA_IFA 0x20
1407#define RTA_IFP 0x10
1408#define RTA_NETMASK 0x4
1409#define RTF_BLACKHOLE 0x1000
1410#define RTF_BROADCAST 0x400000
1411#define RTF_CLONING 0x100
1412#define RTF_DELCLONE 0x80
1413#define RTF_DONE 0x40
1414#define RTF_DYNAMIC 0x10
1415#define RTF_GATEWAY 0x2
1416#define RTF_HOST 0x4
1417#define RTF_LLINFO 0x400
1418#define RTF_LOCAL 0x200000
1419#define RTF_MODIFIED 0x20
1420#define RTF_MULTICAST 0x800000
1421#define RTF_PINNED 0x100000
1422#define RTF_PRCLONING 0x10000
1423#define RTF_PROTO1 0x8000
1424#define RTF_PROTO2 0x4000
1425#define RTF_PROTO3 0x40000
1426#define RTF_REJECT 0x8
1427#define RTF_STATIC 0x800
1428#define RTF_TRACKREFS 0x1000000
1429#define RTF_UP 0x1
1430#define RTF_WASCLONED 0x20000
1431#define RTF_XRESOLVE 0x200
1432#define RTM_ADD 0x1
1433#define RTM_CHANGE 0x3
1434#define RTM_DELADDR 0xd
1435#define RTM_DELETE 0x2
1436#define RTM_DELMADDR 0x10
1437#define RTM_GET 0x4
1438#define RTM_GET2 0x14
1439#define RTM_IFINFO 0xe
1440#define RTM_IFINFO2 0x12
1441#define RTM_LOCK 0x8
1442#define RTM_LOSING 0x5
1443#define RTM_MISS 0x7
1444#define RTM_NEWADDR 0xc
1445#define RTM_NEWMADDR 0xf
1446#define RTM_NEWMADDR2 0x13
1447#define RTM_OLDADD 0x9
1448#define RTM_OLDDEL 0xa
1449#define RTM_REDIRECT 0x6
1450#define RTM_RESOLVE 0xb
1451#define RTM_RTTUNIT 1000000
1452#define RTM_VERSION 5
1453#define RTV_EXPIRE 0x4
1454#define RTV_HOPCOUNT 0x2
1455#define RTV_MTU 0x1
1456#define RTV_RPIPE 0x8
1457#define RTV_RTT 0x40
1458#define RTV_RTTVAR 0x80
1459#define RTV_SPIPE 0x10
1460#define RTV_SSTHRESH 0x20
1461#define RUSAGE_CHILDREN -1
1462#define RUSAGE_SELF 0
1463#define SANITIZER_ANDROID 0
1464#define SANITIZER_DEFS_H
1465#define SANITIZER_INTERFACE_ATTRIBUTE __attribute__((visibility("default")))
1466#define SANITIZER_IOS 0
1467#define SANITIZER_LINUX 0
1468#define SANITIZER_MAC 1
1469#define SANITIZER_PLATFORM_H
1470#define SANITIZER_PLATFORM_LIMITS_POSIX_H
1471#define SANITIZER_POSIX (SANITIZER_LINUX || SANITIZER_MAC)
1472#define SANITIZER_SUPPORTS_WEAK_HOOKS 0
1473#define SANITIZER_WEAK_ATTRIBUTE __attribute__((weak))
1474#define SANITIZER_WINDOWS 0
1475#define SANITIZER_WORDSIZE 32
1476#define SA_64REGSET 0x0200
1477#define SA_NOCLDSTOP 0x0008
1478#define SA_NOCLDWAIT 0x0020
1479#define SA_NODEFER 0x0010
1480#define SA_ONSTACK 0x0001
1481#define SA_RESETHAND 0x0004
1482#define SA_RESTART 0x0002
1483#define SA_SIGINFO 0x0040
1484#define SA_USERSPACE_MASK (SA_ONSTACK | SA_RESTART | SA_RESETHAND | SA_NOCLDSTOP | SA_NODEFER | SA_NOCLDWAIT | SA_SIGINFO)
1485#define SA_USERTRAMP 0x0100
1486#define SCHAR_MAX __SCHAR_MAX__
1487#define SCHAR_MIN (-__SCHAR_MAX__-1)
1488#define SCHED_FIFO 4
1489#define SCHED_OTHER 1
1490#define SCHED_RR 2
1491#define SCM_CREDS 0x03
1492#define SCM_RIGHTS 0x01
1493#define SCM_TIMESTAMP 0x02
1494#define SCOPE_DELIMITER '%'
1495#define SEARCHFS_MAX_SEARCHPARMS 4096
1496#define SEEK_CUR 1
1497#define SEEK_END 2
1498#define SEEK_SET 0
1499#define SEGV_ACCERR 2
1500#define SEGV_MAPERR 1
1501#define SEGV_NOOP 0
1502#define SF_APPEND 0x00040000
1503#define SF_ARCHIVED 0x00010000
1504#define SF_IMMUTABLE 0x00020000
1505#define SF_SETTABLE 0xffff0000
1506#define SHRT_MAX __SHRT_MAX__
1507#define SHRT_MIN (-__SHRT_MAX__ -1)
1508#define SHUT_RD 0
1509#define SHUT_RDWR 2
1510#define SHUT_WR 1
1511#define SIGABRT 6
1512#define SIGALRM 14
1513#define SIGBUS 10
1514#define SIGCHLD 20
1515#define SIGCONT 19
1516#define SIGEMT 7
1517#define SIGEV_NONE 0
1518#define SIGEV_SIGNAL 1
1519#define SIGEV_THREAD 3
1520#define SIGFPE 8
1521#define SIGHUP 1
1522#define SIGILL 4
1523#define SIGINFO 29
1524#define SIGINT 2
1525#define SIGIO 23
1526#define SIGIOT SIGABRT
1527#define SIGKILL 9
1528#define SIGPIPE 13
1529#define SIGPROF 27
1530#define SIGQUIT 3
1531#define SIGSEGV 11
1532#define SIGSTKSZ 131072
1533#define SIGSTOP 17
1534#define SIGSYS 12
1535#define SIGTERM 15
1536#define SIGTRAP 5
1537#define SIGTSTP 18
1538#define SIGTTIN 21
1539#define SIGTTOU 22
1540#define SIGURG 16
1541#define SIGUSR1 30
1542#define SIGUSR2 31
1543#define SIGVTALRM 26
1544#define SIGWINCH 28
1545#define SIGXCPU 24
1546#define SIGXFSZ 25
1547#define SIG_ATOMIC_MAX INT32_MAX
1548#define SIG_ATOMIC_MIN INT32_MIN
1549#define SIG_BLOCK 1
1550#define SIG_DFL (void (*)(int))0
1551#define SIG_ERR ((void (*)(int))-1)
1552#define SIG_HOLD (void (*)(int))5
1553#define SIG_IGN (void (*)(int))1
1554#define SIG_SETMASK 3
1555#define SIG_UNBLOCK 2
1556#define SIN6_LEN
1557#define SIOCADDMULTI _IOW('i', 49, struct ifreq)
1558#define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq)
1559#define SIOCALIFADDR _IOW('i', 29, struct if_laddrreq)
1560#define SIOCARPIPLL _IOWR('i', 40, struct ifreq)
1561#define SIOCATMARK _IOR('s', 7, int)
1562#define SIOCAUTOADDR _IOWR('i', 38, struct ifreq)
1563#define SIOCAUTONETMASK _IOW('i', 39, struct ifreq)
1564#define SIOCDELMULTI _IOW('i', 50, struct ifreq)
1565#define SIOCDIFADDR _IOW('i', 25, struct ifreq)
1566#define SIOCDIFPHYADDR _IOW('i', 65, struct ifreq)
1567#define SIOCDLIFADDR _IOW('i', 31, struct if_laddrreq)
1568#define SIOCGETSGCNT _IOWR('r', 28, struct sioc_sg_req)
1569#define SIOCGETVIFCNT _IOWR('r', 27, struct sioc_vif_req)
1570#define SIOCGETVLAN SIOCGIFVLAN
1571#define SIOCGHIWAT _IOR('s', 1, int)
1572#define SIOCGIFADDR _IOWR('i', 33, struct ifreq)
1573#define SIOCGIFALTMTU _IOWR('i', 72, struct ifreq)
1574#define SIOCGIFASYNCMAP _IOWR('i', 124, struct ifreq)
1575#define SIOCGIFBOND _IOWR('i', 71, struct ifreq)
1576#define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq)
1577#define SIOCGIFCONF _IOWR('i', 36, struct ifconf)
1578#define SIOCGIFDEVMTU _IOWR('i', 68, struct ifreq)
1579#define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq)
1580#define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq)
1581#define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq)
1582#define SIOCGIFKPI _IOWR('i', 135, struct ifreq)
1583#define SIOCGIFMAC _IOWR('i', 130, struct ifreq)
1584#define SIOCGIFMEDIA _IOWR('i', 56, struct ifmediareq)
1585#define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq)
1586#define SIOCGIFMTU _IOWR('i', 51, struct ifreq)
1587#define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq)
1588#define SIOCGIFPDSTADDR _IOWR('i', 64, struct ifreq)
1589#define SIOCGIFPHYS _IOWR('i', 53, struct ifreq)
1590#define SIOCGIFPSRCADDR _IOWR('i', 63, struct ifreq)
1591#define SIOCGIFSTATUS _IOWR('i', 61, struct ifstat)
1592#define SIOCGIFVLAN _IOWR('i', 127, struct ifreq)
1593#define SIOCGLIFADDR _IOWR('i', 30, struct if_laddrreq)
1594#define SIOCGLIFPHYADDR _IOWR('i', 67, struct if_laddrreq)
1595#define SIOCGLOWAT _IOR('s', 3, int)
1596#define SIOCGPGRP _IOR('s', 9, int)
1597#define SIOCIFCREATE _IOWR('i', 120, struct ifreq)
1598#define SIOCIFDESTROY _IOW('i', 121, struct ifreq)
1599#define SIOCRSLVMULTI _IOWR('i', 59, struct rslvmulti_req)
1600#define SIOCSETVLAN SIOCSIFVLAN
1601#define SIOCSHIWAT _IOW('s', 0, int)
1602#define SIOCSIFADDR _IOW('i', 12, struct ifreq)
1603#define SIOCSIFALTMTU _IOW('i', 69, struct ifreq)
1604#define SIOCSIFASYNCMAP _IOW('i', 125, struct ifreq)
1605#define SIOCSIFBOND _IOW('i', 70, struct ifreq)
1606#define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq)
1607#define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq)
1608#define SIOCSIFFLAGS _IOW('i', 16, struct ifreq)
1609#define SIOCSIFGENERIC _IOW('i', 57, struct ifreq)
1610#define SIOCSIFKPI _IOW('i', 134, struct ifreq)
1611#define SIOCSIFLLADDR _IOW('i', 60, struct ifreq)
1612#define SIOCSIFMAC _IOW('i', 131, struct ifreq)
1613#define SIOCSIFMEDIA _IOWR('i', 55, struct ifreq)
1614#define SIOCSIFMETRIC _IOW('i', 24, struct ifreq)
1615#define SIOCSIFMTU _IOW('i', 52, struct ifreq)
1616#define SIOCSIFNETMASK _IOW('i', 22, struct ifreq)
1617#define SIOCSIFPHYADDR _IOW('i', 62, struct ifaliasreq)
1618#define SIOCSIFPHYS _IOW('i', 54, struct ifreq)
1619#define SIOCSIFVLAN _IOW('i', 126, struct ifreq)
1620#define SIOCSLIFPHYADDR _IOW('i', 66, struct if_laddrreq)
1621#define SIOCSLOWAT _IOW('s', 2, int)
1622#define SIOCSPGRP _IOW('s', 8, int)
1623#define SIZE_MAX UINT32_MAX
1624#define SIZE_T_MAX ULONG_MAX
1625#define SI_ASYNCIO 0x10004
1626#define SI_MESGQ 0x10005
1627#define SI_QUEUE 0x10002
1628#define SI_TIMER 0x10003
1629#define SI_USER 0x10001
1630#define SLIPDISC 4
1631#define SLIST_EMPTY(head) ((head)->slh_first == NULL)
1632#define SLIST_ENTRY(type) struct { struct type *sle_next; }
1633#define SLIST_FIRST(head) ((head)->slh_first)
1634#define SLIST_FOREACH(var,head,field) for ((var) = SLIST_FIRST((head)); (var); (var) = SLIST_NEXT((var), field))
1635#define SLIST_FOREACH_PREVPTR(var,varp,head,field) for ((varp) = &SLIST_FIRST((head)); ((var) = *(varp)) != NULL; (varp) = &SLIST_NEXT((var), field))
1636#define SLIST_FOREACH_SAFE(var,head,field,tvar) for ((var) = SLIST_FIRST((head)); (var) && ((tvar) = SLIST_NEXT((var), field), 1); (var) = (tvar))
1637#define SLIST_HEAD(name,type) struct name { struct type *slh_first; }
1638#define SLIST_HEAD_INITIALIZER(head) { NULL }
1639#define SLIST_INIT(head) do { SLIST_FIRST((head)) = NULL; } while (0)
1640#define SLIST_INSERT_AFTER(slistelm,elm,field) do { SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); SLIST_NEXT((slistelm), field) = (elm); } while (0)
1641#define SLIST_INSERT_HEAD(head,elm,field) do { SLIST_NEXT((elm), field) = SLIST_FIRST((head)); SLIST_FIRST((head)) = (elm); } while (0)
1642#define SLIST_NEXT(elm,field) ((elm)->field.sle_next)
1643#define SLIST_REMOVE(head,elm,type,field) do { if (SLIST_FIRST((head)) == (elm)) { SLIST_REMOVE_HEAD((head), field); } else { struct type *curelm = SLIST_FIRST((head)); while (SLIST_NEXT(curelm, field) != (elm)) curelm = SLIST_NEXT(curelm, field); SLIST_NEXT(curelm, field) = SLIST_NEXT(SLIST_NEXT(curelm, field), field); } TRASHIT((elm)->field.sle_next); } while (0)
1644#define SLIST_REMOVE_HEAD(head,field) do { SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); } while (0)
1645#define SOCK_DGRAM 2
1646#define SOCK_MAXADDRLEN 255
1647#define SOCK_RAW 3
1648#define SOCK_RDM 4
1649#define SOCK_SEQPACKET 5
1650#define SOCK_STREAM 1
1651#define SOL_SOCKET 0xffff
1652#define SOMAXCONN 128
1653#define SO_ACCEPTCONN 0x0002
1654#define SO_BROADCAST 0x0020
1655#define SO_DEBUG 0x0001
1656#define SO_DONTROUTE 0x0010
1657#define SO_DONTTRUNC 0x2000
1658#define SO_ERROR 0x1007
1659#define SO_KEEPALIVE 0x0008
1660#define SO_LABEL 0x1010
1661#define SO_LINGER 0x0080
1662#define SO_LINGER_SEC 0x1080
1663#define SO_NKE 0x1021
1664#define SO_NOADDRERR 0x1023
1665#define SO_NOSIGPIPE 0x1022
1666#define SO_NOTIFYCONFLICT 0x1026
1667#define SO_NREAD 0x1020
1668#define SO_NWRITE 0x1024
1669#define SO_OOBINLINE 0x0100
1670#define SO_PEERLABEL 0x1011
1671#define SO_RCVBUF 0x1002
1672#define SO_RCVLOWAT 0x1004
1673#define SO_RCVTIMEO 0x1006
1674#define SO_RESTRICTIONS 0x1081
1675#define SO_RESTRICT_DENYIN 0x00000001
1676#define SO_RESTRICT_DENYOUT 0x00000002
1677#define SO_RESTRICT_DENYSET 0x80000000
1678#define SO_REUSEADDR 0x0004
1679#define SO_REUSEPORT 0x0200
1680#define SO_REUSESHAREUID 0x1025
1681#define SO_SNDBUF 0x1001
1682#define SO_SNDLOWAT 0x1003
1683#define SO_SNDTIMEO 0x1005
1684#define SO_TIMESTAMP 0x0400
1685#define SO_TYPE 0x1008
1686#define SO_USELOOPBACK 0x0040
1687#define SO_WANTMORE 0x4000
1688#define SO_WANTOOBFLAG 0x8000
1689#define SRCHFS_MATCHDIRS 0x00000004
1690#define SRCHFS_MATCHFILES 0x00000008
1691#define SRCHFS_MATCHPARTIALNAMES 0x00000002
1692#define SRCHFS_NEGATEPARAMS 0x80000000
1693#define SRCHFS_SKIPINAPPROPRIATE 0x00000080
1694#define SRCHFS_SKIPINVISIBLE 0x00000020
1695#define SRCHFS_SKIPLINKS 0x00000010
1696#define SRCHFS_SKIPPACKAGES 0x00000040
1697#define SRCHFS_START 0x00000001
1698#define SRCHFS_VALIDOPTIONSMASK 0x800000FF
1699#define SSIZE_MAX LONG_MAX
1700#define SS_DISABLE 0x0004
1701#define SS_ONSTACK 0x0001
1702#define STAILQ_CONCAT(head1,head2) do { if (!STAILQ_EMPTY((head2))) { *(head1)->stqh_last = (head2)->stqh_first; (head1)->stqh_last = (head2)->stqh_last; STAILQ_INIT((head2)); } } while (0)
1703#define STAILQ_EMPTY(head) ((head)->stqh_first == NULL)
1704#define STAILQ_ENTRY(type) struct { struct type *stqe_next; }
1705#define STAILQ_FIRST(head) ((head)->stqh_first)
1706#define STAILQ_FOREACH(var,head,field) for((var) = STAILQ_FIRST((head)); (var); (var) = STAILQ_NEXT((var), field))
1707#define STAILQ_FOREACH_SAFE(var,head,field,tvar) for ((var) = STAILQ_FIRST((head)); (var) && ((tvar) = STAILQ_NEXT((var), field), 1); (var) = (tvar))
1708#define STAILQ_HEAD(name,type) struct name { struct type *stqh_first; struct type **stqh_last; }
1709#define STAILQ_HEAD_INITIALIZER(head) { NULL, &(head).stqh_first }
1710#define STAILQ_INIT(head) do { STAILQ_FIRST((head)) = NULL; (head)->stqh_last = &STAILQ_FIRST((head)); } while (0)
1711#define STAILQ_INSERT_AFTER(head,tqelm,elm,field) do { if ((STAILQ_NEXT((elm), field) = STAILQ_NEXT((tqelm), field)) == NULL) (head)->stqh_last = &STAILQ_NEXT((elm), field); STAILQ_NEXT((tqelm), field) = (elm); } while (0)
1712#define STAILQ_INSERT_HEAD(head,elm,field) do { if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) (head)->stqh_last = &STAILQ_NEXT((elm), field); STAILQ_FIRST((head)) = (elm); } while (0)
1713#define STAILQ_INSERT_TAIL(head,elm,field) do { STAILQ_NEXT((elm), field) = NULL; *(head)->stqh_last = (elm); (head)->stqh_last = &STAILQ_NEXT((elm), field); } while (0)
1714#define STAILQ_LAST(head,type,field) (STAILQ_EMPTY((head)) ? NULL : ((struct type *)(void *) ((char *)((head)->stqh_last) - __offsetof(struct type, field))))
1715#define STAILQ_NEXT(elm,field) ((elm)->field.stqe_next)
1716#define STAILQ_REMOVE(head,elm,type,field) do { if (STAILQ_FIRST((head)) == (elm)) { STAILQ_REMOVE_HEAD((head), field); } else { struct type *curelm = STAILQ_FIRST((head)); while (STAILQ_NEXT(curelm, field) != (elm)) curelm = STAILQ_NEXT(curelm, field); if ((STAILQ_NEXT(curelm, field) = STAILQ_NEXT(STAILQ_NEXT(curelm, field), field)) == NULL) (head)->stqh_last = &STAILQ_NEXT((curelm), field); } TRASHIT((elm)->field.stqe_next); } while (0)
1717#define STAILQ_REMOVE_HEAD(head,field) do { if ((STAILQ_FIRST((head)) = STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) (head)->stqh_last = &STAILQ_FIRST((head)); } while (0)
1718#define STAILQ_REMOVE_HEAD_UNTIL(head,elm,field) do { if ((STAILQ_FIRST((head)) = STAILQ_NEXT((elm), field)) == NULL) (head)->stqh_last = &STAILQ_FIRST((head)); } while (0)
1719#define STATUS_WORD(rpl,ipl) (((ipl) << 8) | (rpl))
1720#define SV_INTERRUPT SA_RESTART
1721#define SV_NOCLDSTOP SA_NOCLDSTOP
1722#define SV_NODEFER SA_NODEFER
1723#define SV_ONSTACK SA_ONSTACK
1724#define SV_RESETHAND SA_RESETHAND
1725#define SV_SIGINFO SA_SIGINFO
1726#define S_BLKSIZE 512
1727#define S_IEXEC S_IXUSR
1728#define S_IFBLK 0060000
1729#define S_IFCHR 0020000
1730#define S_IFDIR 0040000
1731#define S_IFIFO 0010000
1732#define S_IFLNK 0120000
1733#define S_IFMT 0170000
1734#define S_IFREG 0100000
1735#define S_IFSOCK 0140000
1736#define S_IFWHT 0160000
1737#define S_IFXATTR 0200000
1738#define S_IREAD S_IRUSR
1739#define S_IRGRP 0000040
1740#define S_IROTH 0000004
1741#define S_IRUSR 0000400
1742#define S_IRWXG 0000070
1743#define S_IRWXO 0000007
1744#define S_IRWXU 0000700
1745#define S_ISBLK(m) (((m) & 0170000) == 0060000)
1746#define S_ISCHR(m) (((m) & 0170000) == 0020000)
1747#define S_ISDIR(m) (((m) & 0170000) == 0040000)
1748#define S_ISFIFO(m) (((m) & 0170000) == 0010000)
1749#define S_ISGID 0002000
1750#define S_ISLNK(m) (((m) & 0170000) == 0120000)
1751#define S_ISREG(m) (((m) & 0170000) == 0100000)
1752#define S_ISSOCK(m) (((m) & 0170000) == 0140000)
1753#define S_ISTXT S_ISVTX
1754#define S_ISUID 0004000
1755#define S_ISVTX 0001000
1756#define S_ISWHT(m) (((m) & 0170000) == 0160000)
1757#define S_ISXATTR(m) (((m) & 0200000) == 0200000)
1758#define S_IWGRP 0000020
1759#define S_IWOTH 0000002
1760#define S_IWRITE S_IWUSR
1761#define S_IWUSR 0000200
1762#define S_IXGRP 0000010
1763#define S_IXOTH 0000001
1764#define S_IXUSR 0000100
1765#define S_TYPEISMQ(buf) (0)
1766#define S_TYPEISSEM(buf) (0)
1767#define S_TYPEISSHM(buf) (0)
1768#define S_TYPEISTMO(buf) (0)
1769#define TAB0 0x00000000
1770#define TAB1 0x00000400
1771#define TAB2 0x00000800
1772#define TAB3 0x00000004
1773#define TABDLY 0x00000c04
1774#define TABLDISC 3
1775#define TAILQ_CONCAT(head1,head2,field) do { if (!TAILQ_EMPTY(head2)) { *(head1)->tqh_last = (head2)->tqh_first; (head2)->tqh_first->field.tqe_prev = (head1)->tqh_last; (head1)->tqh_last = (head2)->tqh_last; TAILQ_INIT((head2)); QMD_TRACE_HEAD(head1); QMD_TRACE_HEAD(head2); } } while (0)
1776#define TAILQ_EMPTY(head) ((head)->tqh_first == NULL)
1777#define TAILQ_ENTRY(type) struct { struct type *tqe_next; struct type **tqe_prev; TRACEBUF }
1778#define TAILQ_FIRST(head) ((head)->tqh_first)
1779#define TAILQ_FOREACH(var,head,field) for ((var) = TAILQ_FIRST((head)); (var); (var) = TAILQ_NEXT((var), field))
1780#define TAILQ_FOREACH_REVERSE(var,head,headname,field) for ((var) = TAILQ_LAST((head), headname); (var); (var) = TAILQ_PREV((var), headname, field))
1781#define TAILQ_FOREACH_REVERSE_SAFE(var,head,headname,field,tvar) for ((var) = TAILQ_LAST((head), headname); (var) && ((tvar) = TAILQ_PREV((var), headname, field), 1); (var) = (tvar))
1782#define TAILQ_FOREACH_SAFE(var,head,field,tvar) for ((var) = TAILQ_FIRST((head)); (var) && ((tvar) = TAILQ_NEXT((var), field), 1); (var) = (tvar))
1783#define TAILQ_HEAD(name,type) struct name { struct type *tqh_first; struct type **tqh_last; TRACEBUF }
1784#define TAILQ_HEAD_INITIALIZER(head) { NULL, &(head).tqh_first }
1785#define TAILQ_INIT(head) do { TAILQ_FIRST((head)) = NULL; (head)->tqh_last = &TAILQ_FIRST((head)); QMD_TRACE_HEAD(head); } while (0)
1786#define TAILQ_INSERT_AFTER(head,listelm,elm,field) do { if ((TAILQ_NEXT((elm), field) = TAILQ_NEXT((listelm), field)) != NULL) TAILQ_NEXT((elm), field)->field.tqe_prev = &TAILQ_NEXT((elm), field); else { (head)->tqh_last = &TAILQ_NEXT((elm), field); QMD_TRACE_HEAD(head); } TAILQ_NEXT((listelm), field) = (elm); (elm)->field.tqe_prev = &TAILQ_NEXT((listelm), field); QMD_TRACE_ELEM(&(elm)->field); QMD_TRACE_ELEM(&listelm->field); } while (0)
1787#define TAILQ_INSERT_BEFORE(listelm,elm,field) do { (elm)->field.tqe_prev = (listelm)->field.tqe_prev; TAILQ_NEXT((elm), field) = (listelm); *(listelm)->field.tqe_prev = (elm); (listelm)->field.tqe_prev = &TAILQ_NEXT((elm), field); QMD_TRACE_ELEM(&(elm)->field); QMD_TRACE_ELEM(&listelm->field); } while (0)
1788#define TAILQ_INSERT_HEAD(head,elm,field) do { if ((TAILQ_NEXT((elm), field) = TAILQ_FIRST((head))) != NULL) TAILQ_FIRST((head))->field.tqe_prev = &TAILQ_NEXT((elm), field); else (head)->tqh_last = &TAILQ_NEXT((elm), field); TAILQ_FIRST((head)) = (elm); (elm)->field.tqe_prev = &TAILQ_FIRST((head)); QMD_TRACE_HEAD(head); QMD_TRACE_ELEM(&(elm)->field); } while (0)
1789#define TAILQ_INSERT_TAIL(head,elm,field) do { TAILQ_NEXT((elm), field) = NULL; (elm)->field.tqe_prev = (head)->tqh_last; *(head)->tqh_last = (elm); (head)->tqh_last = &TAILQ_NEXT((elm), field); QMD_TRACE_HEAD(head); QMD_TRACE_ELEM(&(elm)->field); } while (0)
1790#define TAILQ_LAST(head,headname) (*(((struct headname *)((head)->tqh_last))->tqh_last))
1791#define TAILQ_NEXT(elm,field) ((elm)->field.tqe_next)
1792#define TAILQ_PREV(elm,headname,field) (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
1793#define TAILQ_REMOVE(head,elm,field) do { if ((TAILQ_NEXT((elm), field)) != NULL) TAILQ_NEXT((elm), field)->field.tqe_prev = (elm)->field.tqe_prev; else { (head)->tqh_last = (elm)->field.tqe_prev; QMD_TRACE_HEAD(head); } *(elm)->field.tqe_prev = TAILQ_NEXT((elm), field); TRASHIT((elm)->field.tqe_next); TRASHIT((elm)->field.tqe_prev); QMD_TRACE_ELEM(&(elm)->field); } while (0)
1794#define TARGET_CPU_68K 0
1795#define TARGET_CPU_ALPHA 0
1796#define TARGET_CPU_MIPS 0
1797#define TARGET_CPU_PPC 0
1798#define TARGET_CPU_PPC64 0
1799#define TARGET_CPU_SPARC 0
1800#define TARGET_CPU_X86 1
1801#define TARGET_CPU_X86_64 0
1802#define TARGET_OS_EMBEDDED 0
1803#define TARGET_OS_MAC 1
1804#define TARGET_OS_UNIX 0
1805#define TARGET_OS_WIN32 0
1806#define TARGET_RT_64_BIT 0
1807#define TARGET_RT_BIG_ENDIAN 0
1808#define TARGET_RT_LITTLE_ENDIAN 1
1809#define TARGET_RT_MAC_CFM 0
1810#define TARGET_RT_MAC_MACHO 1
1811#define TCIFLUSH 1
1812#define TCIOFF 3
1813#define TCIOFLUSH 3
1814#define TCION 4
1815#define TCOFLUSH 2
1816#define TCOOFF 1
1817#define TCOON 2
1818#define TCSADRAIN 1
1819#define TCSAFLUSH 2
1820#define TCSANOW 0
1821#define TCSASOFT 0x10
1822#define THREADLOCAL __thread
1823#define THREAD_CALLING_CONV
1824#define TIMESPEC_TO_TIMEVAL(tv,ts) { (tv)->tv_sec = (ts)->tv_sec; (tv)->tv_usec = (ts)->tv_nsec / 1000; }
1825#define TIMEVAL_TO_TIMESPEC(tv,ts) { (ts)->tv_sec = (tv)->tv_sec; (ts)->tv_nsec = (tv)->tv_usec * 1000; }
1826#define TIOCCBRK _IO('t', 122)
1827#define TIOCCDTR _IO('t', 120)
1828#define TIOCCONS _IOW('t', 98, int)
1829#define TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval)
1830#define TIOCDRAIN _IO('t', 94)
1831#define TIOCDSIMICROCODE _IO('t', 85)
1832#define TIOCEXCL _IO('t', 13)
1833#define TIOCEXT _IOW('t', 96, int)
1834#define TIOCFLUSH _IOW('t', 16, int)
1835#define TIOCGDRAINWAIT _IOR('t', 86, int)
1836#define TIOCGETA _IOR('t', 19, struct termios)
1837#define TIOCGETD _IOR('t', 26, int)
1838#define TIOCGPGRP _IOR('t', 119, int)
1839#define TIOCGWINSZ _IOR('t', 104, struct winsize)
1840#define TIOCIXOFF _IO('t', 128)
1841#define TIOCIXON _IO('t', 129)
1842#define TIOCMBIC _IOW('t', 107, int)
1843#define TIOCMBIS _IOW('t', 108, int)
1844#define TIOCMGDTRWAIT _IOR('t', 90, int)
1845#define TIOCMGET _IOR('t', 106, int)
1846#define TIOCMODG _IOR('t', 3, int)
1847#define TIOCMODS _IOW('t', 4, int)
1848#define TIOCMSDTRWAIT _IOW('t', 91, int)
1849#define TIOCMSET _IOW('t', 109, int)
1850#define TIOCM_CAR 0100
1851#define TIOCM_CD TIOCM_CAR
1852#define TIOCM_CTS 0040
1853#define TIOCM_DSR 0400
1854#define TIOCM_DTR 0002
1855#define TIOCM_LE 0001
1856#define TIOCM_RI TIOCM_RNG
1857#define TIOCM_RNG 0200
1858#define TIOCM_RTS 0004
1859#define TIOCM_SR 0020
1860#define TIOCM_ST 0010
1861#define TIOCNOTTY _IO('t', 113)
1862#define TIOCNXCL _IO('t', 14)
1863#define TIOCOUTQ _IOR('t', 115, int)
1864#define TIOCPKT _IOW('t', 112, int)
1865#define TIOCPKT_DATA 0x00
1866#define TIOCPKT_DOSTOP 0x20
1867#define TIOCPKT_FLUSHREAD 0x01
1868#define TIOCPKT_FLUSHWRITE 0x02
1869#define TIOCPKT_IOCTL 0x40
1870#define TIOCPKT_NOSTOP 0x10
1871#define TIOCPKT_START 0x08
1872#define TIOCPKT_STOP 0x04
1873#define TIOCPTYGNAME _IOC(IOC_OUT, 't', 83, 128)
1874#define TIOCPTYGRANT _IO('t', 84)
1875#define TIOCPTYUNLK _IO('t', 82)
1876#define TIOCREMOTE _IOW('t', 105, int)
1877#define TIOCSBRK _IO('t', 123)
1878#define TIOCSCONS _IO('t', 99)
1879#define TIOCSCTTY _IO('t', 97)
1880#define TIOCSDRAINWAIT _IOW('t', 87, int)
1881#define TIOCSDTR _IO('t', 121)
1882#define TIOCSETA _IOW('t', 20, struct termios)
1883#define TIOCSETAF _IOW('t', 22, struct termios)
1884#define TIOCSETAW _IOW('t', 21, struct termios)
1885#define TIOCSETD _IOW('t', 27, int)
1886#define TIOCSIG _IO('t', 95)
1887#define TIOCSPGRP _IOW('t', 118, int)
1888#define TIOCSTART _IO('t', 110)
1889#define TIOCSTAT _IO('t', 101)
1890#define TIOCSTI _IOW('t', 114, char)
1891#define TIOCSTOP _IO('t', 111)
1892#define TIOCSWINSZ _IOW('t', 103, struct winsize)
1893#define TIOCTIMESTAMP _IOR('t', 89, struct timeval)
1894#define TIOCUCNTL _IOW('t', 102, int)
1895#define TMP_MAX 308915776
1896#define TOSTOP 0x00400000
1897#define TRACEBUF
1898#define TRAFFIC_MGT_SO_BACKGROUND 0x0001
1899#define TRAFFIC_MGT_SO_BG_SUPPRESSED 0x0002
1900#define TRAP_BRKPT 1
1901#define TRAP_TRACE 2
1902#define TRASHIT(x)
1903#define TRY_AGAIN 2
1904#define TTYDEF_CFLAG (CREAD | CS8 | HUPCL)
1905#define TTYDEF_IFLAG (BRKINT | ICRNL | IMAXBEL | IXON | IXANY)
1906#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
1907#define TTYDEF_OFLAG (OPOST | ONLCR)
1908#define TTYDEF_SPEED (B9600)
1909#define TTYDISC 0
1910#define UCHAR_MAX (__SCHAR_MAX__*2 +1)
1911#define UF_APPEND 0x00000004
1912#define UF_HIDDEN 0x00008000
1913#define UF_IMMUTABLE 0x00000002
1914#define UF_NODUMP 0x00000001
1915#define UF_OPAQUE 0x00000008
1916#define UF_SETTABLE 0x0000ffff
1917#define UID_MAX 2147483647U
1918#define UINT16_C(v) (v ## U)
1919#define UINT16_MAX 65535
1920#define UINT32_C(v) (v ## U)
1921#define UINT32_MAX 4294967295U
1922#define UINT64_C(v) (v ## ULL)
1923#define UINT64_MAX 18446744073709551615ULL
1924#define UINT8_C(v) (v ## U)
1925#define UINT8_MAX 255
1926#define UINTMAX_C(v) (v ## ULL)
1927#define UINTMAX_MAX UINT64_MAX
1928#define UINTPTR_MAX UINT32_MAX
1929#define UINT_FAST16_MAX UINT16_MAX
1930#define UINT_FAST32_MAX UINT32_MAX
1931#define UINT_FAST64_MAX UINT64_MAX
1932#define UINT_FAST8_MAX UINT8_MAX
1933#define UINT_LEAST16_MAX UINT16_MAX
1934#define UINT_LEAST32_MAX UINT32_MAX
1935#define UINT_LEAST64_MAX UINT64_MAX
1936#define UINT_LEAST8_MAX UINT8_MAX
1937#define UINT_MAX (__INT_MAX__ *2U +1U)
1938#define UIOCCMD(n) _IO('u', n)
1939#define ULLONG_MAX 0xffffffffffffffffULL
1940#define ULONG_LONG_MAX (__LONG_LONG_MAX__*2ULL+1ULL)
1941#define ULONG_MAX (__LONG_MAX__ *2UL+1UL)
1942#define UNIMPLEMENTED() UNREACHABLE("unimplemented")
1943#define UNLIKELY(x) __builtin_expect(!!(x), 0)
1944#define UNREACHABLE(msg) do { CHECK(0 && msg); Die(); } while (0)
1945#define UNUSED __attribute__((unused))
1946#define UQUAD_MAX ULLONG_MAX
1947#define USED __attribute__((used))
1948#define USERMODE(x) (((x) & 3) == 3)
1949#define USER_ADDR_NULL ((user_addr_t) 0)
1950#define USHRT_MAX (__SHRT_MAX__ *2 +1)
1951#define VDISCARD 15
1952#define VDSUSP 11
1953#define VEOF 0
1954#define VEOL 1
1955#define VEOL2 2
1956#define VERASE 3
1957#define VFS_CONF 2
1958#define VFS_CTL_NEWADDR 0x00010004
1959#define VFS_CTL_NOLOCKS 0x00010006
1960#define VFS_CTL_QUERY 0x00010003
1961#define VFS_CTL_STATFS 0x00010001
1962#define VFS_CTL_TIMEO 0x00010005
1963#define VFS_CTL_UMOUNT 0x00010002
1964#define VFS_CTL_VERS1 0x01
1965#define VFS_GENERIC 0
1966#define VFS_MAXTYPENUM 1
1967#define VFS_NUMMNTOPS 1
1968#define VFS_SET_PACKAGE_EXTS 3
1969#define VINTR 8
1970#define VISIBILITY_HIDDEN 1
1971#define VKILL 5
1972#define VLNEXT 14
1973#define VMIN 16
1974#define VOL_CAPABILITIES_FORMAT 0
1975#define VOL_CAPABILITIES_INTERFACES 1
1976#define VOL_CAPABILITIES_RESERVED1 2
1977#define VOL_CAPABILITIES_RESERVED2 3
1978#define VOL_CAP_FMT_2TB_FILESIZE 0x00000800
1979#define VOL_CAP_FMT_CASE_PRESERVING 0x00000200
1980#define VOL_CAP_FMT_CASE_SENSITIVE 0x00000100
1981#define VOL_CAP_FMT_FAST_STATFS 0x00000400
1982#define VOL_CAP_FMT_HARDLINKS 0x00000004
1983#define VOL_CAP_FMT_HIDDEN_FILES 0x00002000
1984#define VOL_CAP_FMT_JOURNAL 0x00000008
1985#define VOL_CAP_FMT_JOURNAL_ACTIVE 0x00000010
1986#define VOL_CAP_FMT_NO_ROOT_TIMES 0x00000020
1987#define VOL_CAP_FMT_OPENDENYMODES 0x00001000
1988#define VOL_CAP_FMT_PATH_FROM_ID 0x00004000
1989#define VOL_CAP_FMT_PERSISTENTOBJECTIDS 0x00000001
1990#define VOL_CAP_FMT_SPARSE_FILES 0x00000040
1991#define VOL_CAP_FMT_SYMBOLICLINKS 0x00000002
1992#define VOL_CAP_FMT_ZERO_RUNS 0x00000080
1993#define VOL_CAP_INT_ADVLOCK 0x00000100
1994#define VOL_CAP_INT_ALLOCATE 0x00000040
1995#define VOL_CAP_INT_ATTRLIST 0x00000002
1996#define VOL_CAP_INT_COPYFILE 0x00000020
1997#define VOL_CAP_INT_EXCHANGEDATA 0x00000010
1998#define VOL_CAP_INT_EXTENDED_ATTR 0x00004000
1999#define VOL_CAP_INT_EXTENDED_SECURITY 0x00000400
2000#define VOL_CAP_INT_FLOCK 0x00000200
2001#define VOL_CAP_INT_MANLOCK 0x00001000
2002#define VOL_CAP_INT_NAMEDSTREAMS 0x00002000
2003#define VOL_CAP_INT_NFSEXPORT 0x00000004
2004#define VOL_CAP_INT_READDIRATTR 0x00000008
2005#define VOL_CAP_INT_SEARCHFS 0x00000001
2006#define VOL_CAP_INT_USERACCESS 0x00000800
2007#define VOL_CAP_INT_VOL_RENAME 0x00000080
2008#define VQUIT 9
2009#define VQ_ASSIST 0x0040
2010#define VQ_DEAD 0x0020
2011#define VQ_FLAG0200 0x0200
2012#define VQ_FLAG0400 0x0400
2013#define VQ_FLAG0800 0x0800
2014#define VQ_FLAG1000 0x1000
2015#define VQ_FLAG2000 0x2000
2016#define VQ_FLAG4000 0x4000
2017#define VQ_FLAG8000 0x8000
2018#define VQ_LOWDISK 0x0004
2019#define VQ_MOUNT 0x0008
2020#define VQ_NEEDAUTH 0x0002
2021#define VQ_NOTRESP 0x0001
2022#define VQ_NOTRESPLOCK 0x0080
2023#define VQ_UNMOUNT 0x0010
2024#define VQ_UPDATE 0x0100
2025#define VREPRINT 6
2026#define VSTART 12
2027#define VSTATUS 18
2028#define VSTOP 13
2029#define VSUSP 10
2030#define VT0 0x00000000
2031#define VT1 0x00010000
2032#define VTDLY 0x00010000
2033#define VTIME 17
2034#define VWERASE 4
2035#define WCHAR_MAX __WCHAR_MAX__
2036#define WCHAR_MIN (-WCHAR_MAX-1)
2037#define WEAK SANITIZER_WEAK_ATTRIBUTE
2038#define WEOF __DARWIN_WEOF
2039#define WINT_MAX INT32_MAX
2040#define WINT_MIN INT32_MIN
2041#define WORD_BIT 32
2042#define WRDE_APPEND 0x01
2043#define WRDE_BADCHAR 1
2044#define WRDE_BADVAL 2
2045#define WRDE_CMDSUB 3
2046#define WRDE_DOOFFS 0x02
2047#define WRDE_NOCMD 0x04
2048#define WRDE_NOSPACE 4
2049#define WRDE_NOSYS 5
2050#define WRDE_REUSE 0x08
2051#define WRDE_SHOWERR 0x10
2052#define WRDE_SYNTAX 6
2053#define WRDE_UNDEF 0x20
2054#define XUCRED_VERSION 0
2055#define _BLKCNT_T
2056#define _BLKSIZE_T
2057#define _BSD_I386__TYPES_H_
2058#define _BSD_MACHINE_ENDIAN_H_
2059#define _BSD_MACHINE_PARAM_H_
2060#define _BSD_MACHINE_SIGNAL_H_
2061#define _BSD_MACHINE_TYPES_H_
2062#define _BSD_MACHINE__TYPES_H_
2063#define _BSM_AUDIT_H
2064#define _CACHED_RUNES (1 <<8 )
2065#define _CDEFS_H_
2066#define _CLOCK_T
2067#define _CRMASK (~(_CACHED_RUNES - 1))
2068#define _CTYPE_A 0x00000100L
2069#define _CTYPE_B 0x00020000L
2070#define _CTYPE_C 0x00000200L
2071#define _CTYPE_D 0x00000400L
2072#define _CTYPE_G 0x00000800L
2073#define _CTYPE_H_
2074#define _CTYPE_I 0x00080000L
2075#define _CTYPE_L 0x00001000L
2076#define _CTYPE_P 0x00002000L
2077#define _CTYPE_Q 0x00200000L
2078#define _CTYPE_R 0x00040000L
2079#define _CTYPE_S 0x00004000L
2080#define _CTYPE_SW0 0x20000000L
2081#define _CTYPE_SW1 0x40000000L
2082#define _CTYPE_SW2 0x80000000L
2083#define _CTYPE_SW3 0xc0000000L
2084#define _CTYPE_SWM 0xe0000000L
2085#define _CTYPE_SWS 30
2086#define _CTYPE_T 0x00100000L
2087#define _CTYPE_U 0x00008000L
2088#define _CTYPE_X 0x00010000L
2089#define _CT_RUNE_T
2090#define _DARWIN_FEATURE_UNIX_CONFORMANCE 3
2091#define _DEV_T
2092#define _DIRENT_H_
2093#define _FD_SET
2094#define _FILESEC_T
2095#define _FSBLKCNT_T
2096#define _FSFILCNT_T
2097#define _FSTDIO
2098#define _GCC_LIMITS_H_
2099#define _GID_T
2100#define _GRP_H_
2101#define _I386_LIMITS_H_
2102#define _I386_PARAM_H_
2103#define _I386_SIGNAL_H_ 1
2104#define _I386__ENDIAN_H_
2105#define _I386__LIMITS_H_
2106#define _I386__PARAM_H_
2107#define _ID_T
2108#define _INET_H_
2109#define _INO64_T
2110#define _INO_T
2111#define _INT16_T
2112#define _INT32_T
2113#define _INT64_T
2114#define _INT8_T
2115#define _INTMAX_T
2116#define _INTPTR_T
2117#define _IN_ADDR_T
2118#define _IN_PORT_T
2119#define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0)
2120#define _IOC(inout,group,num,len) (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num))
2121#define _IOFBF 0
2122#define _IOLBF 1
2123#define _IONBF 2
2124#define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t))
2125#define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t))
2126#define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t))
2127#define _KAUTH_CRED_T
2128#define _KEY_T
2129#define _LIMITS_H_
2130#define _MACHTYPES_H_
2131#define _MACH_I386__STRUCTS_H_
2132#define _MACH_PORT_T
2133#define _MASTERPASSWD "master.passwd"
2134#define _MBSTATE_T
2135#define _MCONTEXT_T
2136#define _MODE_T
2137#define _MP_DB "pwd.db"
2138#define _NETDB_H_
2139#define _NETINET6_IN6_H_
2140#define _NETINET_IN_H_
2141#define _NET_ETHERNET_H_
2142#define _NET_IF_ARP_H_
2143#define _NET_IF_H_
2144#define _NET_IF_VAR_H_
2145#define _NET_ROUTE_H_
2146#define _NLINK_T
2147#define _OFF_T
2148#define _OS__OSBYTEORDERI386_H
2149#define _OS__OSBYTEORDER_H
2150#define _PASSWD "passwd"
2151#define _PASSWORD_CHGNOW -1
2152#define _PASSWORD_EFMT1 '_'
2153#define _PASSWORD_LEN 128
2154#define _PASSWORD_NOCHG 0x04
2155#define _PASSWORD_NOEXP 0x08
2156#define _PASSWORD_NOGID 0x02
2157#define _PASSWORD_NOUID 0x01
2158#define _PASSWORD_WARNDAYS 14
2159#define _PATH_GROUP "/etc/group"
2160#define _PATH_HEQUIV "/etc/hosts.equiv"
2161#define _PATH_HOSTS "/etc/hosts"
2162#define _PATH_MASTERPASSWD "/etc/master.passwd"
2163#define _PATH_MASTERPASSWD_LOCK "/etc/ptmp"
2164#define _PATH_MP_DB "/etc/pwd.db"
2165#define _PATH_NETWORKS "/etc/networks"
2166#define _PATH_PASSWD "/etc/passwd"
2167#define _PATH_PROTOCOLS "/etc/protocols"
2168#define _PATH_PWD "/etc"
2169#define _PATH_PWD_MKDB "/usr/sbin/pwd_mkdb"
2170#define _PATH_SERVICES "/etc/services"
2171#define _PATH_SMP_DB "/etc/spwd.db"
2172#define _PID_T
2173#define _POSIX2_BC_BASE_MAX 99
2174#define _POSIX2_BC_DIM_MAX 2048
2175#define _POSIX2_BC_SCALE_MAX 99
2176#define _POSIX2_BC_STRING_MAX 1000
2177#define _POSIX2_CHARCLASS_NAME_MAX 14
2178#define _POSIX2_COLL_WEIGHTS_MAX 2
2179#define _POSIX2_EQUIV_CLASS_MAX 2
2180#define _POSIX2_EXPR_NEST_MAX 32
2181#define _POSIX2_LINE_MAX 2048
2182#define _POSIX2_RE_DUP_MAX 255
2183#define _POSIX_AIO_LISTIO_MAX 2
2184#define _POSIX_AIO_MAX 1
2185#define _POSIX_ARG_MAX 4096
2186#define _POSIX_CHILD_MAX 25
2187#define _POSIX_DELAYTIMER_MAX 32
2188#define _POSIX_HOST_NAME_MAX 255
2189#define _POSIX_LINK_MAX 8
2190#define _POSIX_LOGIN_NAME_MAX 9
2191#define _POSIX_MAX_CANON 255
2192#define _POSIX_MAX_INPUT 255
2193#define _POSIX_MQ_OPEN_MAX 8
2194#define _POSIX_MQ_PRIO_MAX 32
2195#define _POSIX_NAME_MAX 14
2196#define _POSIX_NGROUPS_MAX 8
2197#define _POSIX_OPEN_MAX 20
2198#define _POSIX_PATH_MAX 256
2199#define _POSIX_PIPE_BUF 512
2200#define _POSIX_RE_DUP_MAX 255
2201#define _POSIX_RTSIG_MAX 8
2202#define _POSIX_SEM_NSEMS_MAX 256
2203#define _POSIX_SEM_VALUE_MAX 32767
2204#define _POSIX_SIGQUEUE_MAX 32
2205#define _POSIX_SSIZE_MAX 32767
2206#define _POSIX_SS_REPL_MAX 4
2207#define _POSIX_STREAM_MAX 8
2208#define _POSIX_SYMLINK_MAX 255
2209#define _POSIX_SYMLOOP_MAX 8
2210#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
2211#define _POSIX_THREAD_KEYS_MAX 128
2212#define _POSIX_THREAD_THREADS_MAX 64
2213#define _POSIX_TIMER_MAX 32
2214#define _POSIX_TRACE_EVENT_NAME_MAX 30
2215#define _POSIX_TRACE_NAME_MAX 8
2216#define _POSIX_TRACE_SYS_MAX 8
2217#define _POSIX_TRACE_USER_EVENT_MAX 32
2218#define _POSIX_TTY_NAME_MAX 9
2219#define _POSIX_TZNAME_MAX 6
2220#define _POSIX_VDISABLE 0xff
2221#define _PTHREAD_ATTR_T
2222#define _PTHREAD_CONDATTR_T
2223#define _PTHREAD_COND_SIG_init 0x3CB0B1BB
2224#define _PTHREAD_COND_T
2225#define _PTHREAD_H
2226#define _PTHREAD_IMPL_H_
2227#define _PTHREAD_KEY_T
2228#define _PTHREAD_MUTEXATTR_T
2229#define _PTHREAD_MUTEX_SIG_init 0x32AAABA7
2230#define _PTHREAD_MUTEX_T
2231#define _PTHREAD_ONCE_SIG_init 0x30B1BCBA
2232#define _PTHREAD_ONCE_T
2233#define _PTHREAD_RWLOCKATTR_T
2234#define _PTHREAD_RWLOCK_SIG_init 0x2DA8B3B4
2235#define _PTHREAD_RWLOCK_T
2236#define _PTHREAD_T
2237#define _PTRDIFF_T
2238#define _PWD_H_
2239#define _PW_KEYBYNAME '1'
2240#define _PW_KEYBYNUM '2'
2241#define _PW_KEYBYUID '3'
2242#define _QUAD_HIGHWORD 1
2243#define _QUAD_LOWWORD 0
2244#define _RLIMIT_POSIX_FLAG 0x1000
2245#define _RUNETYPE_H_
2246#define _RUNE_MAGIC_A "RuneMagA"
2247#define _RUNE_T
2248#define _SA_FAMILY_T
2249#define _SCHED_H_
2250#define _SIGSET_T
2251#define _SIZEOF_ADDR_IFREQ(ifr) ((ifr).ifr_addr.sa_len > sizeof(struct sockaddr) ? (sizeof(struct ifreq) - sizeof(struct sockaddr) + (ifr).ifr_addr.sa_len) : sizeof(struct ifreq))
2252#define _SIZE_T
2253#define _SMP_DB "spwd.db"
2254#define _SOCKLEN_T
2255#define _SSIZE_T
2256#define _SS_ALIGNSIZE (sizeof(__int64_t))
2257#define _SS_MAXSIZE 128
2258#define _SS_PAD1SIZE (_SS_ALIGNSIZE - sizeof(__uint8_t) - sizeof(sa_family_t))
2259#define _SS_PAD2SIZE (_SS_MAXSIZE - sizeof(__uint8_t) - sizeof(sa_family_t) - _SS_PAD1SIZE - _SS_ALIGNSIZE)
2260#define _STACK_T
2261#define _STDINT_H_
2262#define _STDIO_H_
2263#define _STRUCT_FP_CONTROL struct __darwin_fp_control
2264#define _STRUCT_FP_STATUS struct __darwin_fp_status
2265#define _STRUCT_IOVEC
2266#define _STRUCT_MCONTEXT _STRUCT_MCONTEXT32
2267#define _STRUCT_MCONTEXT32 struct __darwin_mcontext32
2268#define _STRUCT_MCONTEXT64 struct __darwin_mcontext64
2269#define _STRUCT_MMST_REG struct __darwin_mmst_reg
2270#define _STRUCT_SIGALTSTACK struct __darwin_sigaltstack
2271#define _STRUCT_TIMESPEC struct timespec
2272#define _STRUCT_TIMEVAL struct timeval
2273#define _STRUCT_UCONTEXT struct __darwin_ucontext
2274#define _STRUCT_X86_DEBUG_STATE32 struct __darwin_x86_debug_state32
2275#define _STRUCT_X86_DEBUG_STATE64 struct __darwin_x86_debug_state64
2276#define _STRUCT_X86_EXCEPTION_STATE32 struct __darwin_i386_exception_state
2277#define _STRUCT_X86_EXCEPTION_STATE64 struct __darwin_x86_exception_state64
2278#define _STRUCT_X86_FLOAT_STATE32 struct __darwin_i386_float_state
2279#define _STRUCT_X86_FLOAT_STATE64 struct __darwin_x86_float_state64
2280#define _STRUCT_X86_THREAD_STATE32 struct __darwin_i386_thread_state
2281#define _STRUCT_X86_THREAD_STATE64 struct __darwin_x86_thread_state64
2282#define _STRUCT_XMM_REG struct __darwin_xmm_reg
2283#define _SUSECONDS_T
2284#define _SYS_ATTR_H_
2285#define _SYS_DIRENT_H
2286#define _SYS_ERRNO_H_
2287#define _SYS_FILIO_H_
2288#define _SYS_IOCCOM_H_
2289#define _SYS_MOUNT_H_
2290#define _SYS_NAMELEN 256
2291#define _SYS_PARAM_H_
2292#define _SYS_POLL_H_
2293#define _SYS_QUEUE_H_
2294#define _SYS_RESOURCE_H_
2295#define _SYS_SIGNAL_H_
2296#define _SYS_SOCKET_H_
2297#define _SYS_SOCKIO_H_
2298#define _SYS_STAT_H_
2299#define _SYS_SYSLIMITS_H_
2300#define _SYS_TERMIOS_H_
2301#define _SYS_TIMES_H_
2302#define _SYS_TIME_H_
2303#define _SYS_TTYCOM_H_
2304#define _SYS_TTYDEFAULTS_H_
2305#define _SYS_TYPES_H_
2306#define _SYS_UCONTEXT_H_
2307#define _SYS_UCRED_H_
2308#define _SYS_UTSNAME_H
2309#define _SYS__ENDIAN_H_
2310#define _SYS__SELECT_H_
2311#define _SYS__TYPES_H_
2312#define _TIME_H_
2313#define _TIME_T
2314#define _UCONTEXT_T
2315#define _UID_T
2316#define _UINT16_T
2317#define _UINT32_T
2318#define _UINT64_T
2319#define _UINT8_T
2320#define _UINTMAX_T
2321#define _UINTPTR_T
2322#define _USECONDS_T
2323#define _USER_SIGNAL_H
2324#define _U_LONG
2325#define _VA_LIST
2326#define _WCHAR_H_
2327#define _WCTYPE_T
2328#define _WINT_T
2329#define _WORDEXP_H
2330#define _XOPEN_IOV_MAX 16
2331#define _XOPEN_NAME_MAX 255
2332#define _XOPEN_PATH_MAX 1024
2333#define __APPLE_API_EVOLVING
2334#define __APPLE_API_OBSOLETE
2335#define __APPLE_API_PRIVATE
2336#define __APPLE_API_STABLE
2337#define __APPLE_API_STANDARD
2338#define __APPLE_API_UNSTABLE
2339#define __APPLE_CC__ 6000
2340#define __APPLE__ 1
2341#define __ATOMIC_ACQUIRE 2
2342#define __ATOMIC_ACQ_REL 4
2343#define __ATOMIC_CONSUME 1
2344#define __ATOMIC_RELAXED 0
2345#define __ATOMIC_RELEASE 3
2346#define __ATOMIC_SEQ_CST 5
2347#define __BEGIN_DECLS extern "C" {
2348#define __BLOCKS__ 1
2349#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2350#define __CHAR16_TYPE__ unsigned short
2351#define __CHAR32_TYPE__ unsigned int
2352#define __CHAR_BIT__ 8
2353#define __CLANG_LIMITS_H
2354#define __CLANG_STDINT_H
2355#define __CONCAT(x,y) x ## y
2356#define __CONSTANT_CFSTRINGS__ 1
2357#define __COPYRIGHT(s) __IDSTRING(copyright,s)
2358#define __DARWIN_1050(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050)
2359#define __DARWIN_1050ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_UNIX03)
2360#define __DARWIN_1050ALIAS_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_NON_CANCELABLE __DARWIN_SUF_UNIX03)
2361#define __DARWIN_1050ALIAS_I(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_64_BIT_INO_T __DARWIN_SUF_UNIX03)
2362#define __DARWIN_1050INODE64(sym) __asm("_" __STRING(sym) __DARWIN_SUF_1050 __DARWIN_SUF_64_BIT_INO_T)
2363#define __DARWIN_64_BIT_INO_T 0
2364#define __DARWIN_ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_UNIX03)
2365#define __DARWIN_ALIAS_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_NON_CANCELABLE __DARWIN_SUF_UNIX03)
2366#define __DARWIN_ALIAS_I(sym) __asm("_" __STRING(sym) __DARWIN_SUF_64_BIT_INO_T __DARWIN_SUF_UNIX03)
2367#define __DARWIN_ALIGN(p) ((__darwin_size_t)((char *)(p) + __DARWIN_ALIGNBYTES) &~ __DARWIN_ALIGNBYTES)
2368#define __DARWIN_ALIGNBYTES (sizeof(__darwin_size_t) - 1)
2369#define __DARWIN_BIG_ENDIAN 4321
2370#define __DARWIN_BYTE_ORDER __DARWIN_LITTLE_ENDIAN
2371#define __DARWIN_CLK_TCK 100
2372#define __DARWIN_CTYPE_TOP_static_inline static __inline
2373#define __DARWIN_CTYPE_static_inline static __inline
2374#define __DARWIN_EXTSN(sym) __asm("_" __STRING(sym) __DARWIN_SUF_EXTSN)
2375#define __DARWIN_EXTSN_C(sym) __asm("_" __STRING(sym) __DARWIN_SUF_EXTSN __DARWIN_SUF_NON_CANCELABLE)
2376#define __DARWIN_FD_CLR(n,p) do { int __fd = (n); ((p)->fds_bits[__fd/__DARWIN_NFDBITS] &= ~(1<<(__fd % __DARWIN_NFDBITS))); } while(0)
2377#define __DARWIN_FD_COPY(f,t) bcopy(f, t, sizeof(*(f)))
2378#define __DARWIN_FD_ISSET(n,p) __darwin_fd_isset((n), (p))
2379#define __DARWIN_FD_SET(n,p) do { int __fd = (n); ((p)->fds_bits[__fd/__DARWIN_NFDBITS] |= (1<<(__fd % __DARWIN_NFDBITS))); } while(0)
2380#define __DARWIN_FD_SETSIZE 1024
2381#define __DARWIN_FD_ZERO(p) __builtin_bzero(p, sizeof(*(p)))
2382#define __DARWIN_INODE64(sym) __asm("_" __STRING(sym) __DARWIN_SUF_64_BIT_INO_T)
2383#define __DARWIN_IPPORT_RESERVED 1024
2384#define __DARWIN_LDBL_COMPAT(x)
2385#define __DARWIN_LDBL_COMPAT2(x)
2386#define __DARWIN_LITTLE_ENDIAN 1234
2387#define __DARWIN_LONG_DOUBLE_IS_DOUBLE 0
2388#define __DARWIN_MAXNAMLEN 255
2389#define __DARWIN_MAXPATHLEN 1024
2390#define __DARWIN_NBBY 8
2391#define __DARWIN_NFDBITS (sizeof(__int32_t) * __DARWIN_NBBY)
2392#define __DARWIN_NON_CANCELABLE 0
2393#define __DARWIN_NO_LONG_LONG (defined(__STRICT_ANSI__) && (__STDC_VERSION__-0 < 199901L) && !defined(__GNUG__))
2394#define __DARWIN_NSIG 32
2395#define __DARWIN_NULL __null
2396#define __DARWIN_OSSwapConstInt16(x) ((__uint16_t)((((__uint16_t)(x) & 0xff00) >> 8) | (((__uint16_t)(x) & 0x00ff) << 8)))
2397#define __DARWIN_OSSwapConstInt32(x) ((__uint32_t)((((__uint32_t)(x) & 0xff000000) >> 24) | (((__uint32_t)(x) & 0x00ff0000) >> 8) | (((__uint32_t)(x) & 0x0000ff00) << 8) | (((__uint32_t)(x) & 0x000000ff) << 24)))
2398#define __DARWIN_OSSwapConstInt64(x) ((__uint64_t)((((__uint64_t)(x) & 0xff00000000000000ULL) >> 56) | (((__uint64_t)(x) & 0x00ff000000000000ULL) >> 40) | (((__uint64_t)(x) & 0x0000ff0000000000ULL) >> 24) | (((__uint64_t)(x) & 0x000000ff00000000ULL) >> 8) | (((__uint64_t)(x) & 0x00000000ff000000ULL) << 8) | (((__uint64_t)(x) & 0x0000000000ff0000ULL) << 24) | (((__uint64_t)(x) & 0x000000000000ff00ULL) << 40) | (((__uint64_t)(x) & 0x00000000000000ffULL) << 56)))
2399#define __DARWIN_OSSwapInt16(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x))
2400#define __DARWIN_OSSwapInt32(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
2401#define __DARWIN_OSSwapInt64(x) (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
2402#define __DARWIN_OS_INLINE static inline
2403#define __DARWIN_PDP_ENDIAN 3412
2404#define __DARWIN_STRUCT_DIRENTRY { __uint64_t d_ino; __uint64_t d_seekoff; __uint16_t d_reclen; __uint16_t d_namlen; __uint8_t d_type; char d_name[__DARWIN_MAXPATHLEN]; }
2405#define __DARWIN_STRUCT_STAT64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; __DARWIN_STRUCT_STAT64_TIMES off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }
2406#define __DARWIN_STRUCT_STAT64_TIMES struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec;
2407#define __DARWIN_STRUCT_STATFS64 { uint32_t f_bsize; int32_t f_iosize; uint64_t f_blocks; uint64_t f_bfree; uint64_t f_bavail; uint64_t f_files; uint64_t f_ffree; fsid_t f_fsid; uid_t f_owner; uint32_t f_type; uint32_t f_flags; uint32_t f_fssubtype; char f_fstypename[MFSTYPENAMELEN]; char f_mntonname[MAXPATHLEN]; char f_mntfromname[MAXPATHLEN]; uint32_t f_reserved[8]; }
2408#define __DARWIN_SUF_1050 "$1050"
2409#define __DARWIN_SUF_64_BIT_INO_T
2410#define __DARWIN_SUF_EXTSN "$DARWIN_EXTSN"
2411#define __DARWIN_SUF_NON_CANCELABLE
2412#define __DARWIN_SUF_UNIX03 "$UNIX2003"
2413#define __DARWIN_SUF_UNIX03_SET 1
2414#define __DARWIN_UNIX03 1
2415#define __DARWIN_VERS_1050 1
2416#define __DARWIN_WCHAR_MAX __WCHAR_MAX__
2417#define __DARWIN_WCHAR_MIN (-0x7fffffff - 1)
2418#define __DARWIN_WCTYPE_TOP_static_inline static __inline
2419#define __DARWIN_WEOF ((__darwin_wint_t)-1)
2420#define __DARWIN_howmany(x,y) (((x) + ((y) - 1)) / (y))
2421#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2422#define __DBL_DIG__ 15
2423#define __DBL_EPSILON__ 2.2204460492503131e-16
2424#define __DBL_HAS_DENORM__ 1
2425#define __DBL_HAS_INFINITY__ 1
2426#define __DBL_HAS_QUIET_NAN__ 1
2427#define __DBL_MANT_DIG__ 53
2428#define __DBL_MAX_10_EXP__ 308
2429#define __DBL_MAX_EXP__ 1024
2430#define __DBL_MAX__ 1.7976931348623157e+308
2431#define __DBL_MIN_10_EXP__ (-307)
2432#define __DBL_MIN_EXP__ (-1021)
2433#define __DBL_MIN__ 2.2250738585072014e-308
2434#define __DECIMAL_DIG__ 21
2435#define __DEPRECATED 1
2436#define __DTF_READALL 0x0008
2437#define __DYNAMIC__ 1
2438#define __END_DECLS }
2439#define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 1060
2440#define __FINITE_MATH_ONLY__ 0
2441#define __FLT_DENORM_MIN__ 1.40129846e-45F
2442#define __FLT_DIG__ 6
2443#define __FLT_EPSILON__ 1.19209290e-7F
2444#define __FLT_EVAL_METHOD__ 0
2445#define __FLT_HAS_DENORM__ 1
2446#define __FLT_HAS_INFINITY__ 1
2447#define __FLT_HAS_QUIET_NAN__ 1
2448#define __FLT_MANT_DIG__ 24
2449#define __FLT_MAX_10_EXP__ 38
2450#define __FLT_MAX_EXP__ 128
2451#define __FLT_MAX__ 3.40282347e+38F
2452#define __FLT_MIN_10_EXP__ (-37)
2453#define __FLT_MIN_EXP__ (-125)
2454#define __FLT_MIN__ 1.17549435e-38F
2455#define __FLT_RADIX__ 2
2456#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
2457#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
2458#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
2459#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
2460#define __GCC_ATOMIC_INT_LOCK_FREE 2
2461#define __GCC_ATOMIC_LLONG_LOCK_FREE 1
2462#define __GCC_ATOMIC_LONG_LOCK_FREE 2
2463#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
2464#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
2465#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
2466#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
2467#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
2468#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1
2469#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
2470#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
2471#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
2472#define __GNUC_GNU_INLINE__ 1
2473#define __GNUC_MINOR__ 2
2474#define __GNUC_PATCHLEVEL__ 1
2475#define __GNUC_VA_LIST 1
2476#define __GNUC__ 4
2477#define __GNUG__ 4
2478#define __GXX_ABI_VERSION 1002
2479#define __GXX_RTTI 1
2480#define __GXX_WEAK__ 1
2481#define __IDSTRING(name,string) static const char name[] __unused = string
2482#define __INT16_TYPE__ short
2483#define __INT32_TYPE__ int
2484#define __INT64_C(c) c ## LL
2485#define __INT64_C_SUFFIX__ LL
2486#define __INT64_TYPE__ long long int
2487#define __INT8_TYPE__ char
2488#define __INTMAX_MAX__ 9223372036854775807LL
2489#define __INTMAX_TYPE__ long long int
2490#define __INTMAX_WIDTH__ 64
2491#define __INTPTR_TYPE__ long int
2492#define __INTPTR_WIDTH__ 32
2493#define __INT_MAX__ 2147483647
2494#define __IPV6_ADDR_MC_SCOPE(a) ((a)->s6_addr[1] & 0x0f)
2495#define __IPV6_ADDR_SCOPE_GLOBAL 0x0e
2496#define __IPV6_ADDR_SCOPE_LINKLOCAL 0x02
2497#define __IPV6_ADDR_SCOPE_NODELOCAL 0x01
2498#define __IPV6_ADDR_SCOPE_ORGLOCAL 0x08
2499#define __IPV6_ADDR_SCOPE_SITELOCAL 0x05
2500#define __KAME_VERSION "20010528/apple-darwin"
2501#define __KAME__
2502#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
2503#define __LDBL_DIG__ 18
2504#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
2505#define __LDBL_HAS_DENORM__ 1
2506#define __LDBL_HAS_INFINITY__ 1
2507#define __LDBL_HAS_QUIET_NAN__ 1
2508#define __LDBL_MANT_DIG__ 64
2509#define __LDBL_MAX_10_EXP__ 4932
2510#define __LDBL_MAX_EXP__ 16384
2511#define __LDBL_MAX__ 1.18973149535723176502e+4932L
2512#define __LDBL_MIN_10_EXP__ (-4931)
2513#define __LDBL_MIN_EXP__ (-16381)
2514#define __LDBL_MIN__ 3.36210314311209350626e-4932L
2515#define __LITTLE_ENDIAN__ 1
2516#define __LONG_LONG_MAX__ 9223372036854775807LL
2517#define __LONG_MAX__ 2147483647L
2518#define __MACH__ 1
2519#define __MMX__ 1
2520#define __NO_MATH_INLINES 1
2521#define __OPTIMIZE__ 1
2522#define __ORDER_BIG_ENDIAN__ 4321
2523#define __ORDER_LITTLE_ENDIAN__ 1234
2524#define __ORDER_PDP_ENDIAN__ 3412
2525#define __P(protos) protos
2526#define __PIC__ 2
2527#define __POINTER_WIDTH__ 32
2528#define __PRAGMA_REDEFINE_EXTNAME 1
2529#define __PROJECT_VERSION(s) __IDSTRING(project_version,s)
2530#define __PTHREAD_ATTR_SIZE__ 36
2531#define __PTHREAD_CONDATTR_SIZE__ 4
2532#define __PTHREAD_COND_SIZE__ 24
2533#define __PTHREAD_MUTEXATTR_SIZE__ 8
2534#define __PTHREAD_MUTEX_SIZE__ 40
2535#define __PTHREAD_ONCE_SIZE__ 4
2536#define __PTHREAD_RWLOCKATTR_SIZE__ 12
2537#define __PTHREAD_RWLOCK_SIZE__ 124
2538#define __PTHREAD_SIZE__ 596
2539#define __PTRDIFF_TYPE__ int
2540#define __PTRDIFF_WIDTH__ 32
2541#define __RCSID(s) __IDSTRING(rcsid,s)
2542#define __REGISTER_PREFIX__
2543#define __SALC 0x4000
2544#define __SAPP 0x0100
2545#define __SCCSID(s) __IDSTRING(sccsid,s)
2546#define __SCHAR_MAX__ 127
2547#define __SCHED_PARAM_SIZE__ 4
2548#define __SEOF 0x0020
2549#define __SERR 0x0040
2550#define __SHRT_MAX__ 32767
2551#define __SIGN 0x8000
2552#define __SIG_ATOMIC_WIDTH__ 32
2553#define __SIZEOF_DOUBLE__ 8
2554#define __SIZEOF_FLOAT__ 4
2555#define __SIZEOF_INT__ 4
2556#define __SIZEOF_LONG_DOUBLE__ 16
2557#define __SIZEOF_LONG_LONG__ 8
2558#define __SIZEOF_LONG__ 4
2559#define __SIZEOF_POINTER__ 4
2560#define __SIZEOF_PTRDIFF_T__ 4
2561#define __SIZEOF_SHORT__ 2
2562#define __SIZEOF_SIZE_T__ 4
2563#define __SIZEOF_WCHAR_T__ 4
2564#define __SIZEOF_WINT_T__ 4
2565#define __SIZE_MAX__ 4294967295UL
2566#define __SIZE_TYPE__ long unsigned int
2567#define __SIZE_WIDTH__ 32
2568#define __SLBF 0x0001
2569#define __SMBF 0x0080
2570#define __SMOD 0x2000
2571#define __SNBF 0x0002
2572#define __SNPT 0x0800
2573#define __SOFF 0x1000
2574#define __SOPT 0x0400
2575#define __SRD 0x0004
2576#define __SRW 0x0010
2577#define __SSE2_MATH__ 1
2578#define __SSE2__ 1
2579#define __SSE3__ 1
2580#define __SSE_MATH__ 1
2581#define __SSE__ 1
2582#define __SSP__ 1
2583#define __SSTR 0x0200
2584#define __STDARG_H
2585#define __STDC_HOSTED__ 1
2586#define __STDC_UTF_16__ 1
2587#define __STDC_UTF_32__ 1
2588#define __STDC__ 1
2589#define __STDDEF_H
2590#define __STRING(x) #x
2591#define __SWR 0x0008
2592#define __SYS_APPLEAPIOPTS_H__
2593#define __TARGETCONDITIONALS__
2594#define __TERMIOS_H__
2595#define __TYPES_H_
2596#define __UINT64_C(c) c ## ULL
2597#define __UINTMAX_TYPE__ long long unsigned int
2598#define __USER_LABEL_PREFIX__ _
2599#define __VERSION__ "4.2.1 Compatible Clang 3.4 (tags/RELEASE_34/final)"
2600#define __WCHAR_MAX__ 2147483647
2601#define __WCHAR_TYPE__ int
2602#define __WCHAR_WIDTH__ 32
2603#define __WCTYPE_H_
2604#define __WINT_TYPE__ int
2605#define __WINT_WIDTH__ 32
2606#define __WORDSIZE 32
2607#define __block __attribute__((__blocks__(byref)))
2608#define __clang__ 1
2609#define __clang_major__ 3
2610#define __clang_minor__ 4
2611#define __clang_patchlevel__ 0
2612#define __clang_version__ "3.4 (tags/RELEASE_34/final)"
2613#define __const const
2614#define __cplusplus 199711L
2615#define __dead
2616#define __dead2 __attribute__((__noreturn__))
2617#define __deprecated __attribute__((deprecated))
2618#define __i386 1
2619#define __i386__ 1
2620#define __inline inline
2621#define __llvm__ 1
2622#define __need_struct_sigcontext
2623#define __nocona 1
2624#define __nocona__ 1
2625#define __offsetof(type,field) ((size_t)(&((type *)0)->field))
2626#define __pic__ 2
2627#define __printflike(fmtarg,firstvararg) __attribute__((__format__ (__printf__, fmtarg, firstvararg)))
2628#define __private_extern__ extern
2629#define __pure
2630#define __pure2 __attribute__((__const__))
2631#define __restrict
2632#define __scanflike(fmtarg,firstvararg) __attribute__((__format__ (__scanf__, fmtarg, firstvararg)))
2633#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
2634#define __sfeof(p) (((p)->_flags & __SEOF) != 0)
2635#define __sferror(p) (((p)->_flags & __SERR) != 0)
2636#define __sfileno(p) ((p)->_file)
2637#define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
2638#define __signed signed
2639#define __strong
2640#define __tune_nocona__ 1
2641#define __unsafe_unretained
2642#define __unused __attribute__((__unused__))
2643#define __va_copy(d,s) __builtin_va_copy(d,s)
2644#define __volatile volatile
2645#define __weak __attribute__((objc_gc(weak)))
2646#define _tolower(c) __tolower(c)
2647#define _toupper(c) __toupper(c)
2648#define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
2649#define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
2650#define btodb(bytes,devBlockSize) ((unsigned)(bytes) / devBlockSize)
2651#define claligned(x) ((((int)(x))&CLOFSET)==0)
2652#define clbase(i) (i)
2653#define clearerr_unlocked(p) __sclearerr(p)
2654#define clrbit(a,i) (((char *)(a))[(i)/NBBY] &= ~(1<<((i)%NBBY)))
2655#define clrnd(i) (i)
2656#define cr_gid cr_groups[0]
2657#define ctob(x) ((x)<<PGSHIFT)
2658#define ctod(x) ((x)<<(PGSHIFT-DEV_BSHIFT))
2659#define ctos(x) (x)
2660#define d_fileno d_ino
2661#define dbtob(db,devBlockSize) ((unsigned)(db) * devBlockSize)
2662#define dirfd(dirp) ((dirp)->__dd_fd)
2663#define dtob(x) ((x)<<DEV_BSHIFT)
2664#define dtoc(x) ((x)>>(PGSHIFT-DEV_BSHIFT))
2665#define errno (*__error())
2666#define ether_addr_octet octet
2667#define feof_unlocked(p) __sfeof(p)
2668#define ferror_unlocked(p) __sferror(p)
2669#define fileno_unlocked(p) __sfileno(p)
2670#define fropen(cookie,fn) funopen(cookie, fn, 0, 0, 0)
2671#define fwopen(cookie,fn) funopen(cookie, 0, fn, 0, 0)
2672#define getc_unlocked(fp) __sgetc(fp)
2673#define getchar_unlocked() getc_unlocked(stdin)
2674#define h_addr h_addr_list[0]
2675#define howmany(x,y) __DARWIN_howmany(x, y)
2676#define htonl(x) __DARWIN_OSSwapInt32(x)
2677#define htons(x) __DARWIN_OSSwapInt16(x)
2678#define i386 1
2679#define ifc_buf ifc_ifcu.ifcu_buf
2680#define ifc_req ifc_ifcu.ifcu_req
2681#define ifr_addr ifr_ifru.ifru_addr
2682#define ifr_broadaddr ifr_ifru.ifru_broadaddr
2683#define ifr_data ifr_ifru.ifru_data
2684#define ifr_devmtu ifr_ifru.ifru_devmtu
2685#define ifr_dstaddr ifr_ifru.ifru_dstaddr
2686#define ifr_flags ifr_ifru.ifru_flags
2687#define ifr_intval ifr_ifru.ifru_intval
2688#define ifr_kpi ifr_ifru.ifru_kpi
2689#define ifr_media ifr_ifru.ifru_media
2690#define ifr_metric ifr_ifru.ifru_metric
2691#define ifr_mtu ifr_ifru.ifru_mtu
2692#define ifr_phys ifr_ifru.ifru_phys
2693#define isclr(a,i) ((((char *)(a))[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
2694#define isset(a,i) (((char *)(a))[(i)/NBBY] & (1<<((i)%NBBY)))
2695#define ntohl(x) __DARWIN_OSSwapInt32(x)
2696#define ntohs(x) __DARWIN_OSSwapInt16(x)
2697#define offsetof(t,d) __builtin_offsetof(t, d)
2698#define powerof2(x) ((((x)-1)&(x))==0)
2699#define pseudo_AF_HDRCMPLT 35
2700#define pseudo_AF_KEY 29
2701#define pseudo_AF_PIP 25
2702#define pseudo_AF_RTIP 22
2703#define pseudo_AF_XTP 19
2704#define pthread_cleanup_pop(execute) __self->__cleanup_stack = __handler.__next; if (execute) (__handler.__routine)(__handler.__arg); }
2705#define pthread_cleanup_push(func,val) { struct __darwin_pthread_handler_rec __handler; pthread_t __self = pthread_self(); __handler.__routine = func; __handler.__arg = val; __handler.__next = __self->__cleanup_stack; __self->__cleanup_stack = &__handler;
2706#define putc_unlocked(x,fp) __sputc(x, fp)
2707#define putchar_unlocked(x) putc_unlocked(x, stdout)
2708#define roundup(x,y) ((((x)+((y)-1))/(y))*(y))
2709#define ru_first ru_ixrss
2710#define ru_last ru_nivcsw
2711#define s6_addr __u6_addr.__u6_addr8
2712#define sa_handler __sigaction_u.__sa_handler
2713#define sa_sigaction __sigaction_u.__sa_sigaction
2714#define setbit(a,i) (((char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
2715#define sigaddset(set,signo) (*(set) |= __sigbits(signo), 0)
2716#define sigdelset(set,signo) (*(set) &= ~__sigbits(signo), 0)
2717#define sigemptyset(set) (*(set) = 0, 0)
2718#define sigfillset(set) (*(set) = ~(sigset_t)0, 0)
2719#define sigismember(set,signo) ((*(set) & __sigbits(signo)) != 0)
2720#define sigmask(m) (1 << ((m)-1))
2721#define st_atime st_atimespec.tv_sec
2722#define st_birthtime st_birthtimespec.tv_sec
2723#define st_ctime st_ctimespec.tv_sec
2724#define st_mtime st_mtimespec.tv_sec
2725#define stderr __stderrp
2726#define stdin __stdinp
2727#define stdout __stdoutp
2728#define stoc(x) (x)
2729#define sv_onstack sv_flags
2730#define timeradd(tvp,uvp,vvp) do { (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; if ((vvp)->tv_usec >= 1000000) { (vvp)->tv_sec++; (vvp)->tv_usec -= 1000000; } } while (0)
2731#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
2732#define timercmp(tvp,uvp,cmp) (((tvp)->tv_sec == (uvp)->tv_sec) ? ((tvp)->tv_usec cmp (uvp)->tv_usec) : ((tvp)->tv_sec cmp (uvp)->tv_sec))
2733#define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
2734#define timersub(tvp,uvp,vvp) do { (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; if ((vvp)->tv_usec < 0) { (vvp)->tv_sec--; (vvp)->tv_usec += 1000000; } } while (0)
2735#define timevalcmp(l,r,cmp) timercmp(l, r, cmp)
2736#define va_arg(ap,type) __builtin_va_arg(ap, type)
2737#define va_copy(dest,src) __builtin_va_copy(dest, src)
2738#define va_end(ap) __builtin_va_end(ap)
2739#define va_start(ap,param) __builtin_va_start(ap, param)