]> git.proxmox.com Git - wasi-libc.git/blame - expected/wasm32-wasi/predefined-macros.txt
Don't install <ucontext.h> or <sys/ucontext.h> for WASI.
[wasi-libc.git] / expected / wasm32-wasi / predefined-macros.txt
CommitLineData
320054e8
DG
1#define ABDAY_1 0x20000
2#define ABDAY_2 0x20001
3#define ABDAY_3 0x20002
4#define ABDAY_4 0x20003
5#define ABDAY_5 0x20004
6#define ABDAY_6 0x20005
7#define ABDAY_7 0x20006
8#define ABMON_1 0x2000E
9#define ABMON_10 0x20017
10#define ABMON_11 0x20018
11#define ABMON_12 0x20019
12#define ABMON_2 0x2000F
13#define ABMON_3 0x20010
14#define ABMON_4 0x20011
15#define ABMON_5 0x20012
16#define ABMON_6 0x20013
17#define ABMON_7 0x20014
18#define ABMON_8 0x20015
19#define ABMON_9 0x20016
20#define ABORT 238
21#define ACK 04
22#define ADD ns_uop_add
23#define ADJ_ESTERROR 0x0008
24#define ADJ_FREQUENCY 0x0002
25#define ADJ_MAXERROR 0x0004
26#define ADJ_MICRO 0x1000
27#define ADJ_NANO 0x2000
28#define ADJ_OFFSET 0x0001
29#define ADJ_OFFSET_SINGLESHOT 0x8001
30#define ADJ_OFFSET_SS_READ 0xa001
31#define ADJ_SETOFFSET 0x0100
32#define ADJ_STATUS 0x0010
33#define ADJ_TAI 0x0080
34#define ADJ_TICK 0x4000
35#define ADJ_TIMECONST 0x0020
36#define AF_INET 1
37#define AF_INET6 2
38#define AF_UNIX 3
39#define AF_UNSPEC 0
40#define AIO_ALLDONE 2
41#define AIO_CANCELED 0
42#define AIO_NOTCANCELED 1
43#define ALT_DIGITS 0x2002F
44#define AM_STR 0x20026
45#define ANYMARK 0x01
46#define AO 245
47#define AREGTYPE '\0'
48#define ARFMAG "`\n"
49#define ARG_MAX 131072
50#define ARMAG "!<arch>\n"
51#define ARPD_FLUSH 0x03
52#define ARPD_LOOKUP 0x02
53#define ARPD_UPDATE 0x01
54#define ARPHRD_6LOWPAN 825
55#define ARPHRD_ADAPT 264
56#define ARPHRD_APPLETLK 8
57#define ARPHRD_ARCNET 7
58#define ARPHRD_ASH 781
59#define ARPHRD_ATM 19
60#define ARPHRD_AX25 3
61#define ARPHRD_BIF 775
62#define ARPHRD_CAIF 822
63#define ARPHRD_CAN 280
64#define ARPHRD_CHAOS 5
65#define ARPHRD_CISCO 513
66#define ARPHRD_CSLIP 257
67#define ARPHRD_CSLIP6 259
68#define ARPHRD_DDCMP 517
69#define ARPHRD_DLCI 15
70#define ARPHRD_ECONET 782
71#define ARPHRD_EETHER 2
72#define ARPHRD_ETHER 1
73#define ARPHRD_EUI64 27
74#define ARPHRD_FCAL 785
75#define ARPHRD_FCFABRIC 787
76#define ARPHRD_FCPL 786
77#define ARPHRD_FCPP 784
78#define ARPHRD_FDDI 774
79#define ARPHRD_FRAD 770
80#define ARPHRD_HDLC ARPHRD_CISCO
81#define ARPHRD_HIPPI 780
82#define ARPHRD_HWX25 272
83#define ARPHRD_IEEE1394 24
84#define ARPHRD_IEEE802 6
85#define ARPHRD_IEEE80211 801
86#define ARPHRD_IEEE80211_PRISM 802
87#define ARPHRD_IEEE80211_RADIOTAP 803
88#define ARPHRD_IEEE802154 804
89#define ARPHRD_IEEE802154_MONITOR 805
90#define ARPHRD_IEEE802_TR 800
91#define ARPHRD_INFINIBAND 32
92#define ARPHRD_IP6GRE 823
93#define ARPHRD_IPDDP 777
94#define ARPHRD_IPGRE 778
95#define ARPHRD_IRDA 783
96#define ARPHRD_LAPB 516
97#define ARPHRD_LOCALTLK 773
98#define ARPHRD_LOOPBACK 772
99#define ARPHRD_METRICOM 23
100#define ARPHRD_NETLINK 824
101#define ARPHRD_NETROM 0
102#define ARPHRD_NONE 0xFFFE
103#define ARPHRD_PHONET 820
104#define ARPHRD_PHONET_PIPE 821
105#define ARPHRD_PIMREG 779
106#define ARPHRD_PPP 512
107#define ARPHRD_PRONET 4
108#define ARPHRD_RAWHDLC 518
109#define ARPHRD_RAWIP 519
110#define ARPHRD_ROSE 270
111#define ARPHRD_RSRVD 260
112#define ARPHRD_SIT 776
113#define ARPHRD_SKIP 771
114#define ARPHRD_SLIP 256
115#define ARPHRD_SLIP6 258
116#define ARPHRD_TUNNEL 768
117#define ARPHRD_TUNNEL6 769
118#define ARPHRD_VOID 0xFFFF
119#define ARPHRD_VSOCKMON 826
120#define ARPHRD_X25 271
121#define ARPOP_InREPLY 9
122#define ARPOP_InREQUEST 8
123#define ARPOP_NAK 10
124#define ARPOP_REPLY 2
125#define ARPOP_REQUEST 1
126#define ARPOP_RREPLY 4
127#define ARPOP_RREQUEST 3
128#define ATF_COM 0x02
129#define ATF_DONTPUB 0x40
130#define ATF_MAGIC 0x80
131#define ATF_NETMASK 0x20
132#define ATF_PERM 0x04
133#define ATF_PUBL 0x08
134#define ATF_USETRAILERS 0x10
135#define AT_EACCESS (0x0)
136#define AT_REMOVEDIR (0x4)
137#define AT_SYMLINK_FOLLOW (0x2)
138#define AT_SYMLINK_NOFOLLOW (0x1)
139#define AUTHTYPE_CNT 5
140#define AUTHTYPE_KERBEROS_V4 1
141#define AUTHTYPE_KERBEROS_V5 2
142#define AUTHTYPE_MINK 4
143#define AUTHTYPE_NAME(x) authtype_names[x]
144#define AUTHTYPE_NAME_OK(x) ((unsigned int)(x) < AUTHTYPE_CNT)
145#define AUTHTYPE_NULL 0
146#define AUTHTYPE_SPX 3
147#define AUTHTYPE_TEST 99
148#define AUTH_HOW_MASK 2
149#define AUTH_HOW_MUTUAL 2
150#define AUTH_HOW_ONE_WAY 0
151#define AUTH_WHO_CLIENT 0
152#define AUTH_WHO_MASK 1
153#define AUTH_WHO_SERVER 1
154#define AYT 246
155#define B0 0000000
156#define B1000000 0010010
157#define B110 0000003
158#define B115200 0010002
159#define B1152000 0010011
160#define B1200 0000011
161#define B134 0000004
162#define B150 0000005
163#define B1500000 0010012
164#define B1800 0000012
165#define B19200 0000016
166#define B200 0000006
167#define B2000000 0010013
168#define B230400 0010003
169#define B2400 0000013
170#define B2500000 0010014
171#define B300 0000007
172#define B3000000 0010015
173#define B3500000 0010016
174#define B38400 0000017
175#define B4000000 0010017
176#define B460800 0010004
177#define B4800 0000014
178#define B50 0000001
179#define B500000 0010005
180#define B57600 0010001
181#define B576000 0010006
182#define B600 0000010
183#define B75 0000002
184#define B921600 0010007
185#define B9600 0000015
186#define BC_BASE_MAX 99
187#define BC_DIM_MAX 2048
188#define BC_SCALE_MAX 99
189#define BC_STRING_MAX 1000
190#define BIG_ENDIAN __BIG_ENDIAN
191#define BITSPERBYTE CHAR_BIT
192#define BLKTYPE '4'
193#define BLK_BYTECOUNT 2
194#define BLK_EOF 0x40
195#define BLK_EOR 0x80
196#define BLK_ERRORS 0x20
197#define BLK_RESTART 0x10
198#define BREAK 243
199#define BRKINT 0000002
200#define BS0 0000000
201#define BS1 0020000
202#define BSDLY 0020000
203#define BUFSIZ 1024
204#define BUS_ADRALN 1
205#define BUS_ADRERR 2
206#define BUS_MCEERR_AO 5
207#define BUS_MCEERR_AR 4
208#define BUS_OBJERR 3
209#define BYTE_ORDER __BYTE_ORDER
210#define CANBSIZ 255
211#define CBAUD 0010017
212#define CBAUDEX 0010000
213#define CBRK CEOL
214#define CDISCARD CTRL('o')
215#define CDSUSP CTRL('y')
216#define CEOF CTRL('d')
217#define CEOL _POSIX_VDISABLE
218#define CEOT CEOF
219#define CERASE 0177
220#define CFLUSH CDISCARD
221#define CHARBITS (sizeof(char) * 8)
222#define CHARCLASS_NAME_MAX 14
223#define CHAR_BIT 8
224#define CHAR_MAX 127
225#define CHAR_MIN (-128)
226#define CHRTYPE '3'
227#define CIBAUD 002003600000
228#define CINTR CTRL('c')
229#define CKILL CTRL('u')
230#define CLD_CONTINUED 6
231#define CLD_DUMPED 3
232#define CLD_EXITED 1
233#define CLD_KILLED 2
234#define CLD_STOPPED 5
235#define CLD_TRAPPED 4
236#define CLNEXT CTRL('v')
237#define CLOCAL 0004000
238#define CLOCKS_PER_SEC (1000000000)
239#define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
240#define CLOCK_PROCESS_CPUTIME_ID (&_CLOCK_PROCESS_CPUTIME_ID)
241#define CLOCK_REALTIME (&_CLOCK_REALTIME)
242#define CLOCK_THREAD_CPUTIME_ID (&_CLOCK_THREAD_CPUTIME_ID)
243#define CMIN 1
244#define CMPLX(x,y) __CMPLX(x, y, double)
245#define CMPLXF(x,y) __CMPLX(x, y, float)
246#define CMPLXL(x,y) __CMPLX(x, y, long double)
247#define CMSPAR 010000000000
248#define CODESET 14
249#define COLL_WEIGHTS_MAX 2
250#define COMPLETE 2
251#define CONTINUE 3
252#define CONTTYPE '7'
253#define CQUIT 034
254#define CR0 0000000
255#define CR1 0001000
256#define CR2 0002000
257#define CR3 0003000
258#define CRDLY 0003000
259#define CREAD 0000200
260#define CREPRINT CTRL('r')
261#define CRNCYSTR 0x4000F
262#define CRPRNT CREPRINT
263#define CRTSCTS 020000000000
264#define CS5 0000000
265#define CS6 0000020
266#define CS7 0000040
267#define CS8 0000060
268#define CSIZE 0000060
269#define CSTART CTRL('q')
270#define CSTATUS _POSIX_VDISABLE
271#define CSTOP CTRL('s')
272#define CSTOPB 0000100
273#define CSUSP CTRL('z')
274#define CTIME 0
275#define CTRL(x) (x&037)
276#define CWERASE CTRL('w')
277#define C_ANY ns_c_any
278#define C_CHAOS ns_c_chaos
279#define C_HS ns_c_hs
280#define C_IN ns_c_in
281#define C_IRGRP 000040
282#define C_IROTH 000004
283#define C_IRUSR 000400
284#define C_ISBLK 060000
285#define C_ISCHR 020000
286#define C_ISCTG 0110000
287#define C_ISDIR 040000
288#define C_ISFIFO 010000
289#define C_ISGID 002000
290#define C_ISLNK 0120000
291#define C_ISREG 0100000
292#define C_ISSOCK 0140000
293#define C_ISUID 004000
294#define C_ISVTX 001000
295#define C_IWGRP 000020
296#define C_IWOTH 000002
297#define C_IWUSR 000200
298#define C_IXGRP 000010
299#define C_IXOTH 000001
300#define C_IXUSR 000100
301#define C_NONE ns_c_none
302#define DATA 03
303#define DAY_1 0x20007
304#define DAY_2 0x20008
305#define DAY_3 0x20009
306#define DAY_4 0x2000A
307#define DAY_5 0x2000B
308#define DAY_6 0x2000C
309#define DAY_7 0x2000D
310#define DBL_DECIMAL_DIG 17
311#define DBL_DIG 15
312#define DBL_EPSILON 2.22044604925031308085e-16
313#define DBL_HAS_SUBNORM 1
314#define DBL_MANT_DIG 53
315#define DBL_MAX 1.79769313486231570815e+308
316#define DBL_MAX_10_EXP 308
317#define DBL_MAX_EXP 1024
318#define DBL_MIN 2.22507385850720138309e-308
319#define DBL_MIN_10_EXP (-307)
320#define DBL_MIN_EXP (-1021)
321#define DBL_TRUE_MIN 4.94065645841246544177e-324
322#define DECIMAL_DIG 36
323#define DELAYTIMER_MAX 0x7fffffff
324#define DELETE ns_uop_delete
325#define DEV_BSIZE 512
326#define DIRTYPE '5'
327#define DM 242
328#define DMAXEXP DBL_MAX_EXP
329#define DMINEXP DBL_MIN_EXP
330#define DO 253
331#define DONT 254
332#define DOUBLEBITS (sizeof(double) * 8)
333#define DT_BLK __WASI_FILETYPE_BLOCK_DEVICE
334#define DT_CHR __WASI_FILETYPE_CHARACTER_DEVICE
335#define DT_DIR __WASI_FILETYPE_DIRECTORY
336#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
337#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
338#define DT_REG __WASI_FILETYPE_REGULAR_FILE
339#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
340#define D_FMT 0x20029
341#define D_T_FMT 0x20028
342#define E2BIG __WASI_E2BIG
343#define EACCES __WASI_EACCES
344#define EACCESS 2
345#define EADDRINUSE __WASI_EADDRINUSE
346#define EADDRNOTAVAIL __WASI_EADDRNOTAVAIL
347#define EAFNOSUPPORT __WASI_EAFNOSUPPORT
348#define EAGAIN __WASI_EAGAIN
349#define EALREADY __WASI_EALREADY
350#define EBADF __WASI_EBADF
351#define EBADID 5
352#define EBADMSG __WASI_EBADMSG
353#define EBADOP 4
354#define EBUSY __WASI_EBUSY
355#define EC 247
356#define ECANCELED __WASI_ECANCELED
357#define ECHILD __WASI_ECHILD
358#define ECHO 0000010
359#define ECHOCTL 0001000
360#define ECHOE 0000020
361#define ECHOK 0000040
362#define ECHOKE 0004000
363#define ECHONL 0000100
364#define ECHOPRT 0002000
365#define ECONNABORTED __WASI_ECONNABORTED
366#define ECONNREFUSED __WASI_ECONNREFUSED
367#define ECONNRESET __WASI_ECONNRESET
368#define EDEADLK __WASI_EDEADLK
369#define EDESTADDRREQ __WASI_EDESTADDRREQ
370#define EDOM __WASI_EDOM
371#define EDQUOT __WASI_EDQUOT
372#define EEXIST __WASI_EEXIST
373#define EEXISTS 6
374#define EFAULT __WASI_EFAULT
375#define EFBIG __WASI_EFBIG
376#define EFD_CLOEXEC O_CLOEXEC
377#define EFD_NONBLOCK O_NONBLOCK
378#define EFD_SEMAPHORE 1
379#define EHOSTUNREACH __WASI_EHOSTUNREACH
380#define EIDRM __WASI_EIDRM
381#define EILSEQ __WASI_EILSEQ
382#define EINPROGRESS __WASI_EINPROGRESS
383#define EINTR __WASI_EINTR
384#define EINVAL __WASI_EINVAL
385#define EIO __WASI_EIO
386#define EISCONN __WASI_EISCONN
387#define EISDIR __WASI_EISDIR
388#define EL 248
389#define ELOOP __WASI_ELOOP
390#define EMFILE __WASI_EMFILE
391#define EMLINK __WASI_EMLINK
392#define EMSGSIZE __WASI_EMSGSIZE
393#define EMULTIHOP __WASI_EMULTIHOP
394#define ENAMETOOLONG __WASI_ENAMETOOLONG
395#define ENCRYPT_CNT 9
396#define ENCRYPT_DEC_KEYID 8
397#define ENCRYPT_ENC_KEYID 7
398#define ENCRYPT_END 4
399#define ENCRYPT_IS 0
400#define ENCRYPT_NAME(x) encrypt_names[x]
401#define ENCRYPT_NAME_OK(x) ((unsigned int)(x) < ENCRYPT_CNT)
402#define ENCRYPT_REPLY 2
403#define ENCRYPT_REQEND 6
404#define ENCRYPT_REQSTART 5
405#define ENCRYPT_START 3
406#define ENCRYPT_SUPPORT 1
407#define ENCTYPE_ANY 0
408#define ENCTYPE_CNT 3
409#define ENCTYPE_DES_CFB64 1
410#define ENCTYPE_DES_OFB64 2
411#define ENCTYPE_NAME(x) enctype_names[x]
412#define ENCTYPE_NAME_OK(x) ((unsigned int)(x) < ENCTYPE_CNT)
413#define ENETDOWN __WASI_ENETDOWN
414#define ENETRESET __WASI_ENETRESET
415#define ENETUNREACH __WASI_ENETUNREACH
416#define ENFILE __WASI_ENFILE
417#define ENOBUFS __WASI_ENOBUFS
418#define ENODEV __WASI_ENODEV
419#define ENOENT __WASI_ENOENT
420#define ENOEXEC __WASI_ENOEXEC
421#define ENOLCK __WASI_ENOLCK
422#define ENOLINK __WASI_ENOLINK
423#define ENOMEM __WASI_ENOMEM
424#define ENOMSG __WASI_ENOMSG
425#define ENOPROTOOPT __WASI_ENOPROTOOPT
426#define ENOSPACE 3
427#define ENOSPC __WASI_ENOSPC
428#define ENOSYS __WASI_ENOSYS
429#define ENOTCAPABLE __WASI_ENOTCAPABLE
430#define ENOTCONN __WASI_ENOTCONN
431#define ENOTDIR __WASI_ENOTDIR
432#define ENOTEMPTY __WASI_ENOTEMPTY
433#define ENOTFOUND 1
434#define ENOTRECOVERABLE __WASI_ENOTRECOVERABLE
435#define ENOTSOCK __WASI_ENOTSOCK
436#define ENOTSUP __WASI_ENOTSUP
437#define ENOTTY __WASI_ENOTTY
438#define ENOUSER 7
439#define ENV_ESC 2
440#define ENV_USERVAR 3
441#define ENXIO __WASI_ENXIO
442#define EOF (-1)
443#define EOPNOTSUPP ENOTSUP
444#define EOR 239
445#define EOVERFLOW __WASI_EOVERFLOW
446#define EOWNERDEAD __WASI_EOWNERDEAD
447#define EPERM __WASI_EPERM
448#define EPIPE __WASI_EPIPE
449#define EPROTO __WASI_EPROTO
450#define EPROTONOSUPPORT __WASI_EPROTONOSUPPORT
451#define EPROTOTYPE __WASI_EPROTOTYPE
452#define ERA 0x2002C
453#define ERANGE __WASI_ERANGE
454#define ERA_D_FMT 0x2002E
455#define ERA_D_T_FMT 0x20030
456#define ERA_T_FMT 0x20031
457#define EROFS __WASI_EROFS
458#define ERROR 05
459#define ESPIPE __WASI_ESPIPE
460#define ESRCH __WASI_ESRCH
461#define ESTALE __WASI_ESTALE
462#define ETHERMIN (ETHER_MIN_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN)
463#define ETHERMTU ETH_DATA_LEN
464#define ETHERTYPE_AARP 0x80F3
465#define ETHERTYPE_ARP 0x0806
466#define ETHERTYPE_AT 0x809B
467#define ETHERTYPE_IP 0x0800
468#define ETHERTYPE_IPV6 0x86dd
469#define ETHERTYPE_IPX 0x8137
470#define ETHERTYPE_LOOPBACK 0x9000
471#define ETHERTYPE_NTRAILER 16
472#define ETHERTYPE_PUP 0x0200
473#define ETHERTYPE_REVARP 0x8035
474#define ETHERTYPE_SPRITE 0x0500
475#define ETHERTYPE_TRAIL 0x1000
476#define ETHERTYPE_VLAN 0x8100
477#define ETHER_ADDR_LEN ETH_ALEN
478#define ETHER_CRC_LEN 4
479#define ETHER_HDR_LEN ETH_HLEN
480#define ETHER_IS_VALID_LEN(foo) ((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)
481#define ETHER_MAP_IP_MULTICAST(ipaddr,enaddr) do { (enaddr)[0] = 0x01; (enaddr)[1] = 0x00; (enaddr)[2] = 0x5e; (enaddr)[3] = ((uint8_t *)ipaddr)[1] & 0x7f; (enaddr)[4] = ((uint8_t *)ipaddr)[2]; (enaddr)[5] = ((uint8_t *)ipaddr)[3]; } while(0)
482#define ETHER_MAX_LEN (ETH_FRAME_LEN + ETHER_CRC_LEN)
483#define ETHER_MIN_LEN (ETH_ZLEN + ETHER_CRC_LEN)
484#define ETHER_TYPE_LEN 2
485#define ETH_ALEN 6
486#define ETH_DATA_LEN 1500
487#define ETH_FCS_LEN 4
488#define ETH_FRAME_LEN 1514
489#define ETH_HLEN 14
490#define ETH_MAX_MTU 0xFFFFU
491#define ETH_MIN_MTU 68
492#define ETH_P_1588 0x88F7
493#define ETH_P_8021AD 0x88A8
494#define ETH_P_8021AH 0x88E7
495#define ETH_P_8021Q 0x8100
496#define ETH_P_80221 0x8917
497#define ETH_P_802_2 0x0004
498#define ETH_P_802_3 0x0001
499#define ETH_P_802_3_MIN 0x0600
500#define ETH_P_802_EX1 0x88B5
501#define ETH_P_AARP 0x80F3
502#define ETH_P_AF_IUCV 0xFBFB
503#define ETH_P_ALL 0x0003
504#define ETH_P_AOE 0x88A2
505#define ETH_P_ARCNET 0x001A
506#define ETH_P_ARP 0x0806
507#define ETH_P_ATALK 0x809B
508#define ETH_P_ATMFATE 0x8884
509#define ETH_P_ATMMPOA 0x884c
510#define ETH_P_AX25 0x0002
511#define ETH_P_BATMAN 0x4305
512#define ETH_P_BPQ 0x08FF
513#define ETH_P_CAIF 0x00F7
514#define ETH_P_CAN 0x000C
515#define ETH_P_CANFD 0x000D
516#define ETH_P_CONTROL 0x0016
517#define ETH_P_CUST 0x6006
518#define ETH_P_DDCMP 0x0006
519#define ETH_P_DEC 0x6000
520#define ETH_P_DIAG 0x6005
521#define ETH_P_DNA_DL 0x6001
522#define ETH_P_DNA_RC 0x6002
523#define ETH_P_DNA_RT 0x6003
524#define ETH_P_DSA 0x001B
525#define ETH_P_ECONET 0x0018
526#define ETH_P_EDSA 0xDADA
527#define ETH_P_ERSPAN 0x88BE
528#define ETH_P_ERSPAN2 0x22EB
529#define ETH_P_FCOE 0x8906
530#define ETH_P_FIP 0x8914
531#define ETH_P_HDLC 0x0019
532#define ETH_P_HSR 0x892F
533#define ETH_P_IBOE 0x8915
534#define ETH_P_IEEE802154 0x00F6
535#define ETH_P_IEEEPUP 0x0a00
536#define ETH_P_IEEEPUPAT 0x0a01
537#define ETH_P_IFE 0xED3E
538#define ETH_P_IP 0x0800
539#define ETH_P_IPV6 0x86DD
540#define ETH_P_IPX 0x8137
541#define ETH_P_IRDA 0x0017
542#define ETH_P_LAT 0x6004
543#define ETH_P_LINK_CTL 0x886c
544#define ETH_P_LOCALTALK 0x0009
545#define ETH_P_LOOP 0x0060
546#define ETH_P_LOOPBACK 0x9000
547#define ETH_P_MACSEC 0x88E5
548#define ETH_P_MAP 0x00F9
549#define ETH_P_MOBITEX 0x0015
550#define ETH_P_MPLS_MC 0x8848
551#define ETH_P_MPLS_UC 0x8847
552#define ETH_P_MVRP 0x88F5
553#define ETH_P_NCSI 0x88F8
554#define ETH_P_NSH 0x894F
555#define ETH_P_PAE 0x888E
556#define ETH_P_PAUSE 0x8808
557#define ETH_P_PHONET 0x00F5
558#define ETH_P_PPPTALK 0x0010
559#define ETH_P_PPP_DISC 0x8863
560#define ETH_P_PPP_MP 0x0008
561#define ETH_P_PPP_SES 0x8864
562#define ETH_P_PREAUTH 0x88C7
563#define ETH_P_PRP 0x88FB
564#define ETH_P_PUP 0x0200
565#define ETH_P_PUPAT 0x0201
566#define ETH_P_QINQ1 0x9100
567#define ETH_P_QINQ2 0x9200
568#define ETH_P_QINQ3 0x9300
569#define ETH_P_RARP 0x8035
570#define ETH_P_SCA 0x6007
571#define ETH_P_SLOW 0x8809
572#define ETH_P_SNAP 0x0005
573#define ETH_P_TDLS 0x890D
574#define ETH_P_TEB 0x6558
575#define ETH_P_TIPC 0x88CA
576#define ETH_P_TRAILER 0x001C
577#define ETH_P_TR_802_2 0x0011
578#define ETH_P_TSN 0x22F0
579#define ETH_P_WAN_PPP 0x0007
580#define ETH_P_WCCP 0x883E
581#define ETH_P_X25 0x0805
582#define ETH_P_XDSA 0x00F8
583#define ETH_TLEN 2
584#define ETH_ZLEN 60
585#define ETIMEDOUT __WASI_ETIMEDOUT
586#define ETXTBSY __WASI_ETXTBSY
587#define EUNDEF 0
588#define EWOULDBLOCK EAGAIN
589#define EXDEV __WASI_EXDEV
590#define EXIT_FAILURE 1
591#define EXIT_SUCCESS 0
592#define EXPR_NEST_MAX 32
593#define EXTA 0000016
594#define EXTB 0000017
595#define EXTPROC 0200000
596#define EX_CANTCREAT 73
597#define EX_CONFIG 78
598#define EX_DATAERR 65
599#define EX_IOERR 74
600#define EX_NOHOST 68
601#define EX_NOINPUT 66
602#define EX_NOPERM 77
603#define EX_NOUSER 67
604#define EX_OK 0
605#define EX_OSERR 71
606#define EX_OSFILE 72
607#define EX_PROTOCOL 76
608#define EX_SOFTWARE 70
609#define EX_TEMPFAIL 75
610#define EX_UNAVAILABLE 69
611#define EX_USAGE 64
612#define EX__BASE 64
613#define EX__MAX 78
614#define FD_CLOEXEC (1)
615#define FD_CLR(fd,set) FD_CLR((fd), (set))
616#define FD_COPY(from,to) FD_COPY(from, to)
617#define FD_ISSET(fd,set) FD_ISSET((fd), (set))
618#define FD_SET(fd,set) FD_SET((fd), (set))
619#define FD_SETSIZE 1024
620#define FD_ZERO(set) FD_ZERO((set))
621#define FE_ALL_EXCEPT 0
622#define FE_DFL_ENV ((const fenv_t *) -1)
623#define FE_TONEAREST 0
624#define FF0 0000000
625#define FF1 0100000
626#define FFDLY 0100000
627#define FIFOTYPE '6'
628#define FILENAME_MAX 4096
629#define FILESIZEBITS 64
630#define FIONBIO 2
631#define FIONREAD 1
632#define FLOATBITS (sizeof(float) * 8)
633#define FLT_DECIMAL_DIG 9
634#define FLT_DIG 6
635#define FLT_EPSILON 1.1920928955078125e-07F
636#define FLT_EVAL_METHOD 0
637#define FLT_HAS_SUBNORM 1
638#define FLT_MANT_DIG 24
639#define FLT_MAX 3.40282346638528859812e+38F
640#define FLT_MAX_10_EXP 38
641#define FLT_MAX_EXP 128
642#define FLT_MIN 1.17549435082228750797e-38F
643#define FLT_MIN_10_EXP (-37)
644#define FLT_MIN_EXP (-125)
645#define FLT_RADIX 2
646#define FLT_ROUNDS (__builtin_flt_rounds())
647#define FLT_TRUE_MIN 1.40129846432481707092e-45F
648#define FLUSHBAND 0x04
649#define FLUSHO 0010000
650#define FLUSHR 0x01
651#define FLUSHRW 0x03
652#define FLUSHW 0x02
653#define FMAXEXP FLT_MAX_EXP
654#define FMINEXP FLT_MIN_EXP
655#define FMNAMESZ 8
656#define FNM_CASEFOLD 0x10
657#define FNM_FILE_NAME FNM_PATHNAME
658#define FNM_LEADING_DIR 0x8
659#define FNM_NOESCAPE 0x2
660#define FNM_NOMATCH 1
661#define FNM_NOSYS (-1)
662#define FNM_PATHNAME 0x1
663#define FNM_PERIOD 0x4
664#define FOPEN_MAX 1000
665#define FORMERR ns_r_formerr
666#define FORM_C 3
667#define FORM_N 1
668#define FORM_T 2
669#define FPE_FLTDIV 3
670#define FPE_FLTINV 7
671#define FPE_FLTOVF 4
672#define FPE_FLTRES 6
673#define FPE_FLTSUB 8
674#define FPE_FLTUND 5
675#define FPE_INTDIV 1
676#define FPE_INTOVF 2
677#define FP_ILOGB0 FP_ILOGBNAN
678#define FP_ILOGBNAN (-1-0x7fffffff)
679#define FP_INFINITE 1
680#define FP_NAN 0
681#define FP_NORMAL 4
682#define FP_SUBNORMAL 3
683#define FP_ZERO 2
684#define FSETLOCKING_BYCALLER 2
685#define FSETLOCKING_INTERNAL 1
686#define FSETLOCKING_QUERY 0
687#define FTW_CHDIR 4
688#define FTW_D 2
689#define FTW_DEPTH 8
690#define FTW_DNR 3
691#define FTW_DP 6
692#define FTW_F 1
693#define FTW_MOUNT 2
694#define FTW_NS 4
695#define FTW_PHYS 1
696#define FTW_SL 5
697#define FTW_SLN 7
698#define F_GETFD (1)
699#define F_GETFL (3)
700#define F_LOCK 1
701#define F_OK 0
702#define F_SETFD (2)
703#define F_SETFL (4)
704#define F_TEST 3
705#define F_TLOCK 2
706#define F_ULOCK 0
707#define GA 249
708#define GETLONG NS_GET32
709#define GETSHORT NS_GET16
710#define GLOB_ABORTED 2
711#define GLOB_APPEND 0x20
712#define GLOB_DOOFFS 0x08
713#define GLOB_ERR 0x01
714#define GLOB_MARK 0x02
715#define GLOB_NOCHECK 0x10
716#define GLOB_NOESCAPE 0x40
717#define GLOB_NOMATCH 3
718#define GLOB_NOSORT 0x04
719#define GLOB_NOSPACE 1
720#define GLOB_NOSYS 4
721#define GLOB_PERIOD 0x80
722#define GRND_NONBLOCK 0x0001
723#define GRND_RANDOM 0x0002
724#define GROUP_FILTER_SIZE(numsrc) (sizeof(struct group_filter) - sizeof(struct sockaddr_storage) + (numsrc) * sizeof(struct sockaddr_storage))
725#define HFIXEDSZ NS_HFIXEDSZ
726#define HIBITL MINLONG
727#define HIBITS MINSHORT
728#define HOST_NAME_MAX 255
729#define HUGE 3.40282346638528859812e+38F
730#define HUGE_VAL ((double)INFINITY)
731#define HUGE_VALF INFINITY
732#define HUGE_VALL ((long double)INFINITY)
733#define HUPCL 0002000
734#define I _Complex_I
735#define IAC 255
736#define ICANON 0000002
737#define ICMP6_DST_UNREACH 1
738#define ICMP6_DST_UNREACH_ADDR 3
739#define ICMP6_DST_UNREACH_ADMIN 1
740#define ICMP6_DST_UNREACH_BEYONDSCOPE 2
741#define ICMP6_DST_UNREACH_NOPORT 4
742#define ICMP6_DST_UNREACH_NOROUTE 0
743#define ICMP6_ECHO_REPLY 129
744#define ICMP6_ECHO_REQUEST 128
745#define ICMP6_FILTER 1
746#define ICMP6_FILTER_BLOCK 1
747#define ICMP6_FILTER_BLOCKOTHERS 3
748#define ICMP6_FILTER_PASS 2
749#define ICMP6_FILTER_PASSONLY 4
750#define ICMP6_FILTER_SETBLOCK(type,filterp) ((((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31))))
751#define ICMP6_FILTER_SETBLOCKALL(filterp) memset (filterp, 0xFF, sizeof (struct icmp6_filter));
752#define ICMP6_FILTER_SETPASS(type,filterp) ((((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) & 31))))
753#define ICMP6_FILTER_SETPASSALL(filterp) memset (filterp, 0, sizeof (struct icmp6_filter));
754#define ICMP6_FILTER_WILLBLOCK(type,filterp) ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) != 0)
755#define ICMP6_FILTER_WILLPASS(type,filterp) ((((filterp)->icmp6_filt[(type) >> 5]) & (1 << ((type) & 31))) == 0)
756#define ICMP6_INFOMSG_MASK 0x80
757#define ICMP6_PACKET_TOO_BIG 2
758#define ICMP6_PARAMPROB_HEADER 0
759#define ICMP6_PARAMPROB_NEXTHEADER 1
760#define ICMP6_PARAMPROB_OPTION 2
761#define ICMP6_PARAM_PROB 4
762#define ICMP6_ROUTER_RENUMBERING 138
763#define ICMP6_RR_FLAGS_FORCEAPPLY 0x20
764#define ICMP6_RR_FLAGS_PREVDONE 0x08
765#define ICMP6_RR_FLAGS_REQRESULT 0x40
766#define ICMP6_RR_FLAGS_SPECSITE 0x10
767#define ICMP6_RR_FLAGS_TEST 0x80
768#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40
769#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80
770#define ICMP6_RR_PCOUSE_RAFLAGS_AUTO 0x10
771#define ICMP6_RR_PCOUSE_RAFLAGS_ONLINK 0x20
772#define ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x0100
773#define ICMP6_RR_RESULT_FLAGS_OOB 0x0200
774#define ICMP6_TIME_EXCEEDED 3
775#define ICMP6_TIME_EXCEED_REASSEMBLY 1
776#define ICMP6_TIME_EXCEED_TRANSIT 0
777#define ICMP_ADDRESS 17
778#define ICMP_ADDRESSREPLY 18
779#define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
780#define ICMP_ADVLENMIN (8 + sizeof (struct ip) + 8)
781#define ICMP_DEST_UNREACH 3
782#define ICMP_ECHO 8
783#define ICMP_ECHOREPLY 0
784#define ICMP_EXC_FRAGTIME 1
785#define ICMP_EXC_TTL 0
786#define ICMP_FRAG_NEEDED 4
787#define ICMP_HOST_ANO 10
788#define ICMP_HOST_ISOLATED 8
789#define ICMP_HOST_UNKNOWN 7
790#define ICMP_HOST_UNREACH 1
791#define ICMP_HOST_UNR_TOS 12
792#define ICMP_INFOTYPE(type) ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || (type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
793#define ICMP_INFO_REPLY 16
794#define ICMP_INFO_REQUEST 15
795#define ICMP_IREQ 15
796#define ICMP_IREQREPLY 16
797#define ICMP_MASKLEN 12
798#define ICMP_MASKREPLY 18
799#define ICMP_MASKREQ 17
800#define ICMP_MAXTYPE 18
801#define ICMP_MINLEN 8
802#define ICMP_NET_ANO 9
803#define ICMP_NET_UNKNOWN 6
804#define ICMP_NET_UNREACH 0
805#define ICMP_NET_UNR_TOS 11
806#define ICMP_PARAMETERPROB 12
807#define ICMP_PARAMPROB 12
808#define ICMP_PARAMPROB_OPTABSENT 1
809#define ICMP_PKT_FILTERED 13
810#define ICMP_PORT_UNREACH 3
811#define ICMP_PREC_CUTOFF 15
812#define ICMP_PREC_VIOLATION 14
813#define ICMP_PROT_UNREACH 2
814#define ICMP_REDIRECT 5
815#define ICMP_REDIRECT_HOST 1
816#define ICMP_REDIRECT_NET 0
817#define ICMP_REDIRECT_TOSHOST 3
818#define ICMP_REDIRECT_TOSNET 2
819#define ICMP_REDIR_HOST 1
820#define ICMP_REDIR_HOSTTOS 3
821#define ICMP_REDIR_NET 0
822#define ICMP_REDIR_NETTOS 2
823#define ICMP_ROUTERADVERT 9
824#define ICMP_ROUTERSOLICIT 10
825#define ICMP_SOURCEQUENCH 4
826#define ICMP_SOURCE_QUENCH 4
827#define ICMP_SR_FAILED 5
828#define ICMP_TIMESTAMP 13
829#define ICMP_TIMESTAMPREPLY 14
830#define ICMP_TIME_EXCEEDED 11
831#define ICMP_TIMXCEED 11
832#define ICMP_TIMXCEED_INTRANS 0
833#define ICMP_TIMXCEED_REASS 1
834#define ICMP_TSLEN (8 + 3 * sizeof (n_time))
835#define ICMP_TSTAMP 13
836#define ICMP_TSTAMPREPLY 14
837#define ICMP_UNREACH 3
838#define ICMP_UNREACH_FILTER_PROHIB 13
839#define ICMP_UNREACH_HOST 1
840#define ICMP_UNREACH_HOST_PRECEDENCE 14
841#define ICMP_UNREACH_HOST_PROHIB 10
842#define ICMP_UNREACH_HOST_UNKNOWN 7
843#define ICMP_UNREACH_ISOLATED 8
844#define ICMP_UNREACH_NEEDFRAG 4
845#define ICMP_UNREACH_NET 0
846#define ICMP_UNREACH_NET_PROHIB 9
847#define ICMP_UNREACH_NET_UNKNOWN 6
848#define ICMP_UNREACH_PORT 3
849#define ICMP_UNREACH_PRECEDENCE_CUTOFF 15
850#define ICMP_UNREACH_PROTOCOL 2
851#define ICMP_UNREACH_SRCFAIL 5
852#define ICMP_UNREACH_TOSHOST 12
853#define ICMP_UNREACH_TOSNET 11
854#define ICRNL 0000400
855#define IEXTEN 0100000
856#define IFF_ALLMULTI 0x200
857#define IFF_AUTOMEDIA 0x4000
858#define IFF_BROADCAST 0x2
859#define IFF_DEBUG 0x4
860#define IFF_DORMANT 0x20000
861#define IFF_DYNAMIC 0x8000
862#define IFF_ECHO 0x40000
863#define IFF_LOOPBACK 0x8
864#define IFF_LOWER_UP 0x10000
865#define IFF_MASTER 0x400
866#define IFF_MULTICAST 0x1000
867#define IFF_NOARP 0x80
868#define IFF_NOTRAILERS 0x20
869#define IFF_POINTOPOINT 0x10
870#define IFF_PORTSEL 0x2000
871#define IFF_PROMISC 0x100
872#define IFF_RUNNING 0x40
873#define IFF_SLAVE 0x800
874#define IFF_UP 0x1
875#define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| IFF_ECHO|IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT)
876#define IFHWADDRLEN 6
877#define IFNAMSIZ IF_NAMESIZE
878#define IF_NAMESIZE 16
879#define IGMP_AWAKENING_MEMBER 5
880#define IGMP_DELAYING_MEMBER 1
881#define IGMP_DVMRP 0x13
882#define IGMP_HOST_LEAVE_MESSAGE IGMP_V2_LEAVE_GROUP
883#define IGMP_HOST_MEMBERSHIP_QUERY IGMP_MEMBERSHIP_QUERY
884#define IGMP_HOST_MEMBERSHIP_REPORT IGMP_V1_MEMBERSHIP_REPORT
885#define IGMP_HOST_NEW_MEMBERSHIP_REPORT IGMP_V2_MEMBERSHIP_REPORT
886#define IGMP_IDLE_MEMBER 2
887#define IGMP_LAZY_MEMBER 3
888#define IGMP_MAX_HOST_REPORT_DELAY 10
889#define IGMP_MEMBERSHIP_QUERY 0x11
890#define IGMP_MINLEN 8
891#define IGMP_MTRACE 0x1f
892#define IGMP_MTRACE_RESP 0x1e
893#define IGMP_PIM 0x14
894#define IGMP_SLEEPING_MEMBER 4
895#define IGMP_TIMER_SCALE 10
896#define IGMP_TRACE 0x15
897#define IGMP_V1_MEMBERSHIP_REPORT 0x12
898#define IGMP_V2_LEAVE_GROUP 0x17
899#define IGMP_V2_MEMBERSHIP_REPORT 0x16
900#define IGMP_v1_ROUTER 1
901#define IGMP_v2_ROUTER 2
902#define IGNBRK 0000001
903#define IGNCR 0000200
904#define IGNPAR 0000004
905#define ILL_BADSTK 8
906#define ILL_COPROC 7
907#define ILL_ILLADR 3
908#define ILL_ILLOPC 1
909#define ILL_ILLOPN 2
910#define ILL_ILLTRP 4
911#define ILL_PRVOPC 5
912#define ILL_PRVREG 6
913#define IMAXBEL 0020000
914#define IN6ADDRSZ NS_IN6ADDRSZ
915#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
916#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
917#define IN6_ARE_ADDR_EQUAL(a,b) __ARE_4_EQUAL((const uint32_t *)(a), (const uint32_t *)(b))
918#define IN6_IS_ADDR_LINKLOCAL(a) ((((uint8_t *) (a))[0]) == 0xfe && (((uint8_t *) (a))[1] & 0xc0) == 0x80)
919#define IN6_IS_ADDR_LOOPBACK(a) (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && ((uint32_t *) (a))[2] == 0 && ((uint8_t *) (a))[12] == 0 && ((uint8_t *) (a))[13] == 0 && ((uint8_t *) (a))[14] == 0 && ((uint8_t *) (a))[15] == 1 )
920#define IN6_IS_ADDR_MC_GLOBAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0xe))
921#define IN6_IS_ADDR_MC_LINKLOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0x2))
922#define IN6_IS_ADDR_MC_NODELOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0x1))
923#define IN6_IS_ADDR_MC_ORGLOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0x8))
924#define IN6_IS_ADDR_MC_SITELOCAL(a) (IN6_IS_ADDR_MULTICAST(a) && ((((uint8_t *) (a))[1] & 0xf) == 0x5))
925#define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
926#define IN6_IS_ADDR_SITELOCAL(a) ((((uint8_t *) (a))[0]) == 0xfe && (((uint8_t *) (a))[1] & 0xc0) == 0xc0)
927#define IN6_IS_ADDR_UNSPECIFIED(a) (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && ((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == 0)
928#define IN6_IS_ADDR_V4COMPAT(a) (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && ((uint32_t *) (a))[2] == 0 && ((uint8_t *) (a))[15] > 1)
929#define IN6_IS_ADDR_V4MAPPED(a) (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && ((uint8_t *) (a))[8] == 0 && ((uint8_t *) (a))[9] == 0 && ((uint8_t *) (a))[10] == 0xff && ((uint8_t *) (a))[11] == 0xff)
930#define INADDRSZ NS_INADDRSZ
931#define INADDR_ALLHOSTS_GROUP ((in_addr_t) 0xe0000001)
932#define INADDR_ALLRTRS_GROUP ((in_addr_t) 0xe0000002)
933#define INADDR_ANY ((in_addr_t) 0x00000000)
934#define INADDR_BROADCAST ((in_addr_t) 0xffffffff)
935#define INADDR_LOOPBACK ((in_addr_t) 0x7f000001)
936#define INADDR_MAX_LOCAL_GROUP ((in_addr_t) 0xe00000ff)
937#define INADDR_NONE ((in_addr_t) 0xffffffff)
938#define INADDR_UNSPEC_GROUP ((in_addr_t) 0xe0000000)
939#define INDIR_MASK NS_CMPRSFLGS
940#define INET6_ADDRSTRLEN 46
941#define INET_ADDRSTRLEN 16
942#define INFINITY 1e5000f
943#define INLCR 0000100
944#define INPCK 0000020
945#define INT16SZ NS_INT16SZ
946#define INT16_C(c) c
947#define INT16_MAX (0x7fff)
948#define INT16_MIN (-1-0x7fff)
949#define INT32SZ NS_INT32SZ
950#define INT32_C(c) c
951#define INT32_MAX (0x7fffffff)
952#define INT32_MIN (-1-0x7fffffff)
953#define INT64_C(c) c ## LL
954#define INT64_MAX (0x7fffffffffffffff)
955#define INT64_MIN (-1-0x7fffffffffffffff)
956#define INT8SZ NS_INT8SZ
957#define INT8_C(c) c
958#define INT8_MAX (0x7f)
959#define INT8_MIN (-1-0x7f)
960#define INTBITS (sizeof(int) * 8)
961#define INTMAX_C(c) c ## LL
962#define INTMAX_MAX INT64_MAX
963#define INTMAX_MIN INT64_MIN
964#define INTPTR_MAX INT32_MAX
965#define INTPTR_MIN INT32_MIN
966#define INT_FAST16_MAX INT16_MAX
967#define INT_FAST16_MIN INT16_MIN
968#define INT_FAST32_MAX INT32_MAX
969#define INT_FAST32_MIN INT32_MIN
970#define INT_FAST64_MAX INT64_MAX
971#define INT_FAST64_MIN INT64_MIN
972#define INT_FAST8_MAX INT8_MAX
973#define INT_FAST8_MIN INT8_MIN
974#define INT_LEAST16_MAX INT16_MAX
975#define INT_LEAST16_MIN INT16_MIN
976#define INT_LEAST32_MAX INT32_MAX
977#define INT_LEAST32_MIN INT32_MIN
978#define INT_LEAST64_MAX INT64_MAX
979#define INT_LEAST64_MIN INT64_MIN
980#define INT_LEAST8_MAX INT8_MAX
981#define INT_LEAST8_MIN INT8_MIN
982#define INT_MAX 0x7fffffff
983#define INT_MIN (-1-0x7fffffff)
984#define IN_BADCLASS(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xf0000000)
985#define IN_CLASSA(a) ((((in_addr_t)(a)) & 0x80000000) == 0)
986#define IN_CLASSA_HOST (0xffffffff & ~IN_CLASSA_NET)
987#define IN_CLASSA_MAX 128
988#define IN_CLASSA_NET 0xff000000
989#define IN_CLASSA_NSHIFT 24
990#define IN_CLASSB(a) ((((in_addr_t)(a)) & 0xc0000000) == 0x80000000)
991#define IN_CLASSB_HOST (0xffffffff & ~IN_CLASSB_NET)
992#define IN_CLASSB_MAX 65536
993#define IN_CLASSB_NET 0xffff0000
994#define IN_CLASSB_NSHIFT 16
995#define IN_CLASSC(a) ((((in_addr_t)(a)) & 0xe0000000) == 0xc0000000)
996#define IN_CLASSC_HOST (0xffffffff & ~IN_CLASSC_NET)
997#define IN_CLASSC_NET 0xffffff00
998#define IN_CLASSC_NSHIFT 8
999#define IN_CLASSD(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xe0000000)
1000#define IN_EXPERIMENTAL(a) ((((in_addr_t)(a)) & 0xe0000000) == 0xe0000000)
1001#define IN_LOOPBACKNET 127
1002#define IN_MULTICAST(a) IN_CLASSD(a)
1003#define IOV_MAX 1024
1004#define IP 244
1005#define IP6F_MORE_FRAG 0x0100
1006#define IP6F_OFF_MASK 0xf8ff
1007#define IP6F_RESERVED_MASK 0x0600
1008#define IP6OPT_JUMBO 0xc2
1009#define IP6OPT_JUMBO_LEN 6
1010#define IP6OPT_NSAP_ADDR 0xc3
1011#define IP6OPT_PAD1 0
1012#define IP6OPT_PADN 1
1013#define IP6OPT_ROUTER_ALERT 0x05
1014#define IP6OPT_TUNNEL_LIMIT 0x04
1015#define IP6OPT_TYPE(o) ((o) & 0xc0)
1016#define IP6OPT_TYPE_DISCARD 0x40
1017#define IP6OPT_TYPE_FORCEICMP 0x80
1018#define IP6OPT_TYPE_ICMP 0xc0
1019#define IP6OPT_TYPE_MUTABLE 0x20
1020#define IP6OPT_TYPE_SKIP 0x00
1021#define IP6_ALERT_AN 0x0200
1022#define IP6_ALERT_MLD 0x0000
1023#define IP6_ALERT_RSVP 0x0100
1024#define IPDEFTTL 64
1025#define IPFRAGTTL 60
1026#define IPOPT_CLASS(o) ((o) & IPOPT_CLASS_MASK)
1027#define IPOPT_CLASS_MASK 0x60
1028#define IPOPT_CONTROL 0x00
1029#define IPOPT_COPIED(o) ((o) & IPOPT_COPY)
1030#define IPOPT_COPY 0x80
1031#define IPOPT_DEBMEAS 0x40
1032#define IPOPT_END IPOPT_EOL
1033#define IPOPT_EOL 0
1034#define IPOPT_LSRR 131
1035#define IPOPT_MEASUREMENT IPOPT_DEBMEAS
1036#define IPOPT_MINOFF 4
1037#define IPOPT_NOOP IPOPT_NOP
1038#define IPOPT_NOP 1
1039#define IPOPT_NUMBER(o) ((o) & IPOPT_NUMBER_MASK)
1040#define IPOPT_NUMBER_MASK 0x1f
1041#define IPOPT_OFFSET 2
1042#define IPOPT_OLEN 1
1043#define IPOPT_OPTVAL 0
1044#define IPOPT_RA 148
1045#define IPOPT_RESERVED1 0x20
1046#define IPOPT_RESERVED2 0x60
1047#define IPOPT_RR 7
1048#define IPOPT_SATID 136
1049#define IPOPT_SEC IPOPT_SECURITY
1050#define IPOPT_SECURITY 130
1051#define IPOPT_SECUR_CONFID 0xf135
1052#define IPOPT_SECUR_EFTO 0x789a
1053#define IPOPT_SECUR_MMMM 0xbc4d
1054#define IPOPT_SECUR_RESTR 0xaf13
1055#define IPOPT_SECUR_SECRET 0xd788
1056#define IPOPT_SECUR_TOPSECRET 0x6bc5
1057#define IPOPT_SECUR_UNCLASS 0x0000
1058#define IPOPT_SID IPOPT_SATID
1059#define IPOPT_SSRR 137
1060#define IPOPT_TIMESTAMP IPOPT_TS
1061#define IPOPT_TS 68
1062#define IPOPT_TS_PRESPEC 3
1063#define IPOPT_TS_TSANDADDR 1
1064#define IPOPT_TS_TSONLY 0
1065#define IPPORT_RESERVED 1024
1066#define IPPROTO_ICMP 1
1067#define IPPROTO_IP 0
1068#define IPPROTO_IPV6 41
1069#define IPPROTO_RAW 255
1070#define IPPROTO_TCP 6
1071#define IPPROTO_UDP 17
1072#define IPTOS_CLASS(x) ((x) & IPTOS_CLASS_MASK)
1073#define IPTOS_CLASS_CS0 0x00
1074#define IPTOS_CLASS_CS1 0x20
1075#define IPTOS_CLASS_CS2 0x40
1076#define IPTOS_CLASS_CS3 0x60
1077#define IPTOS_CLASS_CS4 0x80
1078#define IPTOS_CLASS_CS5 0xa0
1079#define IPTOS_CLASS_CS6 0xc0
1080#define IPTOS_CLASS_CS7 0xe0
1081#define IPTOS_CLASS_DEFAULT IPTOS_CLASS_CS0
1082#define IPTOS_CLASS_MASK 0xe0
1083#define IPTOS_DSCP(x) ((x) & IPTOS_DSCP_MASK)
1084#define IPTOS_DSCP_AF11 0x28
1085#define IPTOS_DSCP_AF12 0x30
1086#define IPTOS_DSCP_AF13 0x38
1087#define IPTOS_DSCP_AF21 0x48
1088#define IPTOS_DSCP_AF22 0x50
1089#define IPTOS_DSCP_AF23 0x58
1090#define IPTOS_DSCP_AF31 0x68
1091#define IPTOS_DSCP_AF32 0x70
1092#define IPTOS_DSCP_AF33 0x78
1093#define IPTOS_DSCP_AF41 0x88
1094#define IPTOS_DSCP_AF42 0x90
1095#define IPTOS_DSCP_AF43 0x98
1096#define IPTOS_DSCP_EF 0xb8
1097#define IPTOS_DSCP_MASK 0xfc
1098#define IPTOS_ECN(x) ((x) & IPTOS_ECN_MASK)
1099#define IPTOS_ECN_CE 0x03
1100#define IPTOS_ECN_ECT0 0x02
1101#define IPTOS_ECN_ECT1 0x01
1102#define IPTOS_ECN_MASK 0x03
1103#define IPTOS_ECN_NOT_ECT 0x00
1104#define IPTOS_LOWCOST 0x02
1105#define IPTOS_LOWDELAY 0x10
1106#define IPTOS_MINCOST IPTOS_LOWCOST
1107#define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK)
1108#define IPTOS_PREC_CRITIC_ECP 0xa0
1109#define IPTOS_PREC_FLASH 0x60
1110#define IPTOS_PREC_FLASHOVERRIDE 0x80
1111#define IPTOS_PREC_IMMEDIATE 0x40
1112#define IPTOS_PREC_INTERNETCONTROL 0xc0
1113#define IPTOS_PREC_MASK 0xe0
1114#define IPTOS_PREC_NETCONTROL 0xe0
1115#define IPTOS_PREC_PRIORITY 0x20
1116#define IPTOS_PREC_ROUTINE 0x00
1117#define IPTOS_RELIABILITY 0x04
1118#define IPTOS_THROUGHPUT 0x08
1119#define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK)
1120#define IPTOS_TOS_MASK 0x1E
1121#define IPTTLDEC 1
1122#define IPV6_2292DSTOPTS 4
1123#define IPV6_2292HOPLIMIT 8
1124#define IPV6_2292HOPOPTS 3
1125#define IPV6_2292PKTINFO 2
1126#define IPV6_2292PKTOPTIONS 6
1127#define IPV6_2292RTHDR 5
1128#define IPV6_ADDRFORM 1
1129#define IPV6_ADDR_PREFERENCES 72
1130#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
1131#define IPV6_AUTHHDR 10
1132#define IPV6_AUTOFLOWLABEL 70
1133#define IPV6_CHECKSUM 7
1134#define IPV6_DONTFRAG 62
1135#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
1136#define IPV6_DSTOPTS 59
1137#define IPV6_FREEBIND 78
1138#define IPV6_HDRINCL 36
1139#define IPV6_HOPLIMIT 52
1140#define IPV6_HOPOPTS 54
1141#define IPV6_IPSEC_POLICY 34
1142#define IPV6_JOIN_ANYCAST 27
1143#define IPV6_JOIN_GROUP 20
1144#define IPV6_LEAVE_ANYCAST 28
1145#define IPV6_LEAVE_GROUP 21
1146#define IPV6_MINHOPCOUNT 73
1147#define IPV6_MTU 24
1148#define IPV6_MTU_DISCOVER 23
1149#define IPV6_MULTICAST_HOPS 18
1150#define IPV6_MULTICAST_IF 17
1151#define IPV6_MULTICAST_LOOP 19
1152#define IPV6_NEXTHOP 9
1153#define IPV6_ORIGDSTADDR 74
1154#define IPV6_PATHMTU 61
1155#define IPV6_PKTINFO 50
1156#define IPV6_PMTUDISC_DO 2
1157#define IPV6_PMTUDISC_DONT 0
1158#define IPV6_PMTUDISC_INTERFACE 4
1159#define IPV6_PMTUDISC_OMIT 5
1160#define IPV6_PMTUDISC_PROBE 3
1161#define IPV6_PMTUDISC_WANT 1
1162#define IPV6_PREFER_SRC_CGA 0x0008
1163#define IPV6_PREFER_SRC_COA 0x0004
1164#define IPV6_PREFER_SRC_HOME 0x0400
1165#define IPV6_PREFER_SRC_NONCGA 0x0800
1166#define IPV6_PREFER_SRC_PUBLIC 0x0002
1167#define IPV6_PREFER_SRC_PUBTMP_DEFAULT 0x0100
1168#define IPV6_PREFER_SRC_TMP 0x0001
1169#define IPV6_RECVDSTOPTS 58
1170#define IPV6_RECVERR 25
1171#define IPV6_RECVFRAGSIZE 77
1172#define IPV6_RECVHOPLIMIT 51
1173#define IPV6_RECVHOPOPTS 53
1174#define IPV6_RECVORIGDSTADDR IPV6_ORIGDSTADDR
1175#define IPV6_RECVPATHMTU 60
1176#define IPV6_RECVPKTINFO 49
1177#define IPV6_RECVRTHDR 56
1178#define IPV6_RECVTCLASS 66
1179#define IPV6_ROUTER_ALERT 22
1180#define IPV6_RTHDR 57
1181#define IPV6_RTHDRDSTOPTS 55
1182#define IPV6_RTHDR_LOOSE 0
1183#define IPV6_RTHDR_STRICT 1
1184#define IPV6_RTHDR_TYPE_0 0
1185#define IPV6_RXDSTOPTS IPV6_DSTOPTS
1186#define IPV6_RXHOPOPTS IPV6_HOPOPTS
1187#define IPV6_TCLASS 67
1188#define IPV6_TRANSPARENT 75
1189#define IPV6_UNICAST_HOPS 16
1190#define IPV6_UNICAST_IF 76
1191#define IPV6_V6ONLY 26
1192#define IPV6_XFRM_POLICY 35
1193#define IPVERSION 4
1194#define IP_ADD_MEMBERSHIP 35
1195#define IP_ADD_SOURCE_MEMBERSHIP 39
1196#define IP_BIND_ADDRESS_NO_PORT 24
1197#define IP_BLOCK_SOURCE 38
1198#define IP_CHECKSUM 23
1199#define IP_DEFAULT_MULTICAST_LOOP 1
1200#define IP_DEFAULT_MULTICAST_TTL 1
1201#define IP_DF 0x4000
1202#define IP_DROP_MEMBERSHIP 36
1203#define IP_DROP_SOURCE_MEMBERSHIP 40
1204#define IP_FREEBIND 15
1205#define IP_HDRINCL 3
1206#define IP_IPSEC_POLICY 16
1207#define IP_MAXPACKET 65535
1208#define IP_MAX_MEMBERSHIPS 20
1209#define IP_MF 0x2000
1210#define IP_MINTTL 21
1211#define IP_MSFILTER 41
1212#define IP_MSFILTER_SIZE(numsrc) (sizeof(struct ip_msfilter) - sizeof(struct in_addr) + (numsrc) * sizeof(struct in_addr))
1213#define IP_MSS 576
1214#define IP_MTU 14
1215#define IP_MTU_DISCOVER 10
1216#define IP_MULTICAST_ALL 49
1217#define IP_MULTICAST_IF 32
1218#define IP_MULTICAST_LOOP 34
1219#define IP_MULTICAST_TTL 33
1220#define IP_NODEFRAG 22
1221#define IP_OFFMASK 0x1fff
1222#define IP_OPTIONS 4
1223#define IP_ORIGDSTADDR 20
1224#define IP_PASSSEC 18
1225#define IP_PKTINFO 8
1226#define IP_PKTOPTIONS 9
1227#define IP_PMTUDISC 10
1228#define IP_PMTUDISC_DO 2
1229#define IP_PMTUDISC_DONT 0
1230#define IP_PMTUDISC_INTERFACE 4
1231#define IP_PMTUDISC_OMIT 5
1232#define IP_PMTUDISC_PROBE 3
1233#define IP_PMTUDISC_WANT 1
1234#define IP_RECVERR 11
1235#define IP_RECVFRAGSIZE 25
1236#define IP_RECVOPTS 6
1237#define IP_RECVORIGDSTADDR IP_ORIGDSTADDR
1238#define IP_RECVRETOPTS IP_RETOPTS
1239#define IP_RECVTOS 13
1240#define IP_RECVTTL 12
1241#define IP_RETOPTS 7
1242#define IP_RF 0x8000
1243#define IP_ROUTER_ALERT 5
1244#define IP_TOS 1
1245#define IP_TRANSPARENT 19
1246#define IP_TTL 2
1247#define IP_UNBLOCK_SOURCE 37
1248#define IP_UNICAST_IF 50
1249#define IP_XFRM_POLICY 17
1250#define IQUERY ns_o_iquery
1251#define ISIG 0000001
1252#define ISTRIP 0000040
1253#define ITIMER_PROF 2
1254#define ITIMER_REAL 0
1255#define ITIMER_VIRTUAL 1
1256#define IUCLC 0001000
1257#define IUTF8 0040000
1258#define IXANY 0004000
1259#define IXOFF 0010000
1260#define IXON 0002000
1261#define I_ATMARK (__SID |31)
1262#define I_CANPUT (__SID |34)
1263#define I_CKBAND (__SID |29)
1264#define I_FDINSERT (__SID |16)
1265#define I_FIND (__SID |11)
1266#define I_FLUSH (__SID | 5)
1267#define I_FLUSHBAND (__SID |28)
1268#define I_GETBAND (__SID |30)
1269#define I_GETCLTIME (__SID |33)
1270#define I_GETSIG (__SID |10)
1271#define I_GRDOPT (__SID | 7)
1272#define I_GWROPT (__SID |20)
1273#define I_LINK (__SID |12)
1274#define I_LIST (__SID |21)
1275#define I_LOOK (__SID | 4)
1276#define I_NREAD (__SID | 1)
1277#define I_PEEK (__SID |15)
1278#define I_PLINK (__SID |22)
1279#define I_POP (__SID | 3)
1280#define I_PUNLINK (__SID |23)
1281#define I_PUSH (__SID | 2)
1282#define I_RECVFD (__SID |14)
1283#define I_SENDFD (__SID |17)
1284#define I_SETCLTIME (__SID |32)
1285#define I_SETSIG (__SID | 9)
1286#define I_SRDOPT (__SID | 6)
1287#define I_STR (__SID | 8)
1288#define I_SWROPT (__SID |19)
1289#define I_UNLINK (__SID |13)
1290#define LASTMARK 0x02
1291#define LC_ALL 6
1292#define LC_ALL_MASK 0x7fffffff
1293#define LC_COLLATE 3
1294#define LC_COLLATE_MASK (1<<LC_COLLATE)
1295#define LC_CTYPE 0
1296#define LC_CTYPE_MASK (1<<LC_CTYPE)
1297#define LC_GLOBAL_LOCALE ((locale_t)-1)
1298#define LC_MESSAGES 5
1299#define LC_MESSAGES_MASK (1<<LC_MESSAGES)
1300#define LC_MONETARY 4
1301#define LC_MONETARY_MASK (1<<LC_MONETARY)
1302#define LC_NUMERIC 1
1303#define LC_NUMERIC_MASK (1<<LC_NUMERIC)
1304#define LC_TIME 2
1305#define LC_TIME_MASK (1<<LC_TIME)
1306#define LDBL_DECIMAL_DIG DECIMAL_DIG
1307#define LDBL_DIG 33
1308#define LDBL_EPSILON 1.92592994438723585305597794258492732e-34L
1309#define LDBL_HAS_SUBNORM 1
1310#define LDBL_MANT_DIG 113
1311#define LDBL_MAX 1.18973149535723176508575932662800702e+4932L
1312#define LDBL_MAX_10_EXP 4932
1313#define LDBL_MAX_EXP 16384
1314#define LDBL_MIN 3.36210314311209350626267781732175260e-4932L
1315#define LDBL_MIN_10_EXP (-4931)
1316#define LDBL_MIN_EXP (-16381)
1317#define LDBL_TRUE_MIN 6.47517511943802511092443895822764655e-4966L
1318#define LFLOW_OFF 0
1319#define LFLOW_ON 1
1320#define LFLOW_RESTART_ANY 2
1321#define LFLOW_RESTART_XON 3
1322#define LINE_MAX 4096
1323#define LIO_NOP 2
1324#define LIO_NOWAIT 1
1325#define LIO_READ 0
1326#define LIO_WAIT 0
1327#define LIO_WRITE 1
1328#define LITTLE_ENDIAN __LITTLE_ENDIAN
1329#define LLONG_MAX (0x7fffffffffffffffLL)
1330#define LLONG_MIN (-LLONG_MAX-1)
1331#define LM_FORWARDMASK 2
1332#define LM_MODE 1
1333#define LM_SLC 3
1334#define LNKTYPE '1'
1335#define LOCK_EX 2
1336#define LOCK_NB 4
1337#define LOCK_SH 1
1338#define LOCK_UN 8
1339#define LOGIN_NAME_MAX 256
1340#define LONGBITS (sizeof(long) * 8)
1341#define LONG_BIT (32)
1342#define LONG_MAX (0x7fffffffL)
1343#define LONG_MIN (-LONG_MAX-1)
1344#define L_INCR 1
1345#define L_SET 0
1346#define L_XTND 2
1347#define L_ctermid 20
1348#define L_cuserid 20
1349#define MAGIC "070707"
1350#define MATH_ERREXCEPT 2
1351#define MATH_ERRNO 1
1352#define MAX(a,b) (((a)>(b))?(a):(b))
1353#define MAXCDNAME NS_MAXCDNAME
1354#define MAXDNAME NS_MAXDNAME
1355#define MAXDOUBLE DBL_MAX
1356#define MAXFLOAT FLT_MAX
1357#define MAXHOSTNAMELEN 64
1358#define MAXINT INT_MAX
1359#define MAXLABEL NS_MAXLABEL
1360#define MAXLONG LONG_MAX
1361#define MAXNAMLEN 255
1362#define MAXPATHLEN 4096
1363#define MAXSHORT SHRT_MAX
1364#define MAXSYMLINKS 20
1365#define MAXTC 6
1366#define MAXTTL 255
1367#define MAX_ADDR_LEN 7
1368#define MAX_IPOPTLEN 40
1369#define MB_CUR_MAX (__ctype_get_mb_cur_max())
1370#define MB_LEN_MAX 4
1371#define MCAST_BLOCK_SOURCE 43
1372#define MCAST_EXCLUDE 0
1373#define MCAST_INCLUDE 1
1374#define MCAST_JOIN_GROUP 42
1375#define MCAST_JOIN_SOURCE_GROUP 46
1376#define MCAST_LEAVE_GROUP 45
1377#define MCAST_LEAVE_SOURCE_GROUP 47
1378#define MCAST_MSFILTER 48
1379#define MCAST_UNBLOCK_SOURCE 44
1380#define MIN(a,b) (((a)<(b))?(a):(b))
1381#define MINDOUBLE DBL_MIN
1382#define MINFLOAT FLT_MIN
1383#define MININT INT_MIN
1384#define MINLONG LONG_MIN
1385#define MINSHORT SHRT_MIN
1386#define MLD_LISTENER_QUERY 130
1387#define MLD_LISTENER_REDUCTION 132
1388#define MLD_LISTENER_REPORT 131
1389#define MM_APPL 8
1390#define MM_CONSOLE 512
1391#define MM_ERROR 2
1392#define MM_FIRM 4
1393#define MM_HALT 1
1394#define MM_HARD 1
1395#define MM_INFO 4
1396#define MM_NOCON 4
1397#define MM_NOMSG 1
1398#define MM_NOSEV 0
1399#define MM_NOTOK (-1)
1400#define MM_NRECOV 128
1401#define MM_NULLACT ((char*)0)
1402#define MM_NULLLBL ((char*)0)
1403#define MM_NULLMC 0L
1404#define MM_NULLSEV 0
1405#define MM_NULLTAG ((char*)0)
1406#define MM_NULLTXT ((char*)0)
1407#define MM_OK 0
1408#define MM_OPSYS 32
1409#define MM_PRINT 256
1410#define MM_RECOVER 64
1411#define MM_SOFT 2
1412#define MM_UTIL 16
1413#define MM_WARNING 3
1414#define MODE_ACK 0x04
1415#define MODE_B 2
1416#define MODE_C 3
1417#define MODE_ECHO 0x0200
1418#define MODE_EDIT 0x01
1419#define MODE_FLOW 0x0100
1420#define MODE_FORCE 0x1000
1421#define MODE_INBIN 0x0400
1422#define MODE_LIT_ECHO 0x10
1423#define MODE_MASK 0x1f
1424#define MODE_OUTBIN 0x0800
1425#define MODE_S 1
1426#define MODE_SOFT_TAB 0x08
1427#define MODE_TRAPSIG 0x02
1428#define MOD_CLKA ADJ_OFFSET_SINGLESHOT
1429#define MOD_CLKB ADJ_TICK
1430#define MOD_ESTERROR ADJ_ESTERROR
1431#define MOD_FREQUENCY ADJ_FREQUENCY
1432#define MOD_MAXERROR ADJ_MAXERROR
1433#define MOD_MICRO ADJ_MICRO
1434#define MOD_NANO ADJ_NANO
1435#define MOD_OFFSET ADJ_OFFSET
1436#define MOD_STATUS ADJ_STATUS
1437#define MOD_TAI ADJ_TAI
1438#define MOD_TIMECONST ADJ_TIMECONST
1439#define MON_1 0x2001A
1440#define MON_10 0x20023
1441#define MON_11 0x20024
1442#define MON_12 0x20025
1443#define MON_2 0x2001B
1444#define MON_3 0x2001C
1445#define MON_4 0x2001D
1446#define MON_5 0x2001E
1447#define MON_6 0x2001F
1448#define MON_7 0x20020
1449#define MON_8 0x20021
1450#define MON_9 0x20022
1451#define MORECTL 1
1452#define MOREDATA 2
1453#define MSG_ANY 0x02
1454#define MSG_BAND 0x04
1455#define MSG_HIPRI 0x01
1456#define MSG_PEEK __WASI_SOCK_RECV_PEEK
1457#define MSG_TRUNC __WASI_SOCK_RECV_DATA_TRUNCATED
1458#define MSG_WAITALL __WASI_SOCK_RECV_WAITALL
1459#define MUXID_ALL (-1)
1460#define M_1_PI 0.31830988618379067154
1461#define M_2_PI 0.63661977236758134308
1462#define M_2_SQRTPI 1.12837916709551257390
1463#define M_E 2.7182818284590452354
1464#define M_LN10 2.30258509299404568402
1465#define M_LN2 0.69314718055994530942
1466#define M_LOG10E 0.43429448190325182765
1467#define M_LOG2E 1.4426950408889634074
1468#define M_PI 3.14159265358979323846
1469#define M_PI_2 1.57079632679489661923
1470#define M_PI_4 0.78539816339744830962
1471#define M_SQRT1_2 0.70710678118654752440
1472#define M_SQRT2 1.41421356237309504880
1473#define NAMESERVER_PORT NS_DEFAULTPORT
1474#define NAME_MAX 255
1475#define NAN (0.0f/0.0f)
1476#define NBBY 8
1477#define NCARGS 131072
1478#define NCCS 32
1479#define ND_NA_FLAG_OVERRIDE 0x00000020
1480#define ND_NA_FLAG_ROUTER 0x00000080
1481#define ND_NA_FLAG_SOLICITED 0x00000040
1482#define ND_NEIGHBOR_ADVERT 136
1483#define ND_NEIGHBOR_SOLICIT 135
1484#define ND_OPT_HOME_AGENT_INFO 8
1485#define ND_OPT_MTU 5
1486#define ND_OPT_PI_FLAG_AUTO 0x40
1487#define ND_OPT_PI_FLAG_ONLINK 0x80
1488#define ND_OPT_PI_FLAG_RADDR 0x20
1489#define ND_OPT_PREFIX_INFORMATION 3
1490#define ND_OPT_REDIRECTED_HEADER 4
1491#define ND_OPT_RTR_ADV_INTERVAL 7
1492#define ND_OPT_SOURCE_LINKADDR 1
1493#define ND_OPT_TARGET_LINKADDR 2
1494#define ND_RA_FLAG_HOME_AGENT 0x20
1495#define ND_RA_FLAG_MANAGED 0x80
1496#define ND_RA_FLAG_OTHER 0x40
1497#define ND_REDIRECT 137
1498#define ND_ROUTER_ADVERT 134
1499#define ND_ROUTER_SOLICIT 133
1500#define NEW_ENV_VALUE 1
1501#define NEW_ENV_VAR 0
320054e8
DG
1502#define NGROUPS 32
1503#define NGROUPS_MAX 32
1504#define NL0 0000000
1505#define NL1 0000400
1506#define NLDLY 0000400
1507#define NL_ARGMAX 9
1508#define NL_CAT_LOCALE 1
1509#define NL_LANGMAX 32
1510#define NL_MSGMAX 32767
1511#define NL_NMAX 16
1512#define NL_SETD 1
1513#define NL_SETMAX 255
1514#define NL_TEXTMAX 2048
1515#define NOERROR ns_r_noerror
1516#define NOEXPR 0x50001
1517#define NOFILE 256
1518#define NOFLSH 0000200
1519#define NOGROUP (-1)
1520#define NOP 241
1521#define NOSTR 0x50003
1522#define NOTAUTH ns_r_notauth
1523#define NOTIMP ns_r_notimpl
1524#define NOTZONE ns_r_notzone
1525#define NR_ICMP_TYPES 18
1526#define NR_ICMP_UNREACH 15
1527#define NSLC 18
1528#define NS_ALG_DH 2
1529#define NS_ALG_DSA 3
1530#define NS_ALG_DSS NS_ALG_DSA
1531#define NS_ALG_EXPIRE_ONLY 253
1532#define NS_ALG_MD5RSA 1
1533#define NS_ALG_PRIVATE_OID 254
1534#define NS_CMPRSFLGS 0xc0
1535#define NS_DEFAULTPORT 53
1536#define NS_DSA_MAX_BYTES 405
1537#define NS_DSA_MIN_SIZE 213
1538#define NS_DSA_SIG_SIZE 41
1539#define NS_GET16(s,cp) (void)((s) = ns_get16(((cp)+=2)-2))
1540#define NS_GET32(l,cp) (void)((l) = ns_get32(((cp)+=4)-4))
1541#define NS_HFIXEDSZ 12
1542#define NS_IN6ADDRSZ 16
1543#define NS_INADDRSZ 4
1544#define NS_INT16SZ 2
1545#define NS_INT32SZ 4
1546#define NS_INT8SZ 1
1547#define NS_KEY_EXTENDED_FLAGS 0x1000
1548#define NS_KEY_NAME_ENTITY 0x0200
1549#define NS_KEY_NAME_RESERVED 0x0300
1550#define NS_KEY_NAME_TYPE 0x0300
1551#define NS_KEY_NAME_USER 0x0000
1552#define NS_KEY_NAME_ZONE 0x0100
1553#define NS_KEY_NO_AUTH 0x8000
1554#define NS_KEY_NO_CONF 0x4000
1555#define NS_KEY_PROT_ANY 255
1556#define NS_KEY_PROT_DNSSEC 3
1557#define NS_KEY_PROT_EMAIL 2
1558#define NS_KEY_PROT_IPSEC 4
1559#define NS_KEY_PROT_TLS 1
1560#define NS_KEY_RESERVED10 0x0020
1561#define NS_KEY_RESERVED11 0x0010
1562#define NS_KEY_RESERVED2 0x2000
1563#define NS_KEY_RESERVED4 0x0800
1564#define NS_KEY_RESERVED5 0x0400
1565#define NS_KEY_RESERVED8 0x0080
1566#define NS_KEY_RESERVED9 0x0040
1567#define NS_KEY_RESERVED_BITMASK ( NS_KEY_RESERVED2 | NS_KEY_RESERVED4 | NS_KEY_RESERVED5 | NS_KEY_RESERVED8 | NS_KEY_RESERVED9 | NS_KEY_RESERVED10 | NS_KEY_RESERVED11 )
1568#define NS_KEY_RESERVED_BITMASK2 0xFFFF
1569#define NS_KEY_SIGNATORYMASK 0x000F
1570#define NS_KEY_TYPEMASK 0xC000
1571#define NS_KEY_TYPE_AUTH_CONF 0x0000
1572#define NS_KEY_TYPE_AUTH_ONLY 0x4000
1573#define NS_KEY_TYPE_CONF_ONLY 0x8000
1574#define NS_KEY_TYPE_NO_KEY 0xC000
1575#define NS_MAXCDNAME 255
1576#define NS_MAXDNAME 1025
1577#define NS_MAXLABEL 63
1578#define NS_MAXMSG 65535
1579#define NS_MD5RSA_MAX_BASE64 (((NS_MD5RSA_MAX_BYTES+2)/3)*4)
1580#define NS_MD5RSA_MAX_BITS 4096
1581#define NS_MD5RSA_MAX_BYTES ((NS_MD5RSA_MAX_BITS+7/8)*2+3)
1582#define NS_MD5RSA_MAX_SIZE ((NS_MD5RSA_MAX_BITS+7)/8)
1583#define NS_MD5RSA_MIN_BITS 512
1584#define NS_MD5RSA_MIN_SIZE ((NS_MD5RSA_MIN_BITS+7)/8)
1585#define NS_NOTIFY_OP ns_o_notify
1586#define NS_NXT_BITS 8
1587#define NS_NXT_BIT_CLEAR(n,p) (p[(n)/NS_NXT_BITS] &= ~(0x80>>((n)%NS_NXT_BITS)))
1588#define NS_NXT_BIT_ISSET(n,p) (p[(n)/NS_NXT_BITS] & (0x80>>((n)%NS_NXT_BITS)))
1589#define NS_NXT_BIT_SET(n,p) (p[(n)/NS_NXT_BITS] |= (0x80>>((n)%NS_NXT_BITS)))
1590#define NS_NXT_MAX 127
1591#define NS_OPT_DNSSEC_OK 0x8000U
1592#define NS_OPT_NSID 3
1593#define NS_PACKETSZ 512
1594#define NS_PUT16(s,cp) ns_put16((s), ((cp)+=2)-2)
1595#define NS_PUT32(l,cp) ns_put32((l), ((cp)+=4)-4)
1596#define NS_QFIXEDSZ 4
1597#define NS_RRFIXEDSZ 10
1598#define NS_SIG_ALG 2
1599#define NS_SIG_EXPIR 8
1600#define NS_SIG_FOOT 16
1601#define NS_SIG_LABELS 3
1602#define NS_SIG_OTTL 4
1603#define NS_SIG_SIGNED 12
1604#define NS_SIG_SIGNER 18
1605#define NS_SIG_TYPE 0
1606#define NS_TSIG_ALG_HMAC_MD5 "HMAC-MD5.SIG-ALG.REG.INT"
1607#define NS_TSIG_ERROR_FORMERR -12
1608#define NS_TSIG_ERROR_NO_SPACE -11
1609#define NS_TSIG_ERROR_NO_TSIG -10
1610#define NS_TSIG_FUDGE 300
1611#define NS_TSIG_TCP_COUNT 100
1612#define NS_UPDATE_OP ns_o_update
1613#define NTELOPTS (1+TELOPT_NEW_ENVIRON)
1614#define NULL ((void*)0)
1615#define NXDOMAIN ns_r_nxdomain
1616#define NXRRSET ns_r_nxrrset
1617#define NZERO 20
1618#define OCRNL 0000010
1619#define OFDEL 0000200
1620#define OFILL 0000100
1621#define OLCUC 0000002
1622#define OLD_ENV_VALUE 0
1623#define OLD_ENV_VAR 1
1624#define ONCE_FLAG_INIT 0
1625#define ONLCR 0000004
1626#define ONLRET 0000040
1627#define ONOCR 0000020
1628#define OPOST 0000001
1629#define O_ACCMODE (O_EXEC | O_RDWR | O_SEARCH)
1630#define O_APPEND __WASI_FDFLAG_APPEND
1631#define O_CLOEXEC (0)
1632#define O_CREAT (__WASI_O_CREAT << 12)
1633#define O_DIRECTORY (__WASI_O_DIRECTORY << 12)
1634#define O_DSYNC __WASI_FDFLAG_DSYNC
1635#define O_EXCL (__WASI_O_EXCL << 12)
1636#define O_EXEC (0x02000000)
1637#define O_NOCTTY (0)
1638#define O_NOFOLLOW (0x01000000)
1639#define O_NONBLOCK __WASI_FDFLAG_NONBLOCK
1640#define O_RDONLY (0x04000000)
1641#define O_RDWR (O_RDONLY | O_WRONLY)
1642#define O_RSYNC __WASI_FDFLAG_RSYNC
1643#define O_SEARCH (0x08000000)
1644#define O_SYNC __WASI_FDFLAG_SYNC
1645#define O_TRUNC (__WASI_O_TRUNC << 12)
1646#define O_WRONLY (0x10000000)
1647#define PACKETSZ NS_PACKETSZ
1648#define PACKET_ADD_MEMBERSHIP 1
1649#define PACKET_AUXDATA 8
1650#define PACKET_BROADCAST 1
1651#define PACKET_COPY_THRESH 7
1652#define PACKET_DROP_MEMBERSHIP 2
1653#define PACKET_FANOUT 18
1654#define PACKET_FANOUT_DATA 22
1655#define PACKET_FASTROUTE 6
1656#define PACKET_HDRLEN 11
1657#define PACKET_HOST 0
1658#define PACKET_LOOPBACK 5
1659#define PACKET_LOSS 14
1660#define PACKET_MR_ALLMULTI 2
1661#define PACKET_MR_MULTICAST 0
1662#define PACKET_MR_PROMISC 1
1663#define PACKET_MR_UNICAST 3
1664#define PACKET_MULTICAST 2
1665#define PACKET_ORIGDEV 9
1666#define PACKET_OTHERHOST 3
1667#define PACKET_OUTGOING 4
1668#define PACKET_QDISC_BYPASS 20
1669#define PACKET_RECV_OUTPUT 3
1670#define PACKET_RESERVE 12
1671#define PACKET_ROLLOVER_STATS 21
1672#define PACKET_RX_RING 5
1673#define PACKET_STATISTICS 6
1674#define PACKET_TIMESTAMP 17
1675#define PACKET_TX_HAS_OFF 19
1676#define PACKET_TX_RING 13
1677#define PACKET_TX_TIMESTAMP 16
1678#define PACKET_VERSION 10
1679#define PACKET_VNET_HDR 15
1680#define PAGESIZE (0x10000)
1681#define PAGE_SIZE PAGESIZE
1682#define PARENB 0000400
1683#define PARMRK 0000010
1684#define PARODD 0001000
1685#define PATH_MAX 4096
1686#define PDP_ENDIAN __PDP_ENDIAN
1687#define PENDIN 0040000
1688#define PIPE_BUF 4096
1689#define PM_STR 0x20027
1690#define POLLERR 0x1000
1691#define POLLHUP 0x2000
1692#define POLLIN POLLRDNORM
1693#define POLLNVAL 0x4000
1694#define POLLOUT POLLWRNORM
1695#define POLLRDNORM 0x1
1696#define POLLWRNORM 0x2
1697#define POSIX_CLOSE_RESTART 0
1698#define POSIX_FADV_DONTNEED __WASI_ADVICE_DONTNEED
1699#define POSIX_FADV_NOREUSE __WASI_ADVICE_NOREUSE
1700#define POSIX_FADV_NORMAL __WASI_ADVICE_NORMAL
1701#define POSIX_FADV_RANDOM __WASI_ADVICE_RANDOM
1702#define POSIX_FADV_SEQUENTIAL __WASI_ADVICE_SEQUENTIAL
1703#define POSIX_FADV_WILLNEED __WASI_ADVICE_WILLNEED
1704#define PRELIM 1
1705#define PRIX16 "X"
1706#define PRIX32 "X"
1707#define PRIX64 __PRI64 "X"
1708#define PRIX8 "X"
1709#define PRIXFAST16 "X"
1710#define PRIXFAST32 "X"
1711#define PRIXFAST64 __PRI64 "X"
1712#define PRIXFAST8 "X"
1713#define PRIXLEAST16 "X"
1714#define PRIXLEAST32 "X"
1715#define PRIXLEAST64 __PRI64 "X"
1716#define PRIXLEAST8 "X"
1717#define PRIXMAX __PRI64 "X"
1718#define PRIXPTR __PRIPTR "X"
1719#define PRId16 "d"
1720#define PRId32 "d"
1721#define PRId64 __PRI64 "d"
1722#define PRId8 "d"
1723#define PRIdFAST16 "d"
1724#define PRIdFAST32 "d"
1725#define PRIdFAST64 __PRI64 "d"
1726#define PRIdFAST8 "d"
1727#define PRIdLEAST16 "d"
1728#define PRIdLEAST32 "d"
1729#define PRIdLEAST64 __PRI64 "d"
1730#define PRIdLEAST8 "d"
1731#define PRIdMAX __PRI64 "d"
1732#define PRIdPTR __PRIPTR "d"
1733#define PRIi16 "i"
1734#define PRIi32 "i"
1735#define PRIi64 __PRI64 "i"
1736#define PRIi8 "i"
1737#define PRIiFAST16 "i"
1738#define PRIiFAST32 "i"
1739#define PRIiFAST64 __PRI64 "i"
1740#define PRIiFAST8 "i"
1741#define PRIiLEAST16 "i"
1742#define PRIiLEAST32 "i"
1743#define PRIiLEAST64 __PRI64 "i"
1744#define PRIiLEAST8 "i"
1745#define PRIiMAX __PRI64 "i"
1746#define PRIiPTR __PRIPTR "i"
1747#define PRIo16 "o"
1748#define PRIo32 "o"
1749#define PRIo64 __PRI64 "o"
1750#define PRIo8 "o"
1751#define PRIoFAST16 "o"
1752#define PRIoFAST32 "o"
1753#define PRIoFAST64 __PRI64 "o"
1754#define PRIoFAST8 "o"
1755#define PRIoLEAST16 "o"
1756#define PRIoLEAST32 "o"
1757#define PRIoLEAST64 __PRI64 "o"
1758#define PRIoLEAST8 "o"
1759#define PRIoMAX __PRI64 "o"
1760#define PRIoPTR __PRIPTR "o"
1761#define PRIu16 "u"
1762#define PRIu32 "u"
1763#define PRIu64 __PRI64 "u"
1764#define PRIu8 "u"
1765#define PRIuFAST16 "u"
1766#define PRIuFAST32 "u"
1767#define PRIuFAST64 __PRI64 "u"
1768#define PRIuFAST8 "u"
1769#define PRIuLEAST16 "u"
1770#define PRIuLEAST32 "u"
1771#define PRIuLEAST64 __PRI64 "u"
1772#define PRIuLEAST8 "u"
1773#define PRIuMAX __PRI64 "u"
1774#define PRIuPTR __PRIPTR "u"
1775#define PRIx16 "x"
1776#define PRIx32 "x"
1777#define PRIx64 __PRI64 "x"
1778#define PRIx8 "x"
1779#define PRIxFAST16 "x"
1780#define PRIxFAST32 "x"
1781#define PRIxFAST64 __PRI64 "x"
1782#define PRIxFAST8 "x"
1783#define PRIxLEAST16 "x"
1784#define PRIxLEAST32 "x"
1785#define PRIxLEAST64 __PRI64 "x"
1786#define PRIxLEAST8 "x"
1787#define PRIxMAX __PRI64 "x"
1788#define PRIxPTR __PRIPTR "x"
1789#define PTHREAD_BARRIER_SERIAL_THREAD (-1)
1790#define PTHREAD_CANCELED ((void *)-1)
1791#define PTHREAD_CANCEL_ASYNCHRONOUS 1
1792#define PTHREAD_CANCEL_DEFERRED 0
1793#define PTHREAD_CANCEL_DISABLE 1
1794#define PTHREAD_CANCEL_ENABLE 0
1795#define PTHREAD_CANCEL_MASKED 2
1796#define PTHREAD_COND_INITIALIZER 0
1797#define PTHREAD_CREATE_DETACHED 1
1798#define PTHREAD_CREATE_JOINABLE 0
1799#define PTHREAD_DESTRUCTOR_ITERATIONS 4
1800#define PTHREAD_EXPLICIT_SCHED 1
1801#define PTHREAD_INHERIT_SCHED 0
1802#define PTHREAD_KEYS_MAX 128
1803#define PTHREAD_MUTEX_DEFAULT 0
1804#define PTHREAD_MUTEX_ERRORCHECK 2
1805#define PTHREAD_MUTEX_INITIALIZER 0
1806#define PTHREAD_MUTEX_NORMAL 0
1807#define PTHREAD_MUTEX_RECURSIVE 1
1808#define PTHREAD_MUTEX_ROBUST 1
1809#define PTHREAD_MUTEX_STALLED 0
1810#define PTHREAD_ONCE_INIT 0
1811#define PTHREAD_PRIO_INHERIT 1
1812#define PTHREAD_PRIO_NONE 0
1813#define PTHREAD_PRIO_PROTECT 2
1814#define PTHREAD_PROCESS_PRIVATE 0
1815#define PTHREAD_PROCESS_SHARED 1
1816#define PTHREAD_RWLOCK_INITIALIZER 0
1817#define PTHREAD_SCOPE_PROCESS 1
1818#define PTHREAD_SCOPE_SYSTEM 0
1819#define PTHREAD_STACK_MIN 2048
1820#define PTRBITS (sizeof(char *) * 8)
1821#define PTRDIFF_MAX INT32_MAX
1822#define PTRDIFF_MIN INT32_MIN
1823#define PUTLONG NS_PUT32
1824#define PUTSHORT NS_PUT16
1825#define QFIXEDSZ NS_QFIXEDSZ
1826#define QUERY ns_o_query
1827#define RADIXCHAR 0x10000
1828#define RAND_MAX (0x7fffffff)
1829#define REC_EOF '\002'
1830#define REC_EOR '\001'
1831#define REC_ESC '\377'
1832#define REFUSED ns_r_refused
1833#define REGTYPE '0'
1834#define REG_BADBR 10
1835#define REG_BADPAT 2
1836#define REG_BADRPT 13
1837#define REG_EBRACE 9
1838#define REG_EBRACK 7
1839#define REG_ECOLLATE 3
1840#define REG_ECTYPE 4
1841#define REG_EESCAPE 5
1842#define REG_ENOSYS -1
1843#define REG_EPAREN 8
1844#define REG_ERANGE 11
1845#define REG_ESPACE 12
1846#define REG_ESUBREG 6
1847#define REG_EXTENDED 1
1848#define REG_ICASE 2
1849#define REG_NEWLINE 4
1850#define REG_NOMATCH 1
1851#define REG_NOSUB 8
1852#define REG_NOTBOL 1
1853#define REG_NOTEOL 2
1854#define REG_OK 0
1855#define RE_DUP_MAX 255
1856#define RMSGD 0x0001
1857#define RMSGN 0x0002
1858#define RNORM 0x0000
1859#define RPM_PCO_ADD 1
1860#define RPM_PCO_CHANGE 2
1861#define RPM_PCO_SETGLOBAL 3
1862#define RPROTDAT 0x0004
1863#define RPROTDIS 0x0008
1864#define RPROTMASK 0x001C
1865#define RPROTNORM 0x0010
1866#define RRFIXEDSZ NS_RRFIXEDSZ
1867#define RRQ 01
1868#define RS_HIPRI 0x01
1869#define RTCF_DIRECTSRC 0x04000000
1870#define RTCF_DOREDIRECT 0x01000000
1871#define RTCF_LOG 0x02000000
1872#define RTCF_MASQ 0x00400000
1873#define RTCF_NAT 0x00800000
1874#define RTCF_VALVE 0x00200000
1875#define RTF_ADDRCLASSMASK 0xF8000000
1876#define RTF_ADDRCONF 0x00040000
1877#define RTF_ALLONLINK 0x00020000
1878#define RTF_BROADCAST 0x10000000
1879#define RTF_CACHE 0x01000000
1880#define RTF_DEFAULT 0x00010000
1881#define RTF_DYNAMIC 0x0010
1882#define RTF_FLOW 0x02000000
1883#define RTF_GATEWAY 0x0002
1884#define RTF_HOST 0x0004
1885#define RTF_INTERFACE 0x40000000
1886#define RTF_IRTT 0x0100
1887#define RTF_LINKRT 0x00100000
1888#define RTF_LOCAL 0x80000000
1889#define RTF_MODIFIED 0x0020
1890#define RTF_MSS RTF_MTU
1891#define RTF_MTU 0x0040
1892#define RTF_MULTICAST 0x20000000
1893#define RTF_NAT 0x08000000
1894#define RTF_NOFORWARD 0x1000
1895#define RTF_NONEXTHOP 0x00200000
1896#define RTF_NOPMTUDISC 0x4000
1897#define RTF_POLICY 0x04000000
1898#define RTF_REINSTATE 0x0008
1899#define RTF_REJECT 0x0200
1900#define RTF_STATIC 0x0400
1901#define RTF_THROW 0x2000
1902#define RTF_UP 0x0001
1903#define RTF_WINDOW 0x0080
1904#define RTF_XRESOLVE 0x0800
1905#define RTMSG_ACK NLMSG_ACK
1906#define RTMSG_AR_FAILED 0x51
1907#define RTMSG_CONTROL 0x40
1908#define RTMSG_DELDEVICE 0x12
1909#define RTMSG_DELROUTE 0x22
1910#define RTMSG_DELRULE 0x32
1911#define RTMSG_NEWDEVICE 0x11
1912#define RTMSG_NEWROUTE 0x21
1913#define RTMSG_NEWRULE 0x31
1914#define RTMSG_OVERRUN NLMSG_OVERRUN
1915#define RT_ADDRCLASS(flags) ((uint32_t) flags >> 23)
1916#define RT_CLASS_DEFAULT 253
1917#define RT_CLASS_LOCAL 255
1918#define RT_CLASS_MAIN 254
1919#define RT_CLASS_MAX 255
1920#define RT_CLASS_UNSPEC 0
1921#define RT_LOCALADDR(flags) ((flags & RTF_ADDRCLASSMASK) == (RTF_LOCAL|RTF_INTERFACE))
1922#define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
1923#define RUSAGE_CHILDREN 2
1924#define RUSAGE_SELF 1
1925#define R_OK 1
1926#define SARMAG 8
1927#define SB 250
1928#define SCHAR_MAX 127
1929#define SCHAR_MIN (-128)
1930#define SCHED_BATCH 3
1931#define SCHED_DEADLINE 6
1932#define SCHED_FIFO 1
1933#define SCHED_IDLE 5
1934#define SCHED_OTHER 0
1935#define SCHED_RESET_ON_FORK 0x40000000
1936#define SCHED_RR 2
1937#define SCNd16 "hd"
1938#define SCNd32 "d"
1939#define SCNd64 __PRI64 "d"
1940#define SCNd8 "hhd"
1941#define SCNdFAST16 "d"
1942#define SCNdFAST32 "d"
1943#define SCNdFAST64 __PRI64 "d"
1944#define SCNdFAST8 "hhd"
1945#define SCNdLEAST16 "hd"
1946#define SCNdLEAST32 "d"
1947#define SCNdLEAST64 __PRI64 "d"
1948#define SCNdLEAST8 "hhd"
1949#define SCNdMAX __PRI64 "d"
1950#define SCNdPTR __PRIPTR "d"
1951#define SCNi16 "hi"
1952#define SCNi32 "i"
1953#define SCNi64 __PRI64 "i"
1954#define SCNi8 "hhi"
1955#define SCNiFAST16 "i"
1956#define SCNiFAST32 "i"
1957#define SCNiFAST64 __PRI64 "i"
1958#define SCNiFAST8 "hhi"
1959#define SCNiLEAST16 "hi"
1960#define SCNiLEAST32 "i"
1961#define SCNiLEAST64 __PRI64 "i"
1962#define SCNiLEAST8 "hhi"
1963#define SCNiMAX __PRI64 "i"
1964#define SCNiPTR __PRIPTR "i"
1965#define SCNo16 "ho"
1966#define SCNo32 "o"
1967#define SCNo64 __PRI64 "o"
1968#define SCNo8 "hho"
1969#define SCNoFAST16 "o"
1970#define SCNoFAST32 "o"
1971#define SCNoFAST64 __PRI64 "o"
1972#define SCNoFAST8 "hho"
1973#define SCNoLEAST16 "ho"
1974#define SCNoLEAST32 "o"
1975#define SCNoLEAST64 __PRI64 "o"
1976#define SCNoLEAST8 "hho"
1977#define SCNoMAX __PRI64 "o"
1978#define SCNoPTR __PRIPTR "o"
1979#define SCNu16 "hu"
1980#define SCNu32 "u"
1981#define SCNu64 __PRI64 "u"
1982#define SCNu8 "hhu"
1983#define SCNuFAST16 "u"
1984#define SCNuFAST32 "u"
1985#define SCNuFAST64 __PRI64 "u"
1986#define SCNuFAST8 "hhu"
1987#define SCNuLEAST16 "hu"
1988#define SCNuLEAST32 "u"
1989#define SCNuLEAST64 __PRI64 "u"
1990#define SCNuLEAST8 "hhu"
1991#define SCNuMAX __PRI64 "u"
1992#define SCNuPTR __PRIPTR "u"
1993#define SCNx16 "hx"
1994#define SCNx32 "x"
1995#define SCNx64 __PRI64 "x"
1996#define SCNx8 "hhx"
1997#define SCNxFAST16 "x"
1998#define SCNxFAST32 "x"
1999#define SCNxFAST64 __PRI64 "x"
2000#define SCNxFAST8 "hhx"
2001#define SCNxLEAST16 "hx"
2002#define SCNxLEAST32 "x"
2003#define SCNxLEAST64 __PRI64 "x"
2004#define SCNxLEAST8 "hhx"
2005#define SCNxMAX __PRI64 "x"
2006#define SCNxPTR __PRIPTR "x"
2007#define SE 240
2008#define SEEK_CUR __WASI_WHENCE_CUR
2009#define SEEK_END __WASI_WHENCE_END
2010#define SEEK_SET __WASI_WHENCE_SET
2011#define SEGSIZE 512
2012#define SEGV_ACCERR 2
2013#define SEGV_BNDERR 3
2014#define SEGV_MAPERR 1
2015#define SEGV_PKUERR 4
2016#define SEM_FAILED ((sem_t *)0)
2017#define SEM_NSEMS_MAX 256
2018#define SEM_VALUE_MAX 0x7fffffff
2019#define SERVFAIL ns_r_servfail
2020#define SFD_CLOEXEC O_CLOEXEC
2021#define SFD_NONBLOCK O_NONBLOCK
2022#define SHORTBITS (sizeof(short) * 8)
2023#define SHRT_MAX 0x7fff
2024#define SHRT_MIN (-1-0x7fff)
2025#define SHUT_RD __WASI_SHUT_RD
2026#define SHUT_RDWR (SHUT_RD | SHUT_WR)
2027#define SHUT_WR __WASI_SHUT_WR
2028#define SIGABRT __WASI_SIGABRT
2029#define SIGALRM __WASI_SIGALRM
2030#define SIGBUS __WASI_SIGBUS
2031#define SIGCHLD __WASI_SIGCHLD
2032#define SIGCONT __WASI_SIGCONT
2033#define SIGEV_NONE 1
2034#define SIGEV_SIGNAL 0
2035#define SIGEV_THREAD 2
2036#define SIGFPE __WASI_SIGFPE
2037#define SIGHUP __WASI_SIGHUP
2038#define SIGILL __WASI_SIGILL
2039#define SIGINT __WASI_SIGINT
2040#define SIGIO SIGPOLL
2041#define SIGIOT SIGABRT
2042#define SIGKILL __WASI_SIGKILL
2043#define SIGPIPE __WASI_SIGPIPE
2044#define SIGPOLL __WASI_SIGPOLL
2045#define SIGPROF __WASI_SIGPROF
2046#define SIGPWR __WASI_SIGPWR
2047#define SIGQUIT __WASI_SIGQUIT
2048#define SIGSEGV __WASI_SIGSEGV
2049#define SIGSTOP __WASI_SIGSTOP
2050#define SIGSYS __WASI_SIGSYS
2051#define SIGTERM __WASI_SIGTERM
2052#define SIGTRAP __WASI_SIGTRAP
2053#define SIGTSTP __WASI_SIGTSTP
2054#define SIGTTIN __WASI_SIGTTIN
2055#define SIGTTOU __WASI_SIGTTOU
2056#define SIGUNUSED SIGSYS
2057#define SIGURG __WASI_SIGURG
2058#define SIGUSR1 __WASI_SIGUSR1
2059#define SIGUSR2 __WASI_SIGUSR2
2060#define SIGVTALRM __WASI_SIGVTALRM
2061#define SIGWINCH __WASI_SIGWINCH
2062#define SIGXCPU __WASI_SIGXCPU
2063#define SIGXFSZ __WASI_SIGXFSZ
2064#define SIG_ATOMIC_MAX INT32_MAX
2065#define SIG_ATOMIC_MIN INT32_MIN
2066#define SIG_BLOCK 0
2067#define SIG_HOLD ((void (*)(int)) 2)
2068#define SIG_SETMASK 2
2069#define SIG_UNBLOCK 1
2070#define SIZE_MAX UINT32_MAX
2071#define SI_ASYNCIO (-4)
2072#define SI_ASYNCNL (-60)
2073#define SI_KERNEL 128
2074#define SI_LOAD_SHIFT 16
2075#define SI_MESGQ (-3)
2076#define SI_QUEUE (-1)
2077#define SI_SIGIO (-5)
2078#define SI_TIMER (-2)
2079#define SI_TKILL (-6)
2080#define SI_USER 0
2081#define SLC_ABORT 7
2082#define SLC_ACK 0x80
2083#define SLC_AO 4
2084#define SLC_AYT 5
2085#define SLC_BRK 2
2086#define SLC_CANTCHANGE 1
2087#define SLC_DEFAULT 3
2088#define SLC_EC 10
2089#define SLC_EL 11
2090#define SLC_EOF 8
2091#define SLC_EOR 6
2092#define SLC_EW 12
2093#define SLC_FLAGS 1
2094#define SLC_FLUSHIN 0x40
2095#define SLC_FLUSHOUT 0x20
2096#define SLC_FORW1 17
2097#define SLC_FORW2 18
2098#define SLC_FUNC 0
2099#define SLC_IP 3
2100#define SLC_LEVELBITS 0x03
2101#define SLC_LNEXT 14
2102#define SLC_NAME(x) slc_names[x]
2103#define SLC_NAMELIST "0", "SYNCH", "BRK", "IP", "AO", "AYT", "EOR", "ABORT", "EOF", "SUSP", "EC", "EL", "EW", "RP", "LNEXT", "XON", "XOFF", "FORW1", "FORW2", 0,
2104#define SLC_NAMES SLC_NAMELIST
2105#define SLC_NAME_OK(x) ((unsigned int)(x) <= NSLC)
2106#define SLC_NOSUPPORT 0
2107#define SLC_RP 13
2108#define SLC_SUSP 9
2109#define SLC_SYNCH 1
2110#define SLC_VALUE 2
2111#define SLC_VARIABLE 2
2112#define SLC_XOFF 16
2113#define SLC_XON 15
2114#define SNDPIPE 0x002
2115#define SNDZERO 0x001
2116#define SOCK_CLOEXEC (0x00002000)
2117#define SOCK_DGRAM __WASI_FILETYPE_SOCKET_DGRAM
2118#define SOCK_NONBLOCK (0x00004000)
2119#define SOCK_STREAM __WASI_FILETYPE_SOCKET_STREAM
2120#define SOL_SOCKET 0x7fffffff
2121#define SOL_TCP 6
2122#define SOL_UDP 17
2123#define SO_TYPE 3
2124#define SSIZE_MAX LONG_MAX
2125#define STATUS ns_o_status
2126#define STA_CLK 0x8000
2127#define STA_CLOCKERR 0x1000
2128#define STA_DEL 0x0020
2129#define STA_FLL 0x0008
2130#define STA_FREQHOLD 0x0080
2131#define STA_INS 0x0010
2132#define STA_MODE 0x4000
2133#define STA_NANO 0x2000
2134#define STA_PLL 0x0001
2135#define STA_PPSERROR 0x0800
2136#define STA_PPSFREQ 0x0002
2137#define STA_PPSJITTER 0x0200
2138#define STA_PPSSIGNAL 0x0100
2139#define STA_PPSTIME 0x0004
2140#define STA_PPSWANDER 0x0400
2141#define STA_RONLY (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR | STA_CLOCKERR | STA_NANO | STA_MODE | STA_CLK)
2142#define STA_UNSYNC 0x0040
2143#define STDERR_FILENO 2
2144#define STDIN_FILENO 0
2145#define STDOUT_FILENO 1
2146#define STRU_F 1
2147#define STRU_P 3
2148#define STRU_R 2
2149#define SUN_LEN(s) (2+strlen((s)->sun_path))
2150#define SUSP 237
2151#define SYMLOOP_MAX 40
2152#define SYMTYPE '2'
2153#define SYNCH 242
2154#define S_ADDT ns_s_ar
2155#define S_BANDURG 0x0200
2156#define S_ERROR 0x0010
2157#define S_HANGUP 0x0020
2158#define S_HIPRI 0x0002
2159#define S_IEXEC S_IXUSR
2160#define S_IFBLK (0x6000)
2161#define S_IFCHR (0x2000)
2162#define S_IFDIR (0x4000)
2163#define S_IFIFO (0xc000)
2164#define S_IFLNK (0xa000)
2165#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
2166#define S_IFREG (0x8000)
2167#define S_IFSOCK (0xc000)
2168#define S_INPUT 0x0001
2169#define S_IREAD S_IRUSR
2170#define S_IRGRP (0x20)
2171#define S_IROTH (0x4)
2172#define S_IRUSR (0x100)
2173#define S_IRWXG (S_IXGRP | S_IWGRP | S_IRGRP)
2174#define S_IRWXO (S_IXOTH | S_IWOTH | S_IROTH)
2175#define S_IRWXU (S_IXUSR | S_IWUSR | S_IRUSR)
2176#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
2177#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
2178#define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
2179#define S_ISFIFO(m) (((m)&S_IFMT) == S_IFIFO)
2180#define S_ISGID (0x400)
2181#define S_ISLNK(m) (((m)&S_IFMT) == S_IFLNK)
2182#define S_ISREG(m) (((m)&S_IFMT) == S_IFREG)
2183#define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK)
2184#define S_ISUID (0x800)
2185#define S_ISVTX (0x200)
2186#define S_IWGRP (0x10)
2187#define S_IWOTH (0x2)
2188#define S_IWRITE S_IWUSR
2189#define S_IWUSR (0x80)
2190#define S_IXGRP (0x8)
2191#define S_IXOTH (0x1)
2192#define S_IXUSR (0x40)
2193#define S_MSG 0x0008
2194#define S_OUTPUT 0x0004
2195#define S_PREREQ ns_s_pr
2196#define S_RDBAND 0x0080
2197#define S_RDNORM 0x0040
2198#define S_UPDATE ns_s_ud
2199#define S_WRBAND 0x0100
2200#define S_WRNORM S_OUTPUT
2201#define S_ZONE ns_s_zn
2202#define TAB0 0000000
2203#define TAB1 0004000
2204#define TAB2 0010000
2205#define TAB3 0014000
2206#define TABDLY 0014000
2207#define TCIFLUSH 0
2208#define TCIOFF 2
2209#define TCIOFLUSH 2
2210#define TCION 3
2211#define TCOFLUSH 1
2212#define TCOOFF 0
2213#define TCOON 1
2214#define TCPOLEN_MAXSEG 4
2215#define TCPOLEN_SACK_PERMITTED 2
2216#define TCPOLEN_TIMESTAMP 10
2217#define TCPOLEN_WINDOW 3
2218#define TCPOPT_EOL 0
2219#define TCPOPT_MAXSEG 2
2220#define TCPOPT_NOP 1
2221#define TCPOPT_SACK 5
2222#define TCPOPT_SACK_PERMITTED 4
2223#define TCPOPT_TIMESTAMP 8
2224#define TCPOPT_WINDOW 3
2225#define TCP_CC_INFO 26
2226#define TCP_CLOSE 7
2227#define TCP_CLOSE_WAIT 8
2228#define TCP_CLOSING 11
2229#define TCP_CM_INQ TCP_INQ
2230#define TCP_CONGESTION 13
2231#define TCP_CORK 3
2232#define TCP_DEFER_ACCEPT 9
2233#define TCP_ESTABLISHED 1
2234#define TCP_FASTOPEN 23
2235#define TCP_FASTOPEN_CONNECT 30
2236#define TCP_FASTOPEN_KEY 33
2237#define TCP_FASTOPEN_NO_COOKIE 34
2238#define TCP_FIN_WAIT1 4
2239#define TCP_FIN_WAIT2 5
2240#define TCP_INFO 11
2241#define TCP_INQ 36
2242#define TCP_KEEPCNT 6
2243#define TCP_KEEPIDLE 4
2244#define TCP_KEEPINTVL 5
2245#define TCP_LAST_ACK 9
2246#define TCP_LINGER2 8
2247#define TCP_LISTEN 10
2248#define TCP_MAXSEG 2
2249#define TCP_MD5SIG 14
2250#define TCP_MD5SIG_EXT 32
2251#define TCP_NODELAY 1
2252#define TCP_NOTSENT_LOWAT 25
2253#define TCP_QUEUE_SEQ 21
2254#define TCP_QUICKACK 12
2255#define TCP_REPAIR 19
2256#define TCP_REPAIR_OPTIONS 22
2257#define TCP_REPAIR_QUEUE 20
2258#define TCP_REPAIR_WINDOW 29
2259#define TCP_SAVED_SYN 28
2260#define TCP_SAVE_SYN 27
2261#define TCP_SYNCNT 7
2262#define TCP_SYN_RECV 3
2263#define TCP_SYN_SENT 2
2264#define TCP_THIN_DUPACK 17
2265#define TCP_THIN_LINEAR_TIMEOUTS 16
2266#define TCP_TIMESTAMP 24
2267#define TCP_TIME_WAIT 6
2268#define TCP_ULP 31
2269#define TCP_USER_TIMEOUT 18
2270#define TCP_WINDOW_CLAMP 10
2271#define TCP_ZEROCOPY_RECEIVE 35
2272#define TCSADRAIN 1
2273#define TCSAFLUSH 2
2274#define TCSANOW 0
2275#define TELCMD(x) telcmds[(x)-TELCMD_FIRST]
2276#define TELCMD_FIRST xEOF
2277#define TELCMD_LAST IAC
2278#define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && (unsigned int)(x) >= TELCMD_FIRST)
2279#define TELOPT_3270REGIME 29
2280#define TELOPT_AUTHENTICATION 37
2281#define TELOPT_BINARY 0
2282#define TELOPT_BM 19
2283#define TELOPT_DET 20
2284#define TELOPT_ECHO 1
2285#define TELOPT_ENCRYPT 38
2286#define TELOPT_EOR 25
2287#define TELOPT_EXOPL 255
2288#define TELOPT_LFLOW 33
2289#define TELOPT_LINEMODE 34
2290#define TELOPT_LOGOUT 18
2291#define TELOPT_NAMS 4
2292#define TELOPT_NAOCRD 10
2293#define TELOPT_NAOFFD 13
2294#define TELOPT_NAOHTD 12
2295#define TELOPT_NAOHTS 11
2296#define TELOPT_NAOL 8
2297#define TELOPT_NAOLFD 16
2298#define TELOPT_NAOP 9
2299#define TELOPT_NAOVTD 15
2300#define TELOPT_NAOVTS 14
2301#define TELOPT_NAWS 31
2302#define TELOPT_NEW_ENVIRON 39
2303#define TELOPT_OLD_ENVIRON 36
2304#define TELOPT_OUTMRK 27
2305#define TELOPT_RCP 2
2306#define TELOPT_RCTE 7
2307#define TELOPT_SGA 3
2308#define TELOPT_SNDLOC 23
2309#define TELOPT_STATUS 5
2310#define TELOPT_SUPDUP 21
2311#define TELOPT_SUPDUPOUTPUT 22
2312#define TELOPT_TM 6
2313#define TELOPT_TSPEED 32
2314#define TELOPT_TTYLOC 28
2315#define TELOPT_TTYPE 24
2316#define TELOPT_TUID 26
2317#define TELOPT_X3PAD 30
2318#define TELOPT_XASCII 17
2319#define TELOPT_XDISPLOC 35
2320#define TELQUAL_INFO 2
2321#define TELQUAL_IS 0
2322#define TELQUAL_NAME 3
2323#define TELQUAL_REPLY 2
2324#define TELQUAL_SEND 1
2325#define TFD_CLOEXEC O_CLOEXEC
2326#define TFD_NONBLOCK O_NONBLOCK
2327#define TFD_TIMER_ABSTIME 1
2328#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
2329#define TGEXEC 00010
2330#define TGREAD 00040
2331#define TGWRITE 00020
2332#define THOUSEP 0x10001
2333#define TH_ACK 0x10
2334#define TH_FIN 0x01
2335#define TH_PUSH 0x08
2336#define TH_RST 0x04
2337#define TH_SYN 0x02
2338#define TH_URG 0x20
2339#define TIMER_ABSTIME __WASI_SUBSCRIPTION_CLOCK_ABSTIME
2340#define TIME_BAD TIME_ERROR
2341#define TIME_DEL 2
2342#define TIME_ERROR 5
2343#define TIME_INS 1
2344#define TIME_OK 0
2345#define TIME_OOP 3
2346#define TIME_UTC __WASI_CLOCK_REALTIME
2347#define TIME_WAIT 4
2348#define TMAGIC "ustar"
2349#define TMAGLEN 6
2350#define TOEXEC 00001
2351#define TOREAD 00004
2352#define TOSTOP 0000400
2353#define TOWRITE 00002
2354#define TRANSIENT 4
2355#define TSGID 02000
2356#define TSS_DTOR_ITERATIONS 4
2357#define TSUID 04000
2358#define TSVTX 01000
2359#define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
2360#define TTYDEF_IFLAG (BRKINT | ISTRIP | ICRNL | IMAXBEL | IXON | IXANY)
2361#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
2362#define TTYDEF_OFLAG (OPOST | ONLCR | XTABS)
2363#define TTYDEF_SPEED (B9600)
2364#define TTY_NAME_MAX 32
2365#define TUEXEC 00100
2366#define TUREAD 00400
2367#define TUWRITE 00200
2368#define TVERSION "00"
2369#define TVERSLEN 2
2370#define TYPE_A 1
2371#define TYPE_E 2
2372#define TYPE_I 3
2373#define TYPE_L 4
2374#define TZNAME_MAX 6
2375#define T_A ns_t_a
2376#define T_A6 ns_t_a6
2377#define T_AAAA ns_t_aaaa
2378#define T_AFSDB ns_t_afsdb
2379#define T_ANY ns_t_any
2380#define T_ATMA ns_t_atma
2381#define T_AXFR ns_t_axfr
2382#define T_CNAME ns_t_cname
2383#define T_DNAME ns_t_dname
2384#define T_EID ns_t_eid
2385#define T_FMT 0x2002A
2386#define T_FMT_AMPM 0x2002B
2387#define T_GPOS ns_t_gpos
2388#define T_HINFO ns_t_hinfo
2389#define T_ISDN ns_t_isdn
2390#define T_IXFR ns_t_ixfr
2391#define T_KEY ns_t_key
2392#define T_LOC ns_t_loc
2393#define T_MAILA ns_t_maila
2394#define T_MAILB ns_t_mailb
2395#define T_MB ns_t_mb
2396#define T_MD ns_t_md
2397#define T_MF ns_t_mf
2398#define T_MG ns_t_mg
2399#define T_MINFO ns_t_minfo
2400#define T_MR ns_t_mr
2401#define T_MX ns_t_mx
2402#define T_NAPTR ns_t_naptr
2403#define T_NIMLOC ns_t_nimloc
2404#define T_NS ns_t_ns
2405#define T_NSAP ns_t_nsap
2406#define T_NSAP_PTR ns_t_nsap_ptr
2407#define T_NULL ns_t_null
2408#define T_NXT ns_t_nxt
2409#define T_PTR ns_t_ptr
2410#define T_PX ns_t_px
2411#define T_RP ns_t_rp
2412#define T_RT ns_t_rt
2413#define T_SIG ns_t_sig
2414#define T_SOA ns_t_soa
2415#define T_SRV ns_t_srv
2416#define T_TSIG ns_t_tsig
2417#define T_TXT ns_t_txt
2418#define T_WKS ns_t_wks
2419#define T_X25 ns_t_x25
2420#define UCHAR_MAX 255
2421#define UDP_CORK 1
2422#define UDP_ENCAP 100
2423#define UDP_ENCAP_ESPINUDP 2
2424#define UDP_ENCAP_ESPINUDP_NON_IKE 1
2425#define UDP_ENCAP_GTP0 4
2426#define UDP_ENCAP_GTP1U 5
2427#define UDP_ENCAP_L2TPINUDP 3
2428#define UDP_NO_CHECK6_RX 102
2429#define UDP_NO_CHECK6_TX 101
2430#define UDP_SEGMENT 103
2431#define UINT16_C(c) c
2432#define UINT16_MAX (0xffff)
2433#define UINT32_C(c) c ## U
2434#define UINT32_MAX (0xffffffffu)
2435#define UINT64_C(c) c ## ULL
2436#define UINT64_MAX (0xffffffffffffffffu)
2437#define UINT8_C(c) c
2438#define UINT8_MAX (0xff)
2439#define UINTMAX_C(c) c ## ULL
2440#define UINTMAX_MAX UINT64_MAX
2441#define UINTPTR_MAX UINT32_MAX
2442#define UINT_FAST16_MAX UINT16_MAX
2443#define UINT_FAST32_MAX UINT32_MAX
2444#define UINT_FAST64_MAX UINT64_MAX
2445#define UINT_FAST8_MAX UINT8_MAX
2446#define UINT_LEAST16_MAX UINT16_MAX
2447#define UINT_LEAST32_MAX UINT32_MAX
2448#define UINT_LEAST64_MAX UINT64_MAX
2449#define UINT_LEAST8_MAX UINT8_MAX
2450#define UINT_MAX 0xffffffffU
2451#define UIO_MAXIOV 1024
2452#define ULLONG_MAX (2ULL*LLONG_MAX+1)
2453#define ULONG_MAX (2UL*LONG_MAX+1)
2454#define USHRT_MAX 0xffff
2455#define UTIME_NOW (-1)
2456#define UTIME_OMIT (-2)
2457#define VDISCARD 13
2458#define VEOF 4
2459#define VEOL 11
2460#define VEOL2 16
2461#define VERASE 2
2462#define VINTR 0
2463#define VKILL 3
2464#define VLNEXT 15
2465#define VMIN 6
2466#define VQUIT 1
2467#define VREPRINT 12
2468#define VSTART 8
2469#define VSTOP 9
2470#define VSUSP 10
2471#define VSWTC 7
2472#define VT0 0000000
2473#define VT1 0040000
2474#define VTDLY 0040000
2475#define VTIME 5
2476#define VWERASE 14
2477#define WCHAR_MAX (0x7fffffff+L'\0')
2478#define WCHAR_MIN (-1-0x7fffffff+L'\0')
2479#define WCOREDUMP(s) ((s) & 0x80)
2480#define WEOF 0xffffffffU
2481#define WEXITSTATUS(s) (((s) & 0xff00) >> 8)
2482#define WIFCONTINUED(s) ((s) == 0xffff)
2483#define WIFEXITED(s) (!WTERMSIG(s))
2484#define WIFSIGNALED(s) (((s)&0xffff)-1U < 0xffu)
2485#define WIFSTOPPED(s) ((short)((((s)&0xffff)*0x10001)>>8) > 0x7f00)
2486#define WILL 251
2487#define WINT_MAX UINT32_MAX
2488#define WINT_MIN 0U
2489#define WNOHANG 1
2490#define WONT 252
2491#define WORD_BIT 32
2492#define WRQ 02
2493#define WSTOPSIG(s) WEXITSTATUS(s)
2494#define WTERMSIG(s) ((s) & 0x7f)
2495#define WUNTRACED 2
2496#define W_OK 2
2497#define XATTR_CREATE 1
2498#define XATTR_REPLACE 2
2499#define XCASE 0000004
2500#define XTABS 0014000
2501#define X_OK 4
2502#define YESEXPR 0x50000
2503#define YESSTR 0x50002
2504#define YXDOMAIN ns_r_yxdomain
2505#define YXRRSET ns_r_yxrrset
2506#define _AIO_H
2507#define _ALLOCA_H
2508#define _ARPA_FTP_H
2509#define _ARPA_INET_H
2510#define _ARPA_NAMESER_H
2511#define _ARPA_TELNET_H
2512#define _ARPA_TFTP_H
2513#define _AR_H
2514#define _BSD_SOURCE 1
2515#define _BYTESWAP_H
2516#define _COMPLEX_H
2517#define _CPIO_H
2518#define _CRYPT_H
2519#define _CS_GNU_LIBC_VERSION 2
2520#define _CS_GNU_LIBPTHREAD_VERSION 3
2521#define _CS_PATH 0
2522#define _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS 4
2523#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS 1116
2524#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS 1117
2525#define _CS_POSIX_V6_ILP32_OFF32_LIBS 1118
2526#define _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS 1119
2527#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS 1120
2528#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS 1121
2529#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS 1122
2530#define _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS 1123
2531#define _CS_POSIX_V6_LP64_OFF64_CFLAGS 1124
2532#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS 1125
2533#define _CS_POSIX_V6_LP64_OFF64_LIBS 1126
2534#define _CS_POSIX_V6_LP64_OFF64_LINTFLAGS 1127
2535#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS 1128
2536#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS 1129
2537#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS 1130
2538#define _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS 1131
2539#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 1
2540#define _CS_POSIX_V7_ILP32_OFF32_CFLAGS 1132
2541#define _CS_POSIX_V7_ILP32_OFF32_LDFLAGS 1133
2542#define _CS_POSIX_V7_ILP32_OFF32_LIBS 1134
2543#define _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS 1135
2544#define _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS 1136
2545#define _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS 1137
2546#define _CS_POSIX_V7_ILP32_OFFBIG_LIBS 1138
2547#define _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS 1139
2548#define _CS_POSIX_V7_LP64_OFF64_CFLAGS 1140
2549#define _CS_POSIX_V7_LP64_OFF64_LDFLAGS 1141
2550#define _CS_POSIX_V7_LP64_OFF64_LIBS 1142
2551#define _CS_POSIX_V7_LP64_OFF64_LINTFLAGS 1143
2552#define _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS 1144
2553#define _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS 1145
2554#define _CS_POSIX_V7_LPBIG_OFFBIG_LIBS 1146
2555#define _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS 1147
2556#define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS 5
2557#define _CS_V6_ENV 1148
2558#define _CS_V7_ENV 1149
2559#define _CTYPE_H
2560#define _Complex_I (0.0f+1.0fi)
2561#define _DIRENT_H
2562#define _DIRENT_HAVE_D_OFF
2563#define _DIRENT_HAVE_D_RECLEN
2564#define _DIRENT_HAVE_D_TYPE
2565#define _ENDIAN_H
2566#define _ERRNO_H
2567#define _ERR_H
2568#define _FCNTL_H
2569#define _FEATURES_H
2570#define _FENV_H
2571#define _FLOAT_H
2572#define _FMTMSG_H
2573#define _FNMATCH_H
2574#define _FTW_H
2575#define _GETOPT_H
2576#define _GLOB_H
2577#define _ICONV_H
2578#define _IFADDRS_H
2579#define _ILP32 1
2580#define _INTTYPES_H
2581#define _IOFBF 0
2582#define _IOLBF 1
2583#define _IONBF 2
2584#define _IOT_ifconf _IOT(_IOTS(struct ifconf),1,0,0,0,0)
2585#define _IOT_ifreq _IOT(_IOTS(char),IFNAMSIZ,_IOTS(char),16,0,0)
2586#define _IOT_ifreq_int _IOT(_IOTS(char),IFNAMSIZ,_IOTS(int),1,0,0)
2587#define _IOT_ifreq_short _IOT(_IOTS(char),IFNAMSIZ,_IOTS(short),1,0,0)
2588#define _ISO646_H
2589#define _LANGINFO_H
2590#define _LIBGEN_H
2591#define _LIBINTL_H
2592#define _LIMITS_H
2593#define _LOCALE_H
2594#define _MALLOC_H
2595#define _MATH_H
2596#define _MONETARY_H
2597#define _MQUEUE_H
2598#define _NETINET_ETHER_H
2599#define _NETINET_ICMP6_H
2600#define _NETINET_IF_ETHER_H
2601#define _NETINET_IGMP_H
2602#define _NETINET_IN_H
2603#define _NETINET_IN_SYSTM_H
2604#define _NETINET_IP6_H
2605#define _NETINET_IP_H
2606#define _NETINET_IP_ICMP_H
2607#define _NETINET_TCP_H
2608#define _NETINET_UDP_H
2609#define _NETPACKET_PACKET_H
2610#define _NET_ETHERNET_H
2611#define _NET_IF_ARP_H
2612#define _NET_IF_H
2613#define _NET_ROUTE_H
2614#define _NL_LOCALE_NAME(cat) (((cat)<<16) | 0xffff)
2615#define _NL_TYPES_H
2616#define _PC_2_SYMLINKS 20
2617#define _PC_ALLOC_SIZE_MIN 18
2618#define _PC_ASYNC_IO 10
2619#define _PC_CHOWN_RESTRICTED 6
2620#define _PC_FILESIZEBITS 13
2621#define _PC_LINK_MAX 0
2622#define _PC_MAX_CANON 1
2623#define _PC_MAX_INPUT 2
2624#define _PC_NAME_MAX 3
2625#define _PC_NO_TRUNC 7
2626#define _PC_PATH_MAX 4
2627#define _PC_PIPE_BUF 5
2628#define _PC_PRIO_IO 11
2629#define _PC_REC_INCR_XFER_SIZE 14
2630#define _PC_REC_MAX_XFER_SIZE 15
2631#define _PC_REC_MIN_XFER_SIZE 16
2632#define _PC_REC_XFER_ALIGN 17
2633#define _PC_SOCK_MAXBUF 12
2634#define _PC_SYMLINK_MAX 19
2635#define _PC_SYNC_IO 9
2636#define _PC_VDISABLE 8
2637#define _POLL_H
2638#define _POSIX2_BC_BASE_MAX 99
2639#define _POSIX2_BC_DIM_MAX 2048
2640#define _POSIX2_BC_SCALE_MAX 99
2641#define _POSIX2_BC_STRING_MAX 1000
2642#define _POSIX2_CHARCLASS_NAME_MAX 14
2643#define _POSIX2_COLL_WEIGHTS_MAX 2
2644#define _POSIX2_C_BIND _POSIX_VERSION
2645#define _POSIX2_EXPR_NEST_MAX 32
2646#define _POSIX2_LINE_MAX 2048
2647#define _POSIX2_RE_DUP_MAX 255
2648#define _POSIX2_VERSION _POSIX_VERSION
2649#define _POSIX_ADVISORY_INFO _POSIX_VERSION
2650#define _POSIX_AIO_LISTIO_MAX 2
2651#define _POSIX_AIO_MAX 1
2652#define _POSIX_ARG_MAX 4096
2653#define _POSIX_BARRIERS _POSIX_VERSION
2654#define _POSIX_CHILD_MAX 25
2655#define _POSIX_CHOWN_RESTRICTED 1
2656#define _POSIX_CLOCKRES_MIN 20000000
2657#define _POSIX_CLOCK_SELECTION _POSIX_VERSION
2658#define _POSIX_CPUTIME _POSIX_VERSION
2659#define _POSIX_DELAYTIMER_MAX 32
2660#define _POSIX_FSYNC _POSIX_VERSION
2661#define _POSIX_HOST_NAME_MAX 255
2662#define _POSIX_IPV6 _POSIX_VERSION
2663#define _POSIX_LINK_MAX 8
2664#define _POSIX_LOGIN_NAME_MAX 9
2665#define _POSIX_MAX_CANON 255
2666#define _POSIX_MAX_INPUT 255
2667#define _POSIX_MONOTONIC_CLOCK _POSIX_VERSION
2668#define _POSIX_NAME_MAX 14
2669#define _POSIX_NGROUPS_MAX 8
2670#define _POSIX_NO_TRUNC 1
2671#define _POSIX_OPEN_MAX 20
2672#define _POSIX_PATH_MAX 256
2673#define _POSIX_PIPE_BUF 512
2674#define _POSIX_READER_WRITER_LOCKS _POSIX_VERSION
2675#define _POSIX_REALTIME_SIGNALS _POSIX_VERSION
2676#define _POSIX_REGEXP 1
2677#define _POSIX_RE_DUP_MAX 255
2678#define _POSIX_RTSIG_MAX 8
2679#define _POSIX_SEM_NSEMS_MAX 256
2680#define _POSIX_SEM_VALUE_MAX 32767
2681#define _POSIX_SIGQUEUE_MAX 32
2682#define _POSIX_SPIN_LOCKS _POSIX_VERSION
2683#define _POSIX_SSIZE_MAX 32767
2684#define _POSIX_SS_REPL_MAX 4
2685#define _POSIX_STREAM_MAX 8
2686#define _POSIX_SYMLINK_MAX 255
2687#define _POSIX_SYMLOOP_MAX 8
2688#define _POSIX_THREADS _POSIX_VERSION
2689#define _POSIX_THREAD_ATTR_STACKADDR _POSIX_VERSION
2690#define _POSIX_THREAD_ATTR_STACKSIZE _POSIX_VERSION
2691#define _POSIX_THREAD_CPUTIME _POSIX_VERSION
2692#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
2693#define _POSIX_THREAD_KEYS_MAX 128
2694#define _POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_VERSION
2695#define _POSIX_THREAD_PROCESS_SHARED _POSIX_VERSION
2696#define _POSIX_THREAD_SAFE_FUNCTIONS _POSIX_VERSION
2697#define _POSIX_THREAD_THREADS_MAX 64
2698#define _POSIX_TIMEOUTS _POSIX_VERSION
2699#define _POSIX_TIMERS _POSIX_VERSION
2700#define _POSIX_TIMER_MAX 32
2701#define _POSIX_TRACE_EVENT_NAME_MAX 30
2702#define _POSIX_TRACE_NAME_MAX 8
2703#define _POSIX_TRACE_SYS_MAX 8
2704#define _POSIX_TRACE_USER_EVENT_MAX 32
2705#define _POSIX_TTY_NAME_MAX 9
2706#define _POSIX_TZNAME_MAX 6
2707#define _POSIX_V6_ILP32_OFFBIG (1)
2708#define _POSIX_V7_ILP32_OFFBIG (1)
2709#define _POSIX_VDISABLE 0
2710#define _POSIX_VERSION 200809L
2711#define _PTHREAD_H
2712#define _PTRDIFF_T
2713#define _REGEX_H
2714#define _SCHED_H
2715#define _SC_2_CHAR_TERM 95
2716#define _SC_2_C_BIND 47
2717#define _SC_2_C_DEV 48
2718#define _SC_2_FORT_DEV 49
2719#define _SC_2_FORT_RUN 50
2720#define _SC_2_LOCALEDEF 52
2721#define _SC_2_PBS 168
2722#define _SC_2_PBS_ACCOUNTING 169
2723#define _SC_2_PBS_CHECKPOINT 175
2724#define _SC_2_PBS_LOCATE 170
2725#define _SC_2_PBS_MESSAGE 171
2726#define _SC_2_PBS_TRACK 172
2727#define _SC_2_SW_DEV 51
2728#define _SC_2_UPE 97
2729#define _SC_2_VERSION 46
2730#define _SC_ADVISORY_INFO 132
2731#define _SC_AIO_LISTIO_MAX 23
2732#define _SC_AIO_MAX 24
2733#define _SC_AIO_PRIO_DELTA_MAX 25
2734#define _SC_ARG_MAX 0
2735#define _SC_ASYNCHRONOUS_IO 12
2736#define _SC_ATEXIT_MAX 87
2737#define _SC_AVPHYS_PAGES 86
2738#define _SC_BARRIERS 133
2739#define _SC_BC_BASE_MAX 36
2740#define _SC_BC_DIM_MAX 37
2741#define _SC_BC_SCALE_MAX 38
2742#define _SC_BC_STRING_MAX 39
2743#define _SC_CHILD_MAX 1
2744#define _SC_CLK_TCK 2
2745#define _SC_CLOCK_SELECTION 137
2746#define _SC_COLL_WEIGHTS_MAX 40
2747#define _SC_CPUTIME 138
2748#define _SC_DELAYTIMER_MAX 26
2749#define _SC_EXPR_NEST_MAX 42
2750#define _SC_FSYNC 15
2751#define _SC_GETGR_R_SIZE_MAX 69
2752#define _SC_GETPW_R_SIZE_MAX 70
2753#define _SC_HOST_NAME_MAX 180
2754#define _SC_IOV_MAX 60
2755#define _SC_IPV6 235
2756#define _SC_JOB_CONTROL 7
2757#define _SC_LINE_MAX 43
2758#define _SC_LOGIN_NAME_MAX 71
2759#define _SC_MAPPED_FILES 16
2760#define _SC_MEMLOCK 17
2761#define _SC_MEMLOCK_RANGE 18
2762#define _SC_MEMORY_PROTECTION 19
2763#define _SC_MESSAGE_PASSING 20
2764#define _SC_MONOTONIC_CLOCK 149
2765#define _SC_MQ_OPEN_MAX 27
2766#define _SC_MQ_PRIO_MAX 28
2767#define _SC_NGROUPS_MAX 3
2768#define _SC_NPROCESSORS_CONF 83
2769#define _SC_NPROCESSORS_ONLN 84
2770#define _SC_NZERO 109
2771#define _SC_OPEN_MAX 4
2772#define _SC_PAGESIZE 30
2773#define _SC_PAGE_SIZE 30
2774#define _SC_PASS_MAX 88
2775#define _SC_PHYS_PAGES 85
2776#define _SC_PRIORITIZED_IO 13
2777#define _SC_PRIORITY_SCHEDULING 10
2778#define _SC_RAW_SOCKETS 236
2779#define _SC_READER_WRITER_LOCKS 153
2780#define _SC_REALTIME_SIGNALS 9
2781#define _SC_REGEXP 155
2782#define _SC_RE_DUP_MAX 44
2783#define _SC_RTSIG_MAX 31
2784#define _SC_SAVED_IDS 8
2785#define _SC_SEMAPHORES 21
2786#define _SC_SEM_NSEMS_MAX 32
2787#define _SC_SEM_VALUE_MAX 33
2788#define _SC_SHARED_MEMORY_OBJECTS 22
2789#define _SC_SHELL 157
2790#define _SC_SIGQUEUE_MAX 34
2791#define _SC_SPAWN 159
2792#define _SC_SPIN_LOCKS 154
2793#define _SC_SPORADIC_SERVER 160
2794#define _SC_SS_REPL_MAX 241
2795#define _SC_STREAMS 174
2796#define _SC_STREAM_MAX 5
2797#define _SC_SYMLOOP_MAX 173
2798#define _SC_SYNCHRONIZED_IO 14
2799#define _SC_THREADS 67
2800#define _SC_THREAD_ATTR_STACKADDR 77
2801#define _SC_THREAD_ATTR_STACKSIZE 78
2802#define _SC_THREAD_CPUTIME 139
2803#define _SC_THREAD_DESTRUCTOR_ITERATIONS 73
2804#define _SC_THREAD_KEYS_MAX 74
2805#define _SC_THREAD_PRIORITY_SCHEDULING 79
2806#define _SC_THREAD_PRIO_INHERIT 80
2807#define _SC_THREAD_PRIO_PROTECT 81
2808#define _SC_THREAD_PROCESS_SHARED 82
2809#define _SC_THREAD_ROBUST_PRIO_INHERIT 247
2810#define _SC_THREAD_ROBUST_PRIO_PROTECT 248
2811#define _SC_THREAD_SAFE_FUNCTIONS 68
2812#define _SC_THREAD_SPORADIC_SERVER 161
2813#define _SC_THREAD_STACK_MIN 75
2814#define _SC_THREAD_THREADS_MAX 76
2815#define _SC_TIMEOUTS 164
2816#define _SC_TIMERS 11
2817#define _SC_TIMER_MAX 35
2818#define _SC_TRACE 181
2819#define _SC_TRACE_EVENT_FILTER 182
2820#define _SC_TRACE_EVENT_NAME_MAX 242
2821#define _SC_TRACE_INHERIT 183
2822#define _SC_TRACE_LOG 184
2823#define _SC_TRACE_NAME_MAX 243
2824#define _SC_TRACE_SYS_MAX 244
2825#define _SC_TRACE_USER_EVENT_MAX 245
2826#define _SC_TTY_NAME_MAX 72
2827#define _SC_TYPED_MEMORY_OBJECTS 165
2828#define _SC_TZNAME_MAX 6
2829#define _SC_UIO_MAXIOV 60
2830#define _SC_V6_ILP32_OFF32 176
2831#define _SC_V6_ILP32_OFFBIG 177
2832#define _SC_V6_LP64_OFF64 178
2833#define _SC_V6_LPBIG_OFFBIG 179
2834#define _SC_V7_ILP32_OFF32 237
2835#define _SC_V7_ILP32_OFFBIG 238
2836#define _SC_V7_LP64_OFF64 239
2837#define _SC_V7_LPBIG_OFFBIG 240
2838#define _SC_VERSION 29
2839#define _SC_XBS5_ILP32_OFF32 125
2840#define _SC_XBS5_ILP32_OFFBIG 126
2841#define _SC_XBS5_LP64_OFF64 127
2842#define _SC_XBS5_LPBIG_OFFBIG 128
2843#define _SC_XOPEN_CRYPT 92
2844#define _SC_XOPEN_ENH_I18N 93
2845#define _SC_XOPEN_LEGACY 129
2846#define _SC_XOPEN_REALTIME 130
2847#define _SC_XOPEN_REALTIME_THREADS 131
2848#define _SC_XOPEN_SHM 94
2849#define _SC_XOPEN_STREAMS 246
2850#define _SC_XOPEN_UNIX 91
2851#define _SC_XOPEN_VERSION 89
2852#define _SC_XOPEN_XCU_VERSION 90
2853#define _SC_XOPEN_XPG2 98
2854#define _SC_XOPEN_XPG3 99
2855#define _SC_XOPEN_XPG4 100
2856#define _SEARCH_H
2857#define _SEMAPHORE_H
2858#define _SIGNAL_H
2859#define _SIZE_T
2860#define _STDALIGN_H
2861#define _STDARG_H
2862#define _STDBOOL_H
2863#define _STDC_PREDEF_H
2864#define _STDDEF_H
2865#define _STDINT_H
2866#define _STDIO_EXT_H
2867#define _STDIO_H
2868#define _STDLIB_H
2869#define _STDNORETURN_H
2870#define _STRINGS_H
2871#define _STRING_H
2872#define _STROPTS_H
2873#define _SYSEXITS_H
2874#define _SYS_EVENTFD_H
2875#define _SYS_FILE_H
2876#define _SYS_IOCTL_H
2877#define _SYS_PARAM_H
2878#define _SYS_RANDOM_H
2879#define _SYS_REG_H
2880#define _SYS_RESOURCE_H
2881#define _SYS_SELECT_H
2882#define _SYS_SIGNALFD_H
2883#define _SYS_SOCKET_H
2884#define _SYS_STAT_H
2885#define _SYS_SYSCALL_H
2886#define _SYS_SYSINFO_H
2887#define _SYS_SYSMACROS_H
2888#define _SYS_TIMEB_H
2889#define _SYS_TIMERFD_H
2890#define _SYS_TIMES_H
2891#define _SYS_TIMEX_H
2892#define _SYS_TIME_H
2893#define _SYS_TTYDEFAULTS_H
2894#define _SYS_TYPES_H
2895#define _SYS_UIO_H
2896#define _SYS_UN_H
2897#define _SYS_UTSNAME_H
2898#define _SYS_XATTR_H
2899#define _TAR_H
2900#define _TERMIOS_H
2901#define _TGMATH_H
2902#define _THREADS_H
2903#define _TIME_H
2904#define _UCHAR_H
320054e8
DG
2905#define _UNISTD_H
2906#define _UTIME_H
2907#define _VALUES_H
2908#define _VA_LIST
2909#define _WCHAR_H
2910#define _WCHAR_T
2911#define _WCTYPE_H
2912#define _WINT_T
2913#define _XOPEN_ENH_I18N 1
2914#define _XOPEN_IOV_MAX 16
2915#define _XOPEN_NAME_MAX 255
2916#define _XOPEN_PATH_MAX 1024
2917#define _XOPEN_SOURCE 700
2918#define _XOPEN_UNIX 1
2919#define _XOPEN_VERSION 700
2920#define __ARE_4_EQUAL(a,b) (!( (0[a]-0[b]) | (1[a]-1[b]) | (2[a]-2[b]) | (3[a]-3[b]) ))
2921#define __ATOMIC_ACQUIRE 2
2922#define __ATOMIC_ACQ_REL 4
2923#define __ATOMIC_CONSUME 1
2924#define __ATOMIC_RELAXED 0
2925#define __ATOMIC_RELEASE 3
2926#define __ATOMIC_SEQ_CST 5
2927#define __BIGGEST_ALIGNMENT__ 16
2928#define __BIG_ENDIAN 4321
2929#define __BIND 19950621
2930#define __BYTE_ORDER __LITTLE_ENDIAN
2931#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
2932#define __CHAR16_TYPE__ unsigned short
2933#define __CHAR32_TYPE__ unsigned int
2934#define __CHAR_BIT__ 8
2935#define __CIMAG(x,t) (+(union { _Complex t __z; t __xy[2]; }){(_Complex t)(x)}.__xy[1])
2936#define __compiler_ATOMIC_BOOL_LOCK_FREE 2
2937#define __compiler_ATOMIC_CHAR16_T_LOCK_FREE 2
2938#define __compiler_ATOMIC_CHAR32_T_LOCK_FREE 2
2939#define __compiler_ATOMIC_CHAR_LOCK_FREE 2
2940#define __compiler_ATOMIC_INT_LOCK_FREE 2
2941#define __compiler_ATOMIC_LLONG_LOCK_FREE 2
2942#define __compiler_ATOMIC_LONG_LOCK_FREE 2
2943#define __compiler_ATOMIC_POINTER_LOCK_FREE 2
2944#define __compiler_ATOMIC_SHORT_LOCK_FREE 2
2945#define __compiler_ATOMIC_WCHAR_T_LOCK_FREE 2
2946#define __CLANG_MAX_ALIGN_T_DEFINED
2947#define __CMPLX(x,y,t) (__builtin_complex((t)(x), (t)(y)))
2948#define __CONSTANT_CFSTRINGS__ 1
2949#define __DBLCX(x) (__IS_CX(x) && sizeof(x) == sizeof(double complex))
2950#define __DBL_DECIMAL_DIG__ 17
2951#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
2952#define __DBL_DIG__ 15
2953#define __DBL_EPSILON__ 2.2204460492503131e-16
2954#define __DBL_HAS_DENORM__ 1
2955#define __DBL_HAS_INFINITY__ 1
2956#define __DBL_HAS_QUIET_NAN__ 1
2957#define __DBL_MANT_DIG__ 53
2958#define __DBL_MAX_10_EXP__ 308
2959#define __DBL_MAX_EXP__ 1024
2960#define __DBL_MAX__ 1.7976931348623157e+308
2961#define __DBL_MIN_10_EXP__ (-307)
2962#define __DBL_MIN_EXP__ (-1021)
2963#define __DBL_MIN__ 2.2250738585072014e-308
2964#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__
2965#define __DEFINED_FILE
2966#define __DEFINED___isoc_va_list
2967#define __DEFINED_blkcnt_t
2968#define __DEFINED_blksize_t
2969#define __DEFINED_clock_t
2970#define __DEFINED_clockid_t
2971#define __DEFINED_cnd_t
2972#define __DEFINED_dev_t
2973#define __DEFINED_double_t
2974#define __DEFINED_float_t
2975#define __DEFINED_fsblkcnt_t
2976#define __DEFINED_fsfilcnt_t
2977#define __DEFINED_gid_t
2978#define __DEFINED_id_t
2979#define __DEFINED_ino_t
2980#define __DEFINED_int16_t
2981#define __DEFINED_int32_t
2982#define __DEFINED_int64_t
2983#define __DEFINED_int8_t
2984#define __DEFINED_intmax_t
2985#define __DEFINED_intptr_t
2986#define __DEFINED_key_t
2987#define __DEFINED_locale_t
2988#define __DEFINED_mbstate_t
2989#define __DEFINED_mode_t
2990#define __DEFINED_mtx_t
2991#define __DEFINED_nlink_t
2992#define __DEFINED_off_t
2993#define __DEFINED_pid_t
2994#define __DEFINED_pthread_attr_t
2995#define __DEFINED_pthread_barrier_t
2996#define __DEFINED_pthread_barrierattr_t
2997#define __DEFINED_pthread_cond_t
2998#define __DEFINED_pthread_condattr_t
2999#define __DEFINED_pthread_key_t
3000#define __DEFINED_pthread_mutex_t
3001#define __DEFINED_pthread_mutexattr_t
3002#define __DEFINED_pthread_once_t
3003#define __DEFINED_pthread_rwlock_t
3004#define __DEFINED_pthread_rwlockattr_t
3005#define __DEFINED_pthread_spinlock_t
3006#define __DEFINED_pthread_t
3007#define __DEFINED_register_t
3008#define __DEFINED_regoff_t
3009#define __DEFINED_sa_family_t
3010#define __DEFINED_sigset_t
3011#define __DEFINED_size_t
3012#define __DEFINED_socklen_t
3013#define __DEFINED_ssize_t
3014#define __DEFINED_suseconds_t
3015#define __DEFINED_time_t
3016#define __DEFINED_timer_t
3017#define __DEFINED_u_int64_t
3018#define __DEFINED_uid_t
3019#define __DEFINED_uint16_t
3020#define __DEFINED_uint32_t
3021#define __DEFINED_uint64_t
3022#define __DEFINED_uint8_t
3023#define __DEFINED_uintmax_t
3024#define __DEFINED_uintptr_t
3025#define __DEFINED_useconds_t
3026#define __DEFINED_va_list
3027#define __DEFINED_wchar_t
3028#define __DEFINED_wctype_t
3029#define __DEFINED_wint_t
3030#define __FINITE_MATH_ONLY__ 0
3031#define __FLT(x) (__IS_REAL(x) && sizeof(x) == sizeof(float))
320054e8
DG
3032#define __FLTCX(x) (__IS_CX(x) && sizeof(x) == sizeof(float complex))
3033#define __FLT_DECIMAL_DIG__ 9
3034#define __FLT_DENORM_MIN__ 1.40129846e-45F
3035#define __FLT_DIG__ 6
3036#define __FLT_EPSILON__ 1.19209290e-7F
3037#define __FLT_EVAL_METHOD__ 0
3038#define __FLT_HAS_DENORM__ 1
3039#define __FLT_HAS_INFINITY__ 1
3040#define __FLT_HAS_QUIET_NAN__ 1
3041#define __FLT_MANT_DIG__ 24
3042#define __FLT_MAX_10_EXP__ 38
3043#define __FLT_MAX_EXP__ 128
3044#define __FLT_MAX__ 3.40282347e+38F
3045#define __FLT_MIN_10_EXP__ (-37)
3046#define __FLT_MIN_EXP__ (-125)
3047#define __FLT_MIN__ 1.17549435e-38F
3048#define __FLT_RADIX__ 2
3049#define __compiler_ATOMIC_BOOL_LOCK_FREE 2
3050#define __compiler_ATOMIC_CHAR16_T_LOCK_FREE 2
3051#define __compiler_ATOMIC_CHAR32_T_LOCK_FREE 2
3052#define __compiler_ATOMIC_CHAR_LOCK_FREE 2
3053#define __compiler_ATOMIC_INT_LOCK_FREE 2
3054#define __compiler_ATOMIC_LLONG_LOCK_FREE 2
3055#define __compiler_ATOMIC_LONG_LOCK_FREE 2
3056#define __compiler_ATOMIC_POINTER_LOCK_FREE 2
3057#define __compiler_ATOMIC_SHORT_LOCK_FREE 2
3058#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
3059#define __compiler_ATOMIC_WCHAR_T_LOCK_FREE 2
3060#define __GNUC_STDC_INLINE__ 1
3061#define __GNUC_VA_LIST 1
3062#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 1 : -1)
3063#define __GXX_ABI_VERSION 1002
3064#define __ILP32__ 1
3065#define __INT16_C_SUFFIX__
3066#define __INT16_FMTd__ "hd"
3067#define __INT16_FMTi__ "hi"
3068#define __INT16_MAX__ 32767
3069#define __INT16_TYPE__ short
3070#define __INT32_C_SUFFIX__
3071#define __INT32_FMTd__ "d"
3072#define __INT32_FMTi__ "i"
3073#define __INT32_MAX__ 2147483647
3074#define __INT32_TYPE__ int
3075#define __INT64_C_SUFFIX__ LL
3076#define __INT64_FMTd__ "lld"
3077#define __INT64_FMTi__ "lli"
3078#define __INT64_MAX__ 9223372036854775807LL
3079#define __INT64_TYPE__ long long int
3080#define __INT8_C_SUFFIX__
3081#define __INT8_FMTd__ "hhd"
3082#define __INT8_FMTi__ "hhi"
3083#define __INT8_MAX__ 127
3084#define __INT8_TYPE__ signed char
3085#define __INTMAX_C_SUFFIX__ LL
3086#define __INTMAX_FMTd__ "lld"
3087#define __INTMAX_FMTi__ "lli"
3088#define __INTMAX_MAX__ 9223372036854775807LL
3089#define __INTMAX_TYPE__ long long int
3090#define __INTMAX_WIDTH__ 64
3091#define __INTPTR_FMTd__ "ld"
3092#define __INTPTR_FMTi__ "li"
3093#define __INTPTR_MAX__ 2147483647L
3094#define __INTPTR_TYPE__ long int
3095#define __INTPTR_WIDTH__ 32
3096#define __INT_FAST16_FMTd__ "hd"
3097#define __INT_FAST16_FMTi__ "hi"
3098#define __INT_FAST16_MAX__ 32767
3099#define __INT_FAST16_TYPE__ short
3100#define __INT_FAST32_FMTd__ "d"
3101#define __INT_FAST32_FMTi__ "i"
3102#define __INT_FAST32_MAX__ 2147483647
3103#define __INT_FAST32_TYPE__ int
3104#define __INT_FAST64_FMTd__ "lld"
3105#define __INT_FAST64_FMTi__ "lli"
3106#define __INT_FAST64_MAX__ 9223372036854775807LL
3107#define __INT_FAST64_TYPE__ long long int
3108#define __INT_FAST8_FMTd__ "hhd"
3109#define __INT_FAST8_FMTi__ "hhi"
3110#define __INT_FAST8_MAX__ 127
3111#define __INT_FAST8_TYPE__ signed char
3112#define __INT_LEAST16_FMTd__ "hd"
3113#define __INT_LEAST16_FMTi__ "hi"
3114#define __INT_LEAST16_MAX__ 32767
3115#define __INT_LEAST16_TYPE__ short
3116#define __INT_LEAST32_FMTd__ "d"
3117#define __INT_LEAST32_FMTi__ "i"
3118#define __INT_LEAST32_MAX__ 2147483647
3119#define __INT_LEAST32_TYPE__ int
3120#define __INT_LEAST64_FMTd__ "lld"
3121#define __INT_LEAST64_FMTi__ "lli"
3122#define __INT_LEAST64_MAX__ 9223372036854775807LL
3123#define __INT_LEAST64_TYPE__ long long int
3124#define __INT_LEAST8_FMTd__ "hhd"
3125#define __INT_LEAST8_FMTi__ "hhi"
3126#define __INT_LEAST8_MAX__ 127
3127#define __INT_LEAST8_TYPE__ signed char
3128#define __INT_MAX__ 2147483647
3129#define __ISREL_DEF(rel,op,type) static __inline int __is##rel(type __x, type __y) { return !isunordered(__x,__y) && __x op __y; }
3130#define __IS_CX(x) (__IS_FP(x) && sizeof(x) == sizeof((x)+I))
3131#define __IS_FP(x) (sizeof((x)+1ULL) == sizeof((x)+1.0f))
3132#define __IS_REAL(x) (__IS_FP(x) && 2*sizeof(x) == sizeof((x)+I))
3133#define __LDBL(x) (__IS_REAL(x) && sizeof(x) == sizeof(long double) && sizeof(long double) != sizeof(double))
3134#define __LDBLCX(x) (__IS_CX(x) && sizeof(x) == sizeof(long double complex) && sizeof(long double) != sizeof(double))
3135#define __LDBL_DECIMAL_DIG__ 36
3136#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L
3137#define __LDBL_DIG__ 33
3138#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L
3139#define __LDBL_HAS_DENORM__ 1
3140#define __LDBL_HAS_INFINITY__ 1
3141#define __LDBL_HAS_QUIET_NAN__ 1
3142#define __LDBL_MANT_DIG__ 113
3143#define __LDBL_MAX_10_EXP__ 4932
3144#define __LDBL_MAX_EXP__ 16384
3145#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L
3146#define __LDBL_MIN_10_EXP__ (-4931)
3147#define __LDBL_MIN_EXP__ (-16381)
3148#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
3149#define __LITTLE_ENDIAN 1234
3150#define __LITTLE_ENDIAN__ 1
3151#define __LONG_LONG_MAX__ 9223372036854775807LL
3152#define __LONG_MAX__ 2147483647L
3153#define __NAMESER 19991006
3154#define __NEED_FILE
3155#define __NEED___isoc_va_list
3156#define __NEED_blkcnt_t
3157#define __NEED_blksize_t
3158#define __NEED_clock_t
3159#define __NEED_clockid_t
3160#define __NEED_cnd_t
3161#define __NEED_dev_t
3162#define __NEED_double_t
3163#define __NEED_float_t
3164#define __NEED_fsblkcnt_t
3165#define __NEED_fsfilcnt_t
3166#define __NEED_gid_t
3167#define __NEED_id_t
3168#define __NEED_ino_t
3169#define __NEED_int16_t
3170#define __NEED_int32_t
3171#define __NEED_int64_t
3172#define __NEED_int8_t
3173#define __NEED_intmax_t
3174#define __NEED_intptr_t
3175#define __NEED_key_t
3176#define __NEED_locale_t
3177#define __NEED_mbstate_t
3178#define __NEED_mode_t
3179#define __NEED_mtx_t
3180#define __NEED_nlink_t
3181#define __NEED_off_t
3182#define __NEED_pid_t
3183#define __NEED_pthread_attr_t
3184#define __NEED_pthread_barrier_t
3185#define __NEED_pthread_barrierattr_t
3186#define __NEED_pthread_cond_t
3187#define __NEED_pthread_condattr_t
3188#define __NEED_pthread_key_t
3189#define __NEED_pthread_mutex_t
3190#define __NEED_pthread_mutexattr_t
3191#define __NEED_pthread_once_t
3192#define __NEED_pthread_rwlock_t
3193#define __NEED_pthread_rwlockattr_t
3194#define __NEED_pthread_spinlock_t
3195#define __NEED_pthread_t
3196#define __NEED_register_t
3197#define __NEED_regoff_t
3198#define __NEED_sa_family_t
3199#define __NEED_sigset_t
3200#define __NEED_size_t
3201#define __NEED_socklen_t
3202#define __NEED_ssize_t
3203#define __NEED_struct_iovec
3204#define __NEED_struct_timespec
3205#define __NEED_struct_timeval
3206#define __NEED_suseconds_t
3207#define __NEED_time_t
3208#define __NEED_timer_t
3209#define __NEED_u_int64_t
3210#define __NEED_uid_t
3211#define __NEED_uint16_t
3212#define __NEED_uint32_t
3213#define __NEED_uint64_t
3214#define __NEED_uint8_t
3215#define __NEED_uintmax_t
3216#define __NEED_uintptr_t
3217#define __NEED_useconds_t
3218#define __NEED_va_list
3219#define __NEED_wchar_t
3220#define __NEED_wctype_t
3221#define __NEED_wint_t
3222#define __OBJC_BOOL_IS_BOOL 0
3223#define __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES 3
3224#define __OPENCL_MEMORY_SCOPE_DEVICE 2
3225#define __OPENCL_MEMORY_SCOPE_SUB_GROUP 4
3226#define __OPENCL_MEMORY_SCOPE_WORK_GROUP 1
3227#define __OPENCL_MEMORY_SCOPE_WORK_ITEM 0
3228#define __OPTIMIZE__ 1
3229#define __ORDER_BIG_ENDIAN__ 4321
3230#define __ORDER_LITTLE_ENDIAN__ 1234
3231#define __ORDER_PDP_ENDIAN__ 3412
3232#define __PDP_ENDIAN 3412
3233#define __POINTER_WIDTH__ 32
3234#define __PRAGMA_REDEFINE_EXTNAME 1
3235#define __PRI64 "ll"
3236#define __PRIPTR ""
3237#define __PTRDIFF_FMTd__ "ld"
3238#define __PTRDIFF_FMTi__ "li"
3239#define __PTRDIFF_MAX__ 2147483647L
3240#define __PTRDIFF_TYPE__ long int
3241#define __PTRDIFF_WIDTH__ 32
3242#define __RETCAST(x)
3243#define __RETCAST_2(x,y)
3244#define __RETCAST_3(x,y,z)
3245#define __RETCAST_CX(x)
3246#define __RETCAST_REAL(x)
3247#define __SCHAR_MAX__ 127
3248#define __SHRT_MAX__ 32767
3249#define __SID ('S' << 8)
3250#define __SIG_ATOMIC_MAX__ 2147483647L
3251#define __SIG_ATOMIC_WIDTH__ 32
3252#define __SIZEOF_DOUBLE__ 8
3253#define __SIZEOF_FLOAT__ 4
3254#define __SIZEOF_INT128__ 16
3255#define __SIZEOF_INT__ 4
3256#define __SIZEOF_LONG_DOUBLE__ 16
3257#define __SIZEOF_LONG_LONG__ 8
3258#define __SIZEOF_LONG__ 4
3259#define __SIZEOF_POINTER__ 4
3260#define __SIZEOF_PTRDIFF_T__ 4
3261#define __SIZEOF_SHORT__ 2
3262#define __SIZEOF_SIZE_T__ 4
3263#define __SIZEOF_WCHAR_T__ 4
3264#define __SIZEOF_WINT_T__ 4
3265#define __SIZE_FMTX__ "lX"
3266#define __SIZE_FMTo__ "lo"
3267#define __SIZE_FMTu__ "lu"
3268#define __SIZE_FMTx__ "lx"
3269#define __SIZE_MAX__ 4294967295UL
3270#define __SIZE_TYPE__ long unsigned int
3271#define __SIZE_WIDTH__ 32
3272#define __STDARG_H
3273#define __STDC_HOSTED__ 1
3274#define __STDC_IEC_559__ 1
3275#define __STDC_ISO_10646__ 201206L
3276#define __STDC_UTF_16__ 1
3277#define __STDC_UTF_32__ 1
3278#define __STDC_VERSION__ 201112L
3279#define __STDC__ 1
3280#define __STDDEF_H
3281#define __UAPI_DEF_ETHHDR 0
3282#define __UAPI_DEF_IF_IFCONF 0
3283#define __UAPI_DEF_IF_IFMAP 0
3284#define __UAPI_DEF_IF_IFNAMSIZ 0
3285#define __UAPI_DEF_IF_IFREQ 0
3286#define __UAPI_DEF_IF_NET_DEVICE_FLAGS 0
3287#define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 0
3288#define __UAPI_DEF_IN6_ADDR 0
3289#define __UAPI_DEF_IN6_ADDR_ALT 0
3290#define __UAPI_DEF_IN6_PKTINFO 0
3291#define __UAPI_DEF_IN_ADDR 0
3292#define __UAPI_DEF_IN_CLASS 0
3293#define __UAPI_DEF_IN_IPPROTO 0
3294#define __UAPI_DEF_IN_PKTINFO 0
3295#define __UAPI_DEF_IP6_MTUINFO 0
3296#define __UAPI_DEF_IPPROTO_V6 0
3297#define __UAPI_DEF_IPV6_MREQ 0
3298#define __UAPI_DEF_IPV6_OPTIONS 0
3299#define __UAPI_DEF_IP_MREQ 0
3300#define __UAPI_DEF_SOCKADDR_IN 0
3301#define __UAPI_DEF_SOCKADDR_IN6 0
3302#define __UAPI_DEF_XATTR 0
3303#define __UINT16_C_SUFFIX__
3304#define __UINT16_FMTX__ "hX"
3305#define __UINT16_FMTo__ "ho"
3306#define __UINT16_FMTu__ "hu"
3307#define __UINT16_FMTx__ "hx"
3308#define __UINT16_MAX__ 65535
3309#define __UINT16_TYPE__ unsigned short
3310#define __UINT32_C_SUFFIX__ U
3311#define __UINT32_FMTX__ "X"
3312#define __UINT32_FMTo__ "o"
3313#define __UINT32_FMTu__ "u"
3314#define __UINT32_FMTx__ "x"
3315#define __UINT32_MAX__ 4294967295U
3316#define __UINT32_TYPE__ unsigned int
3317#define __UINT64_C_SUFFIX__ ULL
3318#define __UINT64_FMTX__ "llX"
3319#define __UINT64_FMTo__ "llo"
3320#define __UINT64_FMTu__ "llu"
3321#define __UINT64_FMTx__ "llx"
3322#define __UINT64_MAX__ 18446744073709551615ULL
3323#define __UINT64_TYPE__ long long unsigned int
3324#define __UINT8_C_SUFFIX__
3325#define __UINT8_FMTX__ "hhX"
3326#define __UINT8_FMTo__ "hho"
3327#define __UINT8_FMTu__ "hhu"
3328#define __UINT8_FMTx__ "hhx"
3329#define __UINT8_MAX__ 255
3330#define __UINT8_TYPE__ unsigned char
3331#define __UINTMAX_C_SUFFIX__ ULL
3332#define __UINTMAX_FMTX__ "llX"
3333#define __UINTMAX_FMTo__ "llo"
3334#define __UINTMAX_FMTu__ "llu"
3335#define __UINTMAX_FMTx__ "llx"
3336#define __UINTMAX_MAX__ 18446744073709551615ULL
3337#define __UINTMAX_TYPE__ long long unsigned int
3338#define __UINTMAX_WIDTH__ 64
3339#define __UINTPTR_FMTX__ "lX"
3340#define __UINTPTR_FMTo__ "lo"
3341#define __UINTPTR_FMTu__ "lu"
3342#define __UINTPTR_FMTx__ "lx"
3343#define __UINTPTR_MAX__ 4294967295UL
3344#define __UINTPTR_TYPE__ long unsigned int
3345#define __UINTPTR_WIDTH__ 32
3346#define __UINT_FAST16_FMTX__ "hX"
3347#define __UINT_FAST16_FMTo__ "ho"
3348#define __UINT_FAST16_FMTu__ "hu"
3349#define __UINT_FAST16_FMTx__ "hx"
3350#define __UINT_FAST16_MAX__ 65535
3351#define __UINT_FAST16_TYPE__ unsigned short
3352#define __UINT_FAST32_FMTX__ "X"
3353#define __UINT_FAST32_FMTo__ "o"
3354#define __UINT_FAST32_FMTu__ "u"
3355#define __UINT_FAST32_FMTx__ "x"
3356#define __UINT_FAST32_MAX__ 4294967295U
3357#define __UINT_FAST32_TYPE__ unsigned int
3358#define __UINT_FAST64_FMTX__ "llX"
3359#define __UINT_FAST64_FMTo__ "llo"
3360#define __UINT_FAST64_FMTu__ "llu"
3361#define __UINT_FAST64_FMTx__ "llx"
3362#define __UINT_FAST64_MAX__ 18446744073709551615ULL
3363#define __UINT_FAST64_TYPE__ long long unsigned int
3364#define __UINT_FAST8_FMTX__ "hhX"
3365#define __UINT_FAST8_FMTo__ "hho"
3366#define __UINT_FAST8_FMTu__ "hhu"
3367#define __UINT_FAST8_FMTx__ "hhx"
3368#define __UINT_FAST8_MAX__ 255
3369#define __UINT_FAST8_TYPE__ unsigned char
3370#define __UINT_LEAST16_FMTX__ "hX"
3371#define __UINT_LEAST16_FMTo__ "ho"
3372#define __UINT_LEAST16_FMTu__ "hu"
3373#define __UINT_LEAST16_FMTx__ "hx"
3374#define __UINT_LEAST16_MAX__ 65535
3375#define __UINT_LEAST16_TYPE__ unsigned short
3376#define __UINT_LEAST32_FMTX__ "X"
3377#define __UINT_LEAST32_FMTo__ "o"
3378#define __UINT_LEAST32_FMTu__ "u"
3379#define __UINT_LEAST32_FMTx__ "x"
3380#define __UINT_LEAST32_MAX__ 4294967295U
3381#define __UINT_LEAST32_TYPE__ unsigned int
3382#define __UINT_LEAST64_FMTX__ "llX"
3383#define __UINT_LEAST64_FMTo__ "llo"
3384#define __UINT_LEAST64_FMTu__ "llu"
3385#define __UINT_LEAST64_FMTx__ "llx"
3386#define __UINT_LEAST64_MAX__ 18446744073709551615ULL
3387#define __UINT_LEAST64_TYPE__ long long unsigned int
3388#define __UINT_LEAST8_FMTX__ "hhX"
3389#define __UINT_LEAST8_FMTo__ "hho"
3390#define __UINT_LEAST8_FMTu__ "hhu"
3391#define __UINT_LEAST8_FMTx__ "hhx"
3392#define __UINT_LEAST8_MAX__ 255
3393#define __UINT_LEAST8_TYPE__ unsigned char
3394#define __USER_LABEL_PREFIX__
3395#define __USE_GNU_GETTEXT 1
3396#define __WASI_ADVICE_DONTNEED (UINT8_C(4))
3397#define __WASI_ADVICE_NOREUSE (UINT8_C(5))
3398#define __WASI_ADVICE_NORMAL (UINT8_C(0))
3399#define __WASI_ADVICE_RANDOM (UINT8_C(2))
3400#define __WASI_ADVICE_SEQUENTIAL (UINT8_C(1))
3401#define __WASI_ADVICE_WILLNEED (UINT8_C(3))
3402#define __WASI_CLOCK_MONOTONIC (UINT32_C(1))
3403#define __WASI_CLOCK_PROCESS_CPUTIME_ID (UINT32_C(2))
3404#define __WASI_CLOCK_REALTIME (UINT32_C(0))
3405#define __WASI_CLOCK_THREAD_CPUTIME_ID (UINT32_C(3))
3406#define __WASI_DIRCOOKIE_START (UINT64_C(0))
3407#define __WASI_E2BIG (UINT16_C(1))
3408#define __WASI_EACCES (UINT16_C(2))
3409#define __WASI_EADDRINUSE (UINT16_C(3))
3410#define __WASI_EADDRNOTAVAIL (UINT16_C(4))
3411#define __WASI_EAFNOSUPPORT (UINT16_C(5))
3412#define __WASI_EAGAIN (UINT16_C(6))
3413#define __WASI_EALREADY (UINT16_C(7))
3414#define __WASI_EBADF (UINT16_C(8))
3415#define __WASI_EBADMSG (UINT16_C(9))
3416#define __WASI_EBUSY (UINT16_C(10))
3417#define __WASI_ECANCELED (UINT16_C(11))
3418#define __WASI_ECHILD (UINT16_C(12))
3419#define __WASI_ECONNABORTED (UINT16_C(13))
3420#define __WASI_ECONNREFUSED (UINT16_C(14))
3421#define __WASI_ECONNRESET (UINT16_C(15))
3422#define __WASI_EDEADLK (UINT16_C(16))
3423#define __WASI_EDESTADDRREQ (UINT16_C(17))
3424#define __WASI_EDOM (UINT16_C(18))
3425#define __WASI_EDQUOT (UINT16_C(19))
3426#define __WASI_EEXIST (UINT16_C(20))
3427#define __WASI_EFAULT (UINT16_C(21))
3428#define __WASI_EFBIG (UINT16_C(22))
3429#define __WASI_EHOSTUNREACH (UINT16_C(23))
3430#define __WASI_EIDRM (UINT16_C(24))
3431#define __WASI_EILSEQ (UINT16_C(25))
3432#define __WASI_EINPROGRESS (UINT16_C(26))
3433#define __WASI_EINTR (UINT16_C(27))
3434#define __WASI_EINVAL (UINT16_C(28))
3435#define __WASI_EIO (UINT16_C(29))
3436#define __WASI_EISCONN (UINT16_C(30))
3437#define __WASI_EISDIR (UINT16_C(31))
3438#define __WASI_ELOOP (UINT16_C(32))
3439#define __WASI_EMFILE (UINT16_C(33))
3440#define __WASI_EMLINK (UINT16_C(34))
3441#define __WASI_EMSGSIZE (UINT16_C(35))
3442#define __WASI_EMULTIHOP (UINT16_C(36))
3443#define __WASI_ENAMETOOLONG (UINT16_C(37))
3444#define __WASI_ENETDOWN (UINT16_C(38))
3445#define __WASI_ENETRESET (UINT16_C(39))
3446#define __WASI_ENETUNREACH (UINT16_C(40))
3447#define __WASI_ENFILE (UINT16_C(41))
3448#define __WASI_ENOBUFS (UINT16_C(42))
3449#define __WASI_ENODEV (UINT16_C(43))
3450#define __WASI_ENOENT (UINT16_C(44))
3451#define __WASI_ENOEXEC (UINT16_C(45))
3452#define __WASI_ENOLCK (UINT16_C(46))
3453#define __WASI_ENOLINK (UINT16_C(47))
3454#define __WASI_ENOMEM (UINT16_C(48))
3455#define __WASI_ENOMSG (UINT16_C(49))
3456#define __WASI_ENOPROTOOPT (UINT16_C(50))
3457#define __WASI_ENOSPC (UINT16_C(51))
3458#define __WASI_ENOSYS (UINT16_C(52))
3459#define __WASI_ENOTCAPABLE (UINT16_C(76))
3460#define __WASI_ENOTCONN (UINT16_C(53))
3461#define __WASI_ENOTDIR (UINT16_C(54))
3462#define __WASI_ENOTEMPTY (UINT16_C(55))
3463#define __WASI_ENOTRECOVERABLE (UINT16_C(56))
3464#define __WASI_ENOTSOCK (UINT16_C(57))
3465#define __WASI_ENOTSUP (UINT16_C(58))
3466#define __WASI_ENOTTY (UINT16_C(59))
3467#define __WASI_ENXIO (UINT16_C(60))
3468#define __WASI_EOVERFLOW (UINT16_C(61))
3469#define __WASI_EOWNERDEAD (UINT16_C(62))
3470#define __WASI_EPERM (UINT16_C(63))
3471#define __WASI_EPIPE (UINT16_C(64))
3472#define __WASI_EPROTO (UINT16_C(65))
3473#define __WASI_EPROTONOSUPPORT (UINT16_C(66))
3474#define __WASI_EPROTOTYPE (UINT16_C(67))
3475#define __WASI_ERANGE (UINT16_C(68))
3476#define __WASI_EROFS (UINT16_C(69))
3477#define __WASI_ESPIPE (UINT16_C(70))
3478#define __WASI_ESRCH (UINT16_C(71))
3479#define __WASI_ESTALE (UINT16_C(72))
3480#define __WASI_ESUCCESS (UINT16_C(0))
3481#define __WASI_ETIMEDOUT (UINT16_C(73))
3482#define __WASI_ETXTBSY (UINT16_C(74))
3483#define __WASI_EVENTTYPE_CLOCK (UINT8_C(0))
3484#define __WASI_EVENTTYPE_FD_READ (UINT8_C(1))
3485#define __WASI_EVENTTYPE_FD_WRITE (UINT8_C(2))
3486#define __WASI_EVENT_FD_READWRITE_HANGUP (UINT16_C(0x0001))
3487#define __WASI_EXDEV (UINT16_C(75))
3488#define __WASI_FDFLAG_APPEND (UINT16_C(0x0001))
3489#define __WASI_FDFLAG_DSYNC (UINT16_C(0x0002))
3490#define __WASI_FDFLAG_NONBLOCK (UINT16_C(0x0004))
3491#define __WASI_FDFLAG_RSYNC (UINT16_C(0x0008))
3492#define __WASI_FDFLAG_SYNC (UINT16_C(0x0010))
3493#define __WASI_FILESTAT_SET_ATIM (UINT16_C(0x0001))
3494#define __WASI_FILESTAT_SET_ATIM_NOW (UINT16_C(0x0002))
3495#define __WASI_FILESTAT_SET_MTIM (UINT16_C(0x0004))
3496#define __WASI_FILESTAT_SET_MTIM_NOW (UINT16_C(0x0008))
3497#define __WASI_FILETYPE_BLOCK_DEVICE (UINT8_C(1))
3498#define __WASI_FILETYPE_CHARACTER_DEVICE (UINT8_C(2))
3499#define __WASI_FILETYPE_DIRECTORY (UINT8_C(3))
3500#define __WASI_FILETYPE_REGULAR_FILE (UINT8_C(4))
3501#define __WASI_FILETYPE_SOCKET_DGRAM (UINT8_C(5))
3502#define __WASI_FILETYPE_SOCKET_STREAM (UINT8_C(6))
3503#define __WASI_FILETYPE_SYMBOLIC_LINK (UINT8_C(7))
3504#define __WASI_FILETYPE_UNKNOWN (UINT8_C(0))
3505#define __WASI_LOOKUP_SYMLINK_FOLLOW (UINT32_C(0x00000001))
3506#define __WASI_O_CREAT (UINT16_C(0x0001))
3507#define __WASI_O_DIRECTORY (UINT16_C(0x0002))
3508#define __WASI_O_EXCL (UINT16_C(0x0004))
3509#define __WASI_O_TRUNC (UINT16_C(0x0008))
3510#define __WASI_PREOPENTYPE_DIR (UINT8_C(0))
3511#define __WASI_RIGHT_FD_ADVISE (UINT64_C(0x0000000000000080))
3512#define __WASI_RIGHT_FD_ALLOCATE (UINT64_C(0x0000000000000100))
3513#define __WASI_RIGHT_FD_DATASYNC (UINT64_C(0x0000000000000001))
3514#define __WASI_RIGHT_FD_FDSTAT_SET_FLAGS (UINT64_C(0x0000000000000008))
3515#define __WASI_RIGHT_FD_FILESTAT_GET (UINT64_C(0x0000000000200000))
3516#define __WASI_RIGHT_FD_FILESTAT_SET_SIZE (UINT64_C(0x0000000000400000))
3517#define __WASI_RIGHT_FD_FILESTAT_SET_TIMES (UINT64_C(0x0000000000800000))
3518#define __WASI_RIGHT_FD_READ (UINT64_C(0x0000000000000002))
3519#define __WASI_RIGHT_FD_READDIR (UINT64_C(0x0000000000004000))
3520#define __WASI_RIGHT_FD_SEEK (UINT64_C(0x0000000000000004))
3521#define __WASI_RIGHT_FD_SYNC (UINT64_C(0x0000000000000010))
3522#define __WASI_RIGHT_FD_TELL (UINT64_C(0x0000000000000020))
3523#define __WASI_RIGHT_FD_WRITE (UINT64_C(0x0000000000000040))
3524#define __WASI_RIGHT_PATH_CREATE_DIRECTORY (UINT64_C(0x0000000000000200))
3525#define __WASI_RIGHT_PATH_CREATE_FILE (UINT64_C(0x0000000000000400))
3526#define __WASI_RIGHT_PATH_FILESTAT_GET (UINT64_C(0x0000000000040000))
3527#define __WASI_RIGHT_PATH_FILESTAT_SET_SIZE (UINT64_C(0x0000000000080000))
3528#define __WASI_RIGHT_PATH_FILESTAT_SET_TIMES (UINT64_C(0x0000000000100000))
3529#define __WASI_RIGHT_PATH_LINK_SOURCE (UINT64_C(0x0000000000000800))
3530#define __WASI_RIGHT_PATH_LINK_TARGET (UINT64_C(0x0000000000001000))
3531#define __WASI_RIGHT_PATH_OPEN (UINT64_C(0x0000000000002000))
3532#define __WASI_RIGHT_PATH_READLINK (UINT64_C(0x0000000000008000))
3533#define __WASI_RIGHT_PATH_REMOVE_DIRECTORY (UINT64_C(0x0000000002000000))
3534#define __WASI_RIGHT_PATH_RENAME_SOURCE (UINT64_C(0x0000000000010000))
3535#define __WASI_RIGHT_PATH_RENAME_TARGET (UINT64_C(0x0000000000020000))
3536#define __WASI_RIGHT_PATH_SYMLINK (UINT64_C(0x0000000001000000))
3537#define __WASI_RIGHT_PATH_UNLINK_FILE (UINT64_C(0x0000000004000000))
3538#define __WASI_RIGHT_POLL_FD_READWRITE (UINT64_C(0x0000000008000000))
3539#define __WASI_RIGHT_SOCK_SHUTDOWN (UINT64_C(0x0000000010000000))
3540#define __WASI_SHUT_RD (UINT8_C(0x01))
3541#define __WASI_SHUT_WR (UINT8_C(0x02))
3542#define __WASI_SIGABRT (UINT8_C(6))
3543#define __WASI_SIGALRM (UINT8_C(14))
3544#define __WASI_SIGBUS (UINT8_C(7))
3545#define __WASI_SIGCHLD (UINT8_C(16))
3546#define __WASI_SIGCONT (UINT8_C(17))
3547#define __WASI_SIGFPE (UINT8_C(8))
3548#define __WASI_SIGHUP (UINT8_C(1))
3549#define __WASI_SIGILL (UINT8_C(4))
3550#define __WASI_SIGINT (UINT8_C(2))
3551#define __WASI_SIGKILL (UINT8_C(9))
3552#define __WASI_SIGPIPE (UINT8_C(13))
3553#define __WASI_SIGPOLL (UINT8_C(28))
3554#define __WASI_SIGPROF (UINT8_C(26))
3555#define __WASI_SIGPWR (UINT8_C(29))
3556#define __WASI_SIGQUIT (UINT8_C(3))
3557#define __WASI_SIGSEGV (UINT8_C(11))
3558#define __WASI_SIGSTOP (UINT8_C(18))
3559#define __WASI_SIGSYS (UINT8_C(30))
3560#define __WASI_SIGTERM (UINT8_C(15))
3561#define __WASI_SIGTRAP (UINT8_C(5))
3562#define __WASI_SIGTSTP (UINT8_C(19))
3563#define __WASI_SIGTTIN (UINT8_C(20))
3564#define __WASI_SIGTTOU (UINT8_C(21))
3565#define __WASI_SIGURG (UINT8_C(22))
3566#define __WASI_SIGUSR1 (UINT8_C(10))
3567#define __WASI_SIGUSR2 (UINT8_C(12))
3568#define __WASI_SIGVTALRM (UINT8_C(25))
3569#define __WASI_SIGWINCH (UINT8_C(27))
3570#define __WASI_SIGXCPU (UINT8_C(23))
3571#define __WASI_SIGXFSZ (UINT8_C(24))
3572#define __WASI_SOCK_RECV_DATA_TRUNCATED (UINT16_C(0x0001))
3573#define __WASI_SOCK_RECV_PEEK (UINT16_C(0x0001))
3574#define __WASI_SOCK_RECV_WAITALL (UINT16_C(0x0002))
3575#define __WASI_SUBSCRIPTION_CLOCK_ABSTIME (UINT16_C(0x0001))
3576#define __WASI_WHENCE_CUR (UINT8_C(0))
3577#define __WASI_WHENCE_END (UINT8_C(1))
3578#define __WASI_WHENCE_SET (UINT8_C(2))
3579#define __WCHAR_MAX__ 2147483647
3580#define __WCHAR_TYPE__ int
3581#define __WCHAR_WIDTH__ 32
3582#define __WINT_MAX__ 2147483647
3583#define __WINT_TYPE__ int
3584#define __WINT_WIDTH__ 32
3585#define __WORDSIZE 64
3586#define __alignas_is_defined 1
3587#define __alignof_is_defined 1
3588#define __bitop(x,i,o) ((x)[(i)/8] o (1<<(i)%8))
3589#define __bool_true_false_are_defined 1
3590#define __inline inline
3591#define __restrict restrict
3592#define __tg_complex(fun,x) (__RETCAST_CX(x)( __FLTCX((x)+I) && __IS_FP(x) ? fun ## f (x) : __LDBLCX((x)+I) ? fun ## l (x) : fun(x) ))
3593#define __tg_complex_retreal(fun,x) (__RETCAST_REAL(x)( __FLTCX((x)+I) && __IS_FP(x) ? fun ## f (x) : __LDBLCX((x)+I) ? fun ## l (x) : fun(x) ))
3594#define __tg_pred_2(x,y,p) ( sizeof((x)+(y)) == sizeof(float) ? p##f(x, y) : sizeof((x)+(y)) == sizeof(double) ? p(x, y) : p##l(x, y) )
3595#define __tg_real(fun,x) (__RETCAST(x)__tg_real_nocast(fun, x))
3596#define __tg_real_2(fun,x,y) (__RETCAST_2(x, y)( __FLT(x) && __FLT(y) ? fun ## f (x, y) : __LDBL((x)+(y)) ? fun ## l (x, y) : fun(x, y) ))
3597#define __tg_real_2_1(fun,x,y) (__RETCAST(x)( __FLT(x) ? fun ## f (x, y) : __LDBL(x) ? fun ## l (x, y) : fun(x, y) ))
3598#define __tg_real_complex(fun,x) (__RETCAST(x)( __FLTCX(x) ? c ## fun ## f (x) : __DBLCX(x) ? c ## fun (x) : __LDBLCX(x) ? c ## fun ## l (x) : __FLT(x) ? fun ## f (x) : __LDBL(x) ? fun ## l (x) : fun(x) ))
3599#define __tg_real_complex_fabs(x) (__RETCAST_REAL(x)( __FLTCX(x) ? cabsf(x) : __DBLCX(x) ? cabs(x) : __LDBLCX(x) ? cabsl(x) : __FLT(x) ? fabsf(x) : __LDBL(x) ? fabsl(x) : fabs(x) ))
3600#define __tg_real_complex_pow(x,y) (__RETCAST_2(x, y)( __FLTCX((x)+(y)) && __IS_FP(x) && __IS_FP(y) ? cpowf(x, y) : __FLTCX((x)+(y)) ? cpow(x, y) : __DBLCX((x)+(y)) ? cpow(x, y) : __LDBLCX((x)+(y)) ? cpowl(x, y) : __FLT(x) && __FLT(y) ? powf(x, y) : __LDBL((x)+(y)) ? powl(x, y) : pow(x, y) ))
3601#define __tg_real_fma(x,y,z) (__RETCAST_3(x, y, z)( __FLT(x) && __FLT(y) && __FLT(z) ? fmaf(x, y, z) : __LDBL((x)+(y)+(z)) ? fmal(x, y, z) : fma(x, y, z) ))
3602#define __tg_real_nocast(fun,x) ( __FLT(x) ? fun ## f (x) : __LDBL(x) ? fun ## l (x) : fun(x) )
3603#define __tg_real_remquo(x,y,z) (__RETCAST_2(x, y)( __FLT(x) && __FLT(y) ? remquof(x, y, z) : __LDBL((x)+(y)) ? remquol(x, y, z) : remquo(x, y, z) ))
3604#define __tm_gmtoff tm_gmtoff
3605#define __tm_zone tm_zone
3606#define __va_copy(d,s) __builtin_va_copy(d,s)
3607#define __wasi__ 1
3608#define __wasi_core_h
685d0144 3609#define __wasi_libc_find_relpath_h
320054e8
DG
3610#define __wasi_libc_h
3611#define __wasilibc___errno_values_h
3612#define __wasilibc___fd_set_h
3613#define __wasilibc___function___isatty_h
3614#define __wasilibc___header_bits_signal_h
3615#define __wasilibc___header_dirent_h
3616#define __wasilibc___header_fcntl_h
3617#define __wasilibc___header_netinet_in_h
3618#define __wasilibc___header_poll_h
3619#define __wasilibc___header_sys_ioctl_h
3620#define __wasilibc___header_sys_resource_h
3621#define __wasilibc___header_sys_socket_h
3622#define __wasilibc___header_sys_stat_h
3623#define __wasilibc___header_time_h
3624#define __wasilibc___header_unistd_h
3625#define __wasilibc___headers_stdlib_h
3626#define __wasilibc___headers_string_h
3627#define __wasilibc___macro_FD_SETSIZE_h
3628#define __wasilibc___struct_dirent_h
3629#define __wasilibc___struct_in6_addr_h
3630#define __wasilibc___struct_in_addr_h
3631#define __wasilibc___struct_iovec_h
3632#define __wasilibc___struct_msghdr_h
3633#define __wasilibc___struct_pollfd_h
3634#define __wasilibc___struct_rusage_h
3635#define __wasilibc___struct_sockaddr_h
3636#define __wasilibc___struct_sockaddr_in6_h
3637#define __wasilibc___struct_sockaddr_in_h
3638#define __wasilibc___struct_sockaddr_storage_h
3639#define __wasilibc___struct_sockaddr_un_h
3640#define __wasilibc___struct_timeval_h
3641#define __wasilibc___struct_tm_h
3642#define __wasilibc___struct_tms_h
3643#define __wasilibc___typedef_DIR_h
3644#define __wasilibc___typedef_clockid_t_h
3645#define __wasilibc___typedef_fd_set_h
3646#define __wasilibc___typedef_in_addr_t_h
3647#define __wasilibc___typedef_in_port_t_h
3648#define __wasilibc___typedef_nfds_t_h
3649#define __wasilibc___typedef_sa_family_t_h
3650#define __wasilibc___typedef_sigset_t_h
3651#define __wasilibc___typedef_socklen_t_h
3652#define __wasm 1
3653#define __wasm32 1
3654#define __wasm32__ 1
3655#define __wasm__ 1
3656#define __wasm___functions_malloc_h
3657#define __wasm___functions_memcpy_h
3658#define __wasm_basics___errno_h
3659#define __wasm_basics___macro_PAGESIZE_h
3660#define __wasm_basics___struct_stat_h
3661#define __wasm_basics___struct_timespec_h
3662#define __wasm_basics___typedef_blkcnt_t_h
3663#define __wasm_basics___typedef_blksize_t_h
3664#define __wasm_basics___typedef_clock_t_h
3665#define __wasm_basics___typedef_dev_t_h
3666#define __wasm_basics___typedef_gid_t_h
3667#define __wasm_basics___typedef_ino_t_h
3668#define __wasm_basics___typedef_mode_t_h
3669#define __wasm_basics___typedef_nlink_t_h
3670#define __wasm_basics___typedef_off_t_h
3671#define __wasm_basics___typedef_ssize_t_h
3672#define __wasm_basics___typedef_suseconds_t_h
3673#define __wasm_basics___typedef_time_t_h
3674#define __wasm_basics___typedef_uid_t_h
3675#define _tolower(a) ((a)|0x20)
3676#define _toupper(a) ((a)&0x5f)
3677#define acos(x) __tg_real_complex(acos, (x))
3678#define acosh(x) __tg_real_complex(acosh, (x))
3679#define alignas _Alignas
3680#define alignof _Alignof
3681#define and &&
3682#define and_eq &=
3683#define arp_hln ea_hdr.ar_hln
3684#define arp_hrd ea_hdr.ar_hrd
3685#define arp_op ea_hdr.ar_op
3686#define arp_pln ea_hdr.ar_pln
3687#define arp_pro ea_hdr.ar_pro
3688#define asin(x) __tg_real_complex(asin, (x))
3689#define asinh(x) __tg_real_complex(asinh, (x))
3690#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
3691#define atan(x) __tg_real_complex(atan, (x))
3692#define atan2(x,y) __tg_real_2(atan2, (x), (y))
3693#define atanh(x) __tg_real_complex(atanh, (x))
3694#define be16toh(x) __bswap16(x)
3695#define be32toh(x) __bswap32(x)
3696#define be64toh(x) __bswap64(x)
3697#define betoh16(x) __bswap16(x)
3698#define betoh32(x) __bswap32(x)
3699#define betoh64(x) __bswap64(x)
3700#define bitand &
3701#define bitor |
3702#define bool _Bool
3703#define bswap_16(x) __bswap_16(x)
3704#define bswap_32(x) __bswap_32(x)
3705#define bswap_64(x) __bswap_64(x)
3706#define carg(x) __tg_complex_retreal(carg, (x))
3707#define cbrt(x) __tg_real(cbrt, (x))
3708#define ceil(x) __tg_real(ceil, (x))
3709#define cimag(x) __tg_complex_retreal(cimag, (x))
3710#define cimagf(x) __CIMAG(x, float)
3711#define cimagl(x) __CIMAG(x, long double)
3712#define clrbit(x,i) __bitop(x,i,&=~)
3713#define compl ~
3714#define complex _Complex
3715#define conj(x) __tg_complex(conj, (x))
3716#define copysign(x,y) __tg_real_2(copysign, (x), (y))
3717#define cos(x) __tg_real_complex(cos, (x))
3718#define cosh(x) __tg_real_complex(cosh, (x))
3719#define cproj(x) __tg_complex(cproj, (x))
3720#define creal(x) __tg_complex_retreal(creal, (x))
3721#define crealf(x) ((float)(x))
3722#define creall(x) ((long double)(x))
3723#define d_fileno d_ino
3724#define direct dirent
3725#define erf(x) __tg_real(erf, (x))
3726#define erfc(x) __tg_real(erfc, (x))
3727#define errno errno
3728#define exp(x) __tg_real_complex(exp, (x))
3729#define exp2(x) __tg_real(exp2, (x))
3730#define expm1(x) __tg_real(expm1, (x))
3731#define fabs(x) __tg_real_complex_fabs(x)
3732#define false 0
3733#define fdim(x,y) __tg_real_2(fdim, (x), (y))
3734#define floor(x) __tg_real(floor, (x))
3735#define fma(x,y,z) __tg_real_fma((x), (y), (z))
3736#define fmax(x,y) __tg_real_2(fmax, (x), (y))
3737#define fmin(x,y) __tg_real_2(fmin, (x), (y))
3738#define fmod(x,y) __tg_real_2(fmod, (x), (y))
3739#define fpclassify(x) ( sizeof(x) == sizeof(float) ? __fpclassifyf(x) : sizeof(x) == sizeof(double) ? __fpclassify(x) : __fpclassifyl(x) )
3740#define frexp(x,y) __tg_real_2_1(frexp, (x), (y))
3741#define howmany(n,d) (((n)+((d)-1))/(d))
3742#define htobe16(x) __bswap16(x)
3743#define htobe32(x) __bswap32(x)
3744#define htobe64(x) __bswap64(x)
3745#define htole16(x) (uint16_t)(x)
3746#define htole32(x) (uint32_t)(x)
3747#define htole64(x) (uint64_t)(x)
3748#define hypot(x,y) __tg_real_2(hypot, (x), (y))
3749#define icmp6_data16 icmp6_dataun.icmp6_un_data16
3750#define icmp6_data32 icmp6_dataun.icmp6_un_data32
3751#define icmp6_data8 icmp6_dataun.icmp6_un_data8
3752#define icmp6_id icmp6_data16[0]
3753#define icmp6_maxdelay icmp6_data16[0]
3754#define icmp6_mtu icmp6_data32[0]
3755#define icmp6_pptr icmp6_data32[0]
3756#define icmp6_seq icmp6_data16[1]
3757#define icmp_data icmp_dun.id_data
3758#define icmp_gwaddr icmp_hun.ih_gwaddr
3759#define icmp_id icmp_hun.ih_idseq.icd_id
3760#define icmp_ip icmp_dun.id_ip.idi_ip
3761#define icmp_lifetime icmp_hun.ih_rtradv.irt_lifetime
3762#define icmp_mask icmp_dun.id_mask
3763#define icmp_nextmtu icmp_hun.ih_pmtu.ipm_nextmtu
3764#define icmp_num_addrs icmp_hun.ih_rtradv.irt_num_addrs
3765#define icmp_otime icmp_dun.id_ts.its_otime
3766#define icmp_pmvoid icmp_hun.ih_pmtu.ipm_void
3767#define icmp_pptr icmp_hun.ih_pptr
3768#define icmp_radv icmp_dun.id_radv
3769#define icmp_rtime icmp_dun.id_ts.its_rtime
3770#define icmp_seq icmp_hun.ih_idseq.icd_seq
3771#define icmp_ttime icmp_dun.id_ts.its_ttime
3772#define icmp_void icmp_hun.ih_void
3773#define icmp_wpa icmp_hun.ih_rtradv.irt_wpa
3774#define ifa_broadaddr ifa_ifu.ifu_broadaddr
3775#define ifa_dstaddr ifa_ifu.ifu_dstaddr
3776#define ifc_buf ifc_ifcu.ifcu_buf
3777#define ifc_req ifc_ifcu.ifcu_req
3778#define ifr_addr ifr_ifru.ifru_addr
3779#define ifr_bandwidth ifr_ifru.ifru_ivalue
3780#define ifr_broadaddr ifr_ifru.ifru_broadaddr
3781#define ifr_data ifr_ifru.ifru_data
3782#define ifr_dstaddr ifr_ifru.ifru_dstaddr
3783#define ifr_flags ifr_ifru.ifru_flags
3784#define ifr_hwaddr ifr_ifru.ifru_hwaddr
3785#define ifr_ifindex ifr_ifru.ifru_ivalue
3786#define ifr_map ifr_ifru.ifru_map
3787#define ifr_metric ifr_ifru.ifru_ivalue
3788#define ifr_mtu ifr_ifru.ifru_mtu
3789#define ifr_name ifr_ifrn.ifrn_name
3790#define ifr_netmask ifr_ifru.ifru_netmask
3791#define ifr_newname ifr_ifru.ifru_newname
3792#define ifr_qlen ifr_ifru.ifru_ivalue
3793#define ifr_slave ifr_ifru.ifru_slave
3794#define ilogb(x) __tg_real_nocast(ilogb, (x))
3795#define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow
3796#define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim
3797#define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim
3798#define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt
3799#define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen
3800#define ip6_vfc ip6_ctlun.ip6_un2_vfc
3801#define isalpha(a) (0 ? isalpha(a) : (((unsigned)(a)|32)-'a') < 26)
3802#define isascii(a) (0 ? isascii(a) : (unsigned)(a) < 128)
3803#define isclr(x,i) !isset(x,i)
3804#define isdigit(a) (0 ? isdigit(a) : ((unsigned)(a)-'0') < 10)
3805#define isfinite(x) ( sizeof(x) == sizeof(float) ? (__FLOAT_BITS(x) & 0x7fffffff) < 0x7f800000 : sizeof(x) == sizeof(double) ? (__DOUBLE_BITS(x) & -1ULL>>1) < 0x7ffULL<<52 : __fpclassifyl(x) > FP_INFINITE)
3806#define isgraph(a) (0 ? isgraph(a) : ((unsigned)(a)-0x21) < 0x5e)
3807#define isgreater(x,y) __tg_pred_2(x, y, __isgreater)
3808#define isgreaterequal(x,y) __tg_pred_2(x, y, __isgreaterequal)
3809#define isinf(x) ( sizeof(x) == sizeof(float) ? (__FLOAT_BITS(x) & 0x7fffffff) == 0x7f800000 : sizeof(x) == sizeof(double) ? (__DOUBLE_BITS(x) & -1ULL>>1) == 0x7ffULL<<52 : __fpclassifyl(x) == FP_INFINITE)
3810#define isless(x,y) __tg_pred_2(x, y, __isless)
3811#define islessequal(x,y) __tg_pred_2(x, y, __islessequal)
3812#define islessgreater(x,y) __tg_pred_2(x, y, __islessgreater)
3813#define islower(a) (0 ? islower(a) : ((unsigned)(a)-'a') < 26)
3814#define isnan(x) ( sizeof(x) == sizeof(float) ? (__FLOAT_BITS(x) & 0x7fffffff) > 0x7f800000 : sizeof(x) == sizeof(double) ? (__DOUBLE_BITS(x) & -1ULL>>1) > 0x7ffULL<<52 : __fpclassifyl(x) == FP_NAN)
3815#define isnormal(x) ( sizeof(x) == sizeof(float) ? ((__FLOAT_BITS(x)+0x00800000) & 0x7fffffff) >= 0x01000000 : sizeof(x) == sizeof(double) ? ((__DOUBLE_BITS(x)+(1ULL<<52)) & -1ULL>>1) >= 1ULL<<53 : __fpclassifyl(x) == FP_NORMAL)
3816#define isprint(a) (0 ? isprint(a) : ((unsigned)(a)-0x20) < 0x5f)
3817#define isset(x,i) __bitop(x,i,&)
3818#define isspace(a) __isspace(a)
3819#define isunordered(x,y) (isnan((x)) ? ((void)(y),1) : isnan((y)))
3820#define isupper(a) (0 ? isupper(a) : ((unsigned)(a)-'A') < 26)
3821#define iswdigit(a) (0 ? iswdigit(a) : ((unsigned)(a)-'0') < 10)
3822#define ldexp(x,y) __tg_real_2_1(ldexp, (x), (y))
3823#define le16toh(x) (uint16_t)(x)
3824#define le32toh(x) (uint32_t)(x)
3825#define le64toh(x) (uint64_t)(x)
3826#define letoh16(x) (uint16_t)(x)
3827#define letoh32(x) (uint32_t)(x)
3828#define letoh64(x) (uint64_t)(x)
3829#define lgamma(x) __tg_real(lgamma, (x))
3830#define llrint(x) __tg_real_nocast(llrint, (x))
3831#define llround(x) __tg_real_nocast(llround, (x))
3832#define log(x) __tg_real_complex(log, (x))
3833#define log10(x) __tg_real(log10, (x))
3834#define log1p(x) __tg_real(log1p, (x))
3835#define log2(x) __tg_real(log2, (x))
3836#define logb(x) __tg_real(logb, (x))
3837#define lrint(x) __tg_real_nocast(lrint, (x))
3838#define lround(x) __tg_real_nocast(lround, (x))
3839#define major(x) ((unsigned)( (((x)>>31>>1) & 0xfffff000) | (((x)>>8) & 0x00000fff) ))
3840#define makedev(x,y) ( (((x)&0xfffff000ULL) << 32) | (((x)&0x00000fffULL) << 8) | (((y)&0xffffff00ULL) << 12) | (((y)&0x000000ffULL)) )
3841#define math_errhandling 2
3842#define minor(x) ((unsigned)( (((x)>>12) & 0xffffff00) | ((x) & 0x000000ff) ))
3843#define mld_cksum mld_icmp6_hdr.icmp6_cksum
3844#define mld_code mld_icmp6_hdr.icmp6_code
3845#define mld_maxdelay mld_icmp6_hdr.icmp6_data16[0]
3846#define mld_reserved mld_icmp6_hdr.icmp6_data16[1]
3847#define mld_type mld_icmp6_hdr.icmp6_type
3848#define nd_na_cksum nd_na_hdr.icmp6_cksum
3849#define nd_na_code nd_na_hdr.icmp6_code
3850#define nd_na_flags_reserved nd_na_hdr.icmp6_data32[0]
3851#define nd_na_type nd_na_hdr.icmp6_type
3852#define nd_ns_cksum nd_ns_hdr.icmp6_cksum
3853#define nd_ns_code nd_ns_hdr.icmp6_code
3854#define nd_ns_reserved nd_ns_hdr.icmp6_data32[0]
3855#define nd_ns_type nd_ns_hdr.icmp6_type
3856#define nd_ra_cksum nd_ra_hdr.icmp6_cksum
3857#define nd_ra_code nd_ra_hdr.icmp6_code
3858#define nd_ra_curhoplimit nd_ra_hdr.icmp6_data8[0]
3859#define nd_ra_flags_reserved nd_ra_hdr.icmp6_data8[1]
3860#define nd_ra_router_lifetime nd_ra_hdr.icmp6_data16[1]
3861#define nd_ra_type nd_ra_hdr.icmp6_type
3862#define nd_rd_cksum nd_rd_hdr.icmp6_cksum
3863#define nd_rd_code nd_rd_hdr.icmp6_code
3864#define nd_rd_reserved nd_rd_hdr.icmp6_data32[0]
3865#define nd_rd_type nd_rd_hdr.icmp6_type
3866#define nd_rs_cksum nd_rs_hdr.icmp6_cksum
3867#define nd_rs_code nd_rs_hdr.icmp6_code
3868#define nd_rs_reserved nd_rs_hdr.icmp6_data32[0]
3869#define nd_rs_type nd_rs_hdr.icmp6_type
3870#define nearbyint(x) __tg_real(nearbyint, (x))
3871#define nextafter(x,y) __tg_real_2(nextafter, (x), (y))
3872#define nexttoward(x,y) __tg_real_2(nexttoward, (x), (y))
3873#define no_argument 0
3874#define noreturn _Noreturn
3875#define not !
3876#define not_eq !=
3877#define ns_msg_base(handle) ((handle)._msg + 0)
3878#define ns_msg_count(handle,section) ((handle)._counts[section] + 0)
3879#define ns_msg_end(handle) ((handle)._eom + 0)
3880#define ns_msg_getflag(handle,flag) (((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift)
3881#define ns_msg_id(handle) ((handle)._id + 0)
3882#define ns_msg_size(handle) ((handle)._eom - (handle)._msg)
3883#define ns_rr_class(rr) ((ns_class)((rr).rr_class + 0))
3884#define ns_rr_name(rr) (((rr).name[0] != '\0') ? (rr).name : ".")
3885#define ns_rr_rdata(rr) ((rr).rdata + 0)
3886#define ns_rr_rdlen(rr) ((rr).rdlength + 0)
3887#define ns_rr_ttl(rr) ((rr).ttl + 0)
3888#define ns_rr_type(rr) ((ns_type)((rr).type + 0))
3889#define ns_t_mrr_p(t) ((t) == ns_t_tsig || (t) == ns_t_opt)
3890#define ns_t_qt_p(t) (ns_t_xfr_p(t) || (t) == ns_t_any || (t) == ns_t_mailb || (t) == ns_t_maila)
3891#define ns_t_rr_p(t) (!ns_t_qt_p(t) && !ns_t_mrr_p(t))
3892#define ns_t_udp_p(t) ((t) != ns_t_axfr && (t) != ns_t_zxfr)
3893#define ns_t_xfr_p(t) ((t) == ns_t_axfr || (t) == ns_t_ixfr || (t) == ns_t_zxfr)
3894#define offsetof(t,d) __builtin_offsetof(t, d)
3895#define optional_argument 2
3896#define or ||
3897#define or_eq |=
3898#define pow(x,y) __tg_real_complex_pow((x), (y))
3899#define powerof2(n) !(((n)-1) & (n))
3900#define pthread_cleanup_pop(r) _pthread_cleanup_pop(&__cb, (r)); } while(0)
3901#define pthread_cleanup_push(f,x) do { struct __ptcb __cb; _pthread_cleanup_push(&__cb, f, x);
3902#define pthread_equal(x,y) ((x)==(y))
3903#define remainder(x,y) __tg_real_2(remainder, (x), (y))
3904#define remquo(x,y,z) __tg_real_remquo((x), (y), (z))
3905#define required_argument 1
3906#define rint(x) __tg_real(rint, (x))
3907#define round(x) __tg_real(round, (x))
3908#define roundup(n,d) (howmany(n,d)*(d))
3909#define rr_cksum rr_hdr.icmp6_cksum
3910#define rr_code rr_hdr.icmp6_code
3911#define rr_seqnum rr_hdr.icmp6_data32[0]
3912#define rr_type rr_hdr.icmp6_type
3913#define rt_mss rt_mtu
3914#define sa_handler __sa_handler.sa_handler
3915#define sa_sigaction __sa_handler.sa_sigaction
3916#define scalbln(x,y) __tg_real_2_1(scalbln, (x), (y))
3917#define scalbn(x,y) __tg_real_2_1(scalbn, (x), (y))
3918#define setbit(x,i) __bitop(x,i,|=)
3919#define si_addr __si_fields.__sigfault.si_addr
3920#define si_addr_lsb __si_fields.__sigfault.si_addr_lsb
3921#define si_arch __si_fields.__sigsys.si_arch
3922#define si_band __si_fields.__sigpoll.si_band
3923#define si_call_addr __si_fields.__sigsys.si_call_addr
3924#define si_fd __si_fields.__sigpoll.si_fd
3925#define si_int si_value.sival_int
3926#define si_lower __si_fields.__sigfault.__first.__addr_bnd.si_lower
3927#define si_overrun __si_fields.__si_common.__first.__timer.si_overrun
3928#define si_pid __si_fields.__si_common.__first.__piduid.si_pid
3929#define si_pkey __si_fields.__sigfault.__first.si_pkey
3930#define si_ptr si_value.sival_ptr
3931#define si_status __si_fields.__si_common.__second.__sigchld.si_status
3932#define si_stime __si_fields.__si_common.__second.__sigchld.si_stime
3933#define si_syscall __si_fields.__sigsys.si_syscall
3934#define si_timerid __si_fields.__si_common.__first.__timer.si_timerid
3935#define si_uid __si_fields.__si_common.__first.__piduid.si_uid
3936#define si_upper __si_fields.__sigfault.__first.__addr_bnd.si_upper
3937#define si_utime __si_fields.__si_common.__second.__sigchld.si_utime
3938#define si_value __si_fields.__si_common.__second.si_value
3939#define signbit(x) ( sizeof(x) == sizeof(float) ? (int)(__FLOAT_BITS(x)>>31) : sizeof(x) == sizeof(double) ? (int)(__DOUBLE_BITS(x)>>63) : __signbitl(x) )
3940#define sin(x) __tg_real_complex(sin, (x))
3941#define sinh(x) __tg_real_complex(sinh, (x))
3942#define sqrt(x) __tg_real_complex(sqrt, (x))
3943#define st_atime st_atim.tv_sec
3944#define st_ctime st_ctim.tv_sec
3945#define st_mtime st_mtim.tv_sec
3946#define static_assert _Static_assert
3947#define stderr (stderr)
3948#define stdin (stdin)
3949#define stdout (stdout)
3950#define tan(x) __tg_real_complex(tan, (x))
3951#define tanh(x) __tg_real_complex(tanh, (x))
3952#define telcmds ((char [][6]){ "EOF", "SUSP", "ABORT", "EOR", "SE", "NOP", "DMARK", "BRK", "IP", "AO", "AYT", "EC", "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", 0 })
3953#define tgamma(x) __tg_real(tgamma, (x))
3954#define th_block th_u.tu_block
3955#define th_code th_u.tu_code
3956#define th_msg th_data
3957#define th_stuff th_u.tu_stuff
3958#define thrd_equal(A,B) ((A) == (B))
3959#define thread_local _Thread_local
3960#define timeradd(s,t,a) (void) ( (a)->tv_sec = (s)->tv_sec + (t)->tv_sec, ((a)->tv_usec = (s)->tv_usec + (t)->tv_usec) >= 1000000 && ((a)->tv_usec -= 1000000, (a)->tv_sec++) )
3961#define timerclear(t) ((t)->tv_sec = (t)->tv_usec = 0)
3962#define timercmp(s,t,op) ((s)->tv_sec == (t)->tv_sec ? (s)->tv_usec op (t)->tv_usec : (s)->tv_sec op (t)->tv_sec)
3963#define timerisset(t) ((t)->tv_sec || (t)->tv_usec)
3964#define timersub(s,t,a) (void) ( (a)->tv_sec = (s)->tv_sec - (t)->tv_sec, ((a)->tv_usec = (s)->tv_usec - (t)->tv_usec) < 0 && ((a)->tv_usec += 1000000, (a)->tv_sec--) )
3965#define true 1
3966#define trunc(x) __tg_real(trunc, (x))
3967#define va_arg(ap,type) __builtin_va_arg(ap, type)
3968#define va_copy(dest,src) __builtin_va_copy(dest, src)
3969#define va_end(ap) __builtin_va_end(ap)
3970#define va_start(ap,param) __builtin_va_start(ap, param)
3971#define xEOF 236
3972#define xor ^
3973#define xor_eq ^=