mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-28 05:20:28 +00:00
Fix bugs in cosmocc toolchain
This change integrates e58abc1110b335a3341e8ad5821ad8e3880d9bb2 from https://github.com/ahgamut/musl-cross-make/ which fixes the issues we were having with our C language extension for symbolic constants. This change also performs some code cleanup and bug fixes to getaddrinfo(). It's now possible to compile projects like ncurses, readline and python without needing to patch anything upstream, except maybe a line or two. Pretty soon it should be possible to build a Linux distro on Cosmo.
This commit is contained in:
parent
22f81a8d50
commit
23e235b7a5
272 changed files with 3491 additions and 4350 deletions
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_AF_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_AF_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -50,53 +49,95 @@ extern const int AF_VSOCK;
|
|||
extern const int AF_WANPIPE;
|
||||
extern const int AF_X25;
|
||||
|
||||
#define AF_ALG AF_ALG
|
||||
#define AF_LINK AF_LINK
|
||||
#define AF_APPLETALK AF_APPLETALK
|
||||
#define AF_ASH AF_ASH
|
||||
#define AF_ATMPVC AF_ATMPVC
|
||||
#define AF_ATMSVC AF_ATMSVC
|
||||
#define AF_AX25 AF_AX25
|
||||
#define AF_BLUETOOTH AF_BLUETOOTH
|
||||
#define AF_BRIDGE AF_BRIDGE
|
||||
#define AF_CAIF AF_CAIF
|
||||
#define AF_CAN AF_CAN
|
||||
#define AF_ECONET AF_ECONET
|
||||
#define AF_FILE AF_FILE
|
||||
#define AF_IB AF_IB
|
||||
#define AF_IEEE802154 AF_IEEE802154
|
||||
#define AF_INET 2
|
||||
#define AF_INET6 AF_INET6
|
||||
#define AF_IPX AF_IPX
|
||||
#define AF_IRDA AF_IRDA
|
||||
#define AF_ISDN AF_ISDN
|
||||
#define AF_IUCV AF_IUCV
|
||||
#define AF_KCM AF_KCM
|
||||
#define AF_KEY AF_KEY
|
||||
#define AF_LLC AF_LLC
|
||||
#define AF_LOCAL AF_LOCAL
|
||||
#define AF_MAX AF_MAX
|
||||
#define AF_MPLS AF_MPLS
|
||||
#define AF_NETBEUI AF_NETBEUI
|
||||
#define AF_NETLINK AF_NETLINK
|
||||
#define AF_NETROM AF_NETROM
|
||||
#define AF_NFC AF_NFC
|
||||
#define AF_PACKET AF_PACKET
|
||||
#define AF_PHONET AF_PHONET
|
||||
#define AF_PPPOX AF_PPPOX
|
||||
#define AF_ROSE AF_ROSE
|
||||
#define AF_ROUTE AF_ROUTE
|
||||
#define AF_RXRPC AF_RXRPC
|
||||
#define AF_SECURITY AF_SECURITY
|
||||
#define AF_SNA AF_SNA
|
||||
#define AF_TIPC AF_TIPC
|
||||
#define AF_UNIX 1
|
||||
#define AF_UNSPEC 0
|
||||
#define AF_VSOCK AF_VSOCK
|
||||
#define AF_WANPIPE AF_WANPIPE
|
||||
#define AF_X25 AF_X25
|
||||
|
||||
#define __tmpcosmo_AF_ALG -15823936
|
||||
#define __tmpcosmo_AF_APPLETALK -15823820
|
||||
#define __tmpcosmo_AF_ASH -15823924
|
||||
#define __tmpcosmo_AF_ATMPVC -15824070
|
||||
#define __tmpcosmo_AF_ATMSVC -15824056
|
||||
#define __tmpcosmo_AF_AX25 -15824014
|
||||
#define __tmpcosmo_AF_BLUETOOTH -15823992
|
||||
#define __tmpcosmo_AF_BRIDGE -15823812
|
||||
#define __tmpcosmo_AF_CAIF -15823850
|
||||
#define __tmpcosmo_AF_CAN -15823868
|
||||
#define __tmpcosmo_AF_ECONET -15823852
|
||||
#define __tmpcosmo_AF_FILE -15824118
|
||||
#define __tmpcosmo_AF_IB -15823966
|
||||
#define __tmpcosmo_AF_IEEE802154 -15823906
|
||||
#define __tmpcosmo_AF_IPX -15824002
|
||||
#define __tmpcosmo_AF_IRDA -15823860
|
||||
#define __tmpcosmo_AF_ISDN -15823978
|
||||
#define __tmpcosmo_AF_IUCV -15824106
|
||||
#define __tmpcosmo_AF_KCM -15824024
|
||||
#define __tmpcosmo_AF_KEY -15823948
|
||||
#define __tmpcosmo_AF_LINK -15823878
|
||||
#define __tmpcosmo_AF_LLC -15823824
|
||||
#define __tmpcosmo_AF_LOCAL -15823928
|
||||
#define __tmpcosmo_AF_MAX -15824082
|
||||
#define __tmpcosmo_AF_MPLS -15824026
|
||||
#define __tmpcosmo_AF_NETBEUI -15824124
|
||||
#define __tmpcosmo_AF_NETLINK -15824004
|
||||
#define __tmpcosmo_AF_NETROM -15823886
|
||||
#define __tmpcosmo_AF_NFC -15824142
|
||||
#define __tmpcosmo_AF_PACKET -15824028
|
||||
#define __tmpcosmo_AF_PHONET -15823830
|
||||
#define __tmpcosmo_AF_PPPOX -15823876
|
||||
#define __tmpcosmo_AF_ROSE -15824016
|
||||
#define __tmpcosmo_AF_ROUTE -15824100
|
||||
#define __tmpcosmo_AF_RXRPC -15823926
|
||||
#define __tmpcosmo_AF_SECURITY -15824136
|
||||
#define __tmpcosmo_AF_SNA -15823950
|
||||
#define __tmpcosmo_AF_TIPC -15824034
|
||||
#define __tmpcosmo_AF_VSOCK -15824146
|
||||
#define __tmpcosmo_AF_WANPIPE -15823960
|
||||
#define __tmpcosmo_AF_X25 -15823864
|
||||
#define __tmpcosmo_AF_INET6 1498323847
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define AF_ALG SYMBOLIC(AF_ALG)
|
||||
#define AF_LINK SYMBOLIC(AF_LINK)
|
||||
#define AF_APPLETALK SYMBOLIC(AF_APPLETALK)
|
||||
#define AF_ASH SYMBOLIC(AF_ASH)
|
||||
#define AF_ATMPVC SYMBOLIC(AF_ATMPVC)
|
||||
#define AF_ATMSVC SYMBOLIC(AF_ATMSVC)
|
||||
#define AF_AX25 SYMBOLIC(AF_AX25)
|
||||
#define AF_BLUETOOTH SYMBOLIC(AF_BLUETOOTH)
|
||||
#define AF_BRIDGE SYMBOLIC(AF_BRIDGE)
|
||||
#define AF_CAIF SYMBOLIC(AF_CAIF)
|
||||
#define AF_CAN SYMBOLIC(AF_CAN)
|
||||
#define AF_ECONET SYMBOLIC(AF_ECONET)
|
||||
#define AF_FILE SYMBOLIC(AF_FILE)
|
||||
#define AF_IB SYMBOLIC(AF_IB)
|
||||
#define AF_IEEE802154 SYMBOLIC(AF_IEEE802154)
|
||||
#define AF_INET LITERALLY(2)
|
||||
#define AF_INET6 SYMBOLIC(AF_INET6)
|
||||
#define AF_IPX SYMBOLIC(AF_IPX)
|
||||
#define AF_IRDA SYMBOLIC(AF_IRDA)
|
||||
#define AF_ISDN SYMBOLIC(AF_ISDN)
|
||||
#define AF_IUCV SYMBOLIC(AF_IUCV)
|
||||
#define AF_KCM SYMBOLIC(AF_KCM)
|
||||
#define AF_KEY SYMBOLIC(AF_KEY)
|
||||
#define AF_LLC SYMBOLIC(AF_LLC)
|
||||
#define AF_LOCAL SYMBOLIC(AF_LOCAL)
|
||||
#define AF_MAX SYMBOLIC(AF_MAX)
|
||||
#define AF_MPLS SYMBOLIC(AF_MPLS)
|
||||
#define AF_NETBEUI SYMBOLIC(AF_NETBEUI)
|
||||
#define AF_NETLINK SYMBOLIC(AF_NETLINK)
|
||||
#define AF_NETROM SYMBOLIC(AF_NETROM)
|
||||
#define AF_NFC SYMBOLIC(AF_NFC)
|
||||
#define AF_PACKET SYMBOLIC(AF_PACKET)
|
||||
#define AF_PHONET SYMBOLIC(AF_PHONET)
|
||||
#define AF_PPPOX SYMBOLIC(AF_PPPOX)
|
||||
#define AF_ROSE SYMBOLIC(AF_ROSE)
|
||||
#define AF_ROUTE SYMBOLIC(AF_ROUTE)
|
||||
#define AF_RXRPC SYMBOLIC(AF_RXRPC)
|
||||
#define AF_SECURITY SYMBOLIC(AF_SECURITY)
|
||||
#define AF_SNA SYMBOLIC(AF_SNA)
|
||||
#define AF_TIPC SYMBOLIC(AF_TIPC)
|
||||
#define AF_UNIX LITERALLY(1)
|
||||
#define AF_UNSPEC LITERALLY(0)
|
||||
#define AF_VSOCK SYMBOLIC(AF_VSOCK)
|
||||
#define AF_WANPIPE SYMBOLIC(AF_WANPIPE)
|
||||
#define AF_X25 SYMBOLIC(AF_X25)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_AF_H_ */
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ALG_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_ALG_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define ALG_SET_AEAD_ASSOCLEN SYMBOLIC(ALG_SET_AEAD_ASSOCLEN)
|
||||
#define ALG_SET_AEAD_AUTHSIZE SYMBOLIC(ALG_SET_AEAD_AUTHSIZE)
|
||||
#define ALG_SET_DRBG_ENTROPY SYMBOLIC(ALG_SET_DRBG_ENTROPY)
|
||||
#define ALG_SET_IV SYMBOLIC(ALG_SET_IV)
|
||||
#define ALG_SET_KEY SYMBOLIC(ALG_SET_KEY)
|
||||
#define ALG_SET_OP SYMBOLIC(ALG_SET_OP)
|
||||
#define ALG_SET_AEAD_ASSOCLEN ALG_SET_AEAD_ASSOCLEN
|
||||
#define ALG_SET_AEAD_AUTHSIZE ALG_SET_AEAD_AUTHSIZE
|
||||
#define ALG_SET_DRBG_ENTROPY ALG_SET_DRBG_ENTROPY
|
||||
#define ALG_SET_IV ALG_SET_IV
|
||||
#define ALG_SET_KEY ALG_SET_KEY
|
||||
#define ALG_SET_OP ALG_SET_OP
|
||||
|
||||
#define ALG_OP_DECRYPT SYMBOLIC(ALG_OP_DECRYPT)
|
||||
#define ALG_OP_ENCRYPT SYMBOLIC(ALG_OP_ENCRYPT)
|
||||
#define ALG_OP_DECRYPT ALG_OP_DECRYPT
|
||||
#define ALG_OP_ENCRYPT ALG_OP_ENCRYPT
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ARPHRD_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_ARPHRD_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define ARPHRD_ETHER SYMBOLIC(ARPHRD_ETHER)
|
||||
#define ARPHRD_FCFABRIC SYMBOLIC(ARPHRD_FCFABRIC)
|
||||
#define ARPHRD_IEEE80211 SYMBOLIC(ARPHRD_IEEE80211)
|
||||
#define ARPHRD_IEEE80211_PRISM SYMBOLIC(ARPHRD_IEEE80211_PRISM)
|
||||
#define ARPHRD_IEEE80211_RADIOTAP SYMBOLIC(ARPHRD_IEEE80211_RADIOTAP)
|
||||
#define ARPHRD_IEEE802154 SYMBOLIC(ARPHRD_IEEE802154)
|
||||
#define ARPHRD_IEEE802_TR SYMBOLIC(ARPHRD_IEEE802_TR)
|
||||
#define ARPHRD_LOCALTLK SYMBOLIC(ARPHRD_LOCALTLK)
|
||||
#define ARPHRD_ETHER ARPHRD_ETHER
|
||||
#define ARPHRD_FCFABRIC ARPHRD_FCFABRIC
|
||||
#define ARPHRD_IEEE80211 ARPHRD_IEEE80211
|
||||
#define ARPHRD_IEEE80211_PRISM ARPHRD_IEEE80211_PRISM
|
||||
#define ARPHRD_IEEE80211_RADIOTAP ARPHRD_IEEE80211_RADIOTAP
|
||||
#define ARPHRD_IEEE802154 ARPHRD_IEEE802154
|
||||
#define ARPHRD_IEEE802_TR ARPHRD_IEEE802_TR
|
||||
#define ARPHRD_LOCALTLK ARPHRD_LOCALTLK
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_AT_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_AT_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -19,11 +18,18 @@ extern const int AT_EMPTY_PATH;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define AT_FDCWD SYMBOLIC(AT_FDCWD)
|
||||
#define AT_SYMLINK_FOLLOW SYMBOLIC(AT_SYMLINK_FOLLOW)
|
||||
#define AT_SYMLINK_NOFOLLOW SYMBOLIC(AT_SYMLINK_NOFOLLOW)
|
||||
#define AT_REMOVEDIR SYMBOLIC(AT_REMOVEDIR)
|
||||
#define AT_EACCESS SYMBOLIC(AT_EACCESS)
|
||||
#define AT_EMPTY_PATH SYMBOLIC(AT_EMPTY_PATH)
|
||||
#define AT_FDCWD AT_FDCWD
|
||||
#define AT_SYMLINK_FOLLOW AT_SYMLINK_FOLLOW
|
||||
#define AT_SYMLINK_NOFOLLOW AT_SYMLINK_NOFOLLOW
|
||||
#define AT_REMOVEDIR AT_REMOVEDIR
|
||||
#define AT_EACCESS AT_EACCESS
|
||||
#define AT_EMPTY_PATH AT_EMPTY_PATH
|
||||
|
||||
#define __tmpcosmo_AT_FDCWD 1179405227
|
||||
#define __tmpcosmo_AT_SYMLINK_FOLLOW 2095634819
|
||||
#define __tmpcosmo_AT_SYMLINK_NOFOLLOW -527548073
|
||||
#define __tmpcosmo_AT_REMOVEDIR -1645201444
|
||||
#define __tmpcosmo_AT_EACCESS 1250381332
|
||||
#define __tmpcosmo_AT_EMPTY_PATH -905338016
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_AT_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_CALLS_AUXV_H_
|
||||
#define COSMOPOLITAN_LIBC_CALLS_AUXV_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -46,43 +45,82 @@ extern const unsigned long AT_UID;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define AT_BASE SYMBOLIC(AT_BASE)
|
||||
#define AT_BASE_PLATFORM SYMBOLIC(AT_BASE_PLATFORM)
|
||||
#define AT_CANARY SYMBOLIC(AT_CANARY)
|
||||
#define AT_CANARYLEN SYMBOLIC(AT_CANARYLEN)
|
||||
#define AT_CLKTCK SYMBOLIC(AT_CLKTCK)
|
||||
#define AT_DCACHEBSIZE SYMBOLIC(AT_DCACHEBSIZE)
|
||||
#define AT_EGID SYMBOLIC(AT_EGID)
|
||||
#define AT_EHDRFLAGS SYMBOLIC(AT_EHDRFLAGS)
|
||||
#define AT_ENTRY SYMBOLIC(AT_ENTRY)
|
||||
#define AT_EUID SYMBOLIC(AT_EUID)
|
||||
#define AT_EXECFD SYMBOLIC(AT_EXECFD)
|
||||
#define AT_EXECFN SYMBOLIC(AT_EXECFN)
|
||||
#define AT_EXECPATH SYMBOLIC(AT_EXECPATH)
|
||||
#define AT_FLAGS SYMBOLIC(AT_FLAGS)
|
||||
#define AT_GID SYMBOLIC(AT_GID)
|
||||
#define AT_HWCAP SYMBOLIC(AT_HWCAP)
|
||||
#define AT_HWCAP2 SYMBOLIC(AT_HWCAP2)
|
||||
#define AT_ICACHEBSIZE SYMBOLIC(AT_ICACHEBSIZE)
|
||||
#define AT_MINSIGSTKSZ SYMBOLIC(AT_MINSIGSTKSZ)
|
||||
#define AT_NCPUS SYMBOLIC(AT_NCPUS)
|
||||
#define AT_NOTELF SYMBOLIC(AT_NOTELF)
|
||||
#define AT_NO_AUTOMOUNT SYMBOLIC(AT_NO_AUTOMOUNT)
|
||||
#define AT_OSRELDATE SYMBOLIC(AT_OSRELDATE)
|
||||
#define AT_PAGESIZES SYMBOLIC(AT_PAGESIZES)
|
||||
#define AT_PAGESIZESLEN SYMBOLIC(AT_PAGESIZESLEN)
|
||||
#define AT_PAGESZ SYMBOLIC(AT_PAGESZ)
|
||||
#define AT_PHDR SYMBOLIC(AT_PHDR)
|
||||
#define AT_PHENT SYMBOLIC(AT_PHENT)
|
||||
#define AT_PHNUM SYMBOLIC(AT_PHNUM)
|
||||
#define AT_PLATFORM SYMBOLIC(AT_PLATFORM)
|
||||
#define AT_RANDOM SYMBOLIC(AT_RANDOM)
|
||||
#define AT_SECURE SYMBOLIC(AT_SECURE)
|
||||
#define AT_STACKBASE SYMBOLIC(AT_STACKBASE)
|
||||
#define AT_STACKPROT SYMBOLIC(AT_STACKPROT)
|
||||
#define AT_SYSINFO_EHDR SYMBOLIC(AT_SYSINFO_EHDR)
|
||||
#define AT_TIMEKEEP SYMBOLIC(AT_TIMEKEEP)
|
||||
#define AT_UCACHEBSIZE SYMBOLIC(AT_UCACHEBSIZE)
|
||||
#define AT_UID SYMBOLIC(AT_UID)
|
||||
#define AT_BASE AT_BASE
|
||||
#define AT_BASE_PLATFORM AT_BASE_PLATFORM
|
||||
#define AT_CANARY AT_CANARY
|
||||
#define AT_CANARYLEN AT_CANARYLEN
|
||||
#define AT_CLKTCK AT_CLKTCK
|
||||
#define AT_DCACHEBSIZE AT_DCACHEBSIZE
|
||||
#define AT_EGID AT_EGID
|
||||
#define AT_EHDRFLAGS AT_EHDRFLAGS
|
||||
#define AT_ENTRY AT_ENTRY
|
||||
#define AT_EUID AT_EUID
|
||||
#define AT_EXECFD AT_EXECFD
|
||||
#define AT_EXECFN AT_EXECFN
|
||||
#define AT_EXECPATH AT_EXECPATH
|
||||
#define AT_FLAGS AT_FLAGS
|
||||
#define AT_GID AT_GID
|
||||
#define AT_HWCAP AT_HWCAP
|
||||
#define AT_HWCAP2 AT_HWCAP2
|
||||
#define AT_ICACHEBSIZE AT_ICACHEBSIZE
|
||||
#define AT_MINSIGSTKSZ AT_MINSIGSTKSZ
|
||||
#define AT_NCPUS AT_NCPUS
|
||||
#define AT_NOTELF AT_NOTELF
|
||||
#define AT_NO_AUTOMOUNT AT_NO_AUTOMOUNT
|
||||
#define AT_OSRELDATE AT_OSRELDATE
|
||||
#define AT_PAGESIZES AT_PAGESIZES
|
||||
#define AT_PAGESIZESLEN AT_PAGESIZESLEN
|
||||
#define AT_PAGESZ AT_PAGESZ
|
||||
#define AT_PHDR AT_PHDR
|
||||
#define AT_PHENT AT_PHENT
|
||||
#define AT_PHNUM AT_PHNUM
|
||||
#define AT_PLATFORM AT_PLATFORM
|
||||
#define AT_RANDOM AT_RANDOM
|
||||
#define AT_SECURE AT_SECURE
|
||||
#define AT_STACKBASE AT_STACKBASE
|
||||
#define AT_STACKPROT AT_STACKPROT
|
||||
#define AT_SYSINFO_EHDR AT_SYSINFO_EHDR
|
||||
#define AT_TIMEKEEP AT_TIMEKEEP
|
||||
#define AT_UCACHEBSIZE AT_UCACHEBSIZE
|
||||
#define AT_UID AT_UID
|
||||
|
||||
#define __tmpcosmo_AT_BASE -1855992398
|
||||
#define __tmpcosmo_AT_BASE_PLATFORM 1808921239
|
||||
#define __tmpcosmo_AT_CANARY 970484702
|
||||
#define __tmpcosmo_AT_CANARYLEN -1519746688
|
||||
#define __tmpcosmo_AT_CLKTCK 1992240562
|
||||
#define __tmpcosmo_AT_DCACHEBSIZE 863586363
|
||||
#define __tmpcosmo_AT_EGID 1532201139
|
||||
#define __tmpcosmo_AT_EHDRFLAGS 1117498191
|
||||
#define __tmpcosmo_AT_ENTRY -881318004
|
||||
#define __tmpcosmo_AT_EUID -94994583
|
||||
#define __tmpcosmo_AT_EXECFD 1401411855
|
||||
#define __tmpcosmo_AT_EXECFN -1457019650
|
||||
#define __tmpcosmo_AT_EXECPATH 887479731
|
||||
#define __tmpcosmo_AT_FLAGS 1235860257
|
||||
#define __tmpcosmo_AT_GID -9520266
|
||||
#define __tmpcosmo_AT_HWCAP -1179314026
|
||||
#define __tmpcosmo_AT_HWCAP2 -1420265774
|
||||
#define __tmpcosmo_AT_ICACHEBSIZE 1580363101
|
||||
#define __tmpcosmo_AT_MINSIGSTKSZ -75267465
|
||||
#define __tmpcosmo_AT_NCPUS -995438071
|
||||
#define __tmpcosmo_AT_NOTELF 1219739005
|
||||
#define __tmpcosmo_AT_NO_AUTOMOUNT -76603664
|
||||
#define __tmpcosmo_AT_OSRELDATE 1821203372
|
||||
#define __tmpcosmo_AT_PAGESIZES 569939040
|
||||
#define __tmpcosmo_AT_PAGESIZESLEN 164991034
|
||||
#define __tmpcosmo_AT_PAGESZ 712839957
|
||||
#define __tmpcosmo_AT_PHDR -392168925
|
||||
#define __tmpcosmo_AT_PHENT 1997583295
|
||||
#define __tmpcosmo_AT_PHNUM 965878207
|
||||
#define __tmpcosmo_AT_PLATFORM -1302967068
|
||||
#define __tmpcosmo_AT_RANDOM 41281473
|
||||
#define __tmpcosmo_AT_SECURE -197675851
|
||||
#define __tmpcosmo_AT_STACKBASE -1736872741
|
||||
#define __tmpcosmo_AT_STACKPROT 217825885
|
||||
#define __tmpcosmo_AT_SYSINFO_EHDR -473176894
|
||||
#define __tmpcosmo_AT_TIMEKEEP -1193655847
|
||||
#define __tmpcosmo_AT_UCACHEBSIZE 1555124849
|
||||
#define __tmpcosmo_AT_UID 1722564595
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_CALLS_AUXV_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_BAUD_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_BAUD_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -34,37 +33,65 @@ extern const uint32_t B3000000;
|
|||
extern const uint32_t B3500000;
|
||||
extern const uint32_t B4000000;
|
||||
|
||||
#define B0 0
|
||||
#define B50 B50
|
||||
#define B75 B75
|
||||
#define B110 B110
|
||||
#define B134 B134
|
||||
#define B150 B150
|
||||
#define B200 B200
|
||||
#define B300 B300
|
||||
#define B600 B600
|
||||
#define B1200 B1200
|
||||
#define B1800 B1800
|
||||
#define B2400 B2400
|
||||
#define B4800 B4800
|
||||
#define B9600 B9600
|
||||
#define B19200 B19200
|
||||
#define B38400 B38400
|
||||
#define B57600 B57600
|
||||
#define B115200 B115200
|
||||
#define B230400 B230400
|
||||
#define B500000 B500000
|
||||
#define B576000 B576000
|
||||
#define B1000000 B1000000
|
||||
#define B1152000 B1152000
|
||||
#define B1500000 B1500000
|
||||
#define B2000000 B2000000
|
||||
#define B2500000 B2500000
|
||||
#define B3000000 B3000000
|
||||
#define B3500000 B3500000
|
||||
#define B4000000 B4000000
|
||||
|
||||
#define __tmpcosmo_B50 -953383397
|
||||
#define __tmpcosmo_B75 1130536802
|
||||
#define __tmpcosmo_B110 -659509311
|
||||
#define __tmpcosmo_B134 -131437328
|
||||
#define __tmpcosmo_B150 -1673428193
|
||||
#define __tmpcosmo_B200 2138567959
|
||||
#define __tmpcosmo_B300 -1445271060
|
||||
#define __tmpcosmo_B600 1252327384
|
||||
#define __tmpcosmo_B1200 -389937088
|
||||
#define __tmpcosmo_B1800 773974105
|
||||
#define __tmpcosmo_B2400 -1936595377
|
||||
#define __tmpcosmo_B4800 -1608072774
|
||||
#define __tmpcosmo_B9600 -1161161922
|
||||
#define __tmpcosmo_B19200 91389144
|
||||
#define __tmpcosmo_B38400 239735293
|
||||
#define __tmpcosmo_B57600 -1507679301
|
||||
#define __tmpcosmo_B115200 217987560
|
||||
#define __tmpcosmo_B230400 -1641848795
|
||||
#define __tmpcosmo_B500000 1083827308
|
||||
#define __tmpcosmo_B576000 1010987036
|
||||
#define __tmpcosmo_B1000000 -1265517687
|
||||
#define __tmpcosmo_B1152000 1805492829
|
||||
#define __tmpcosmo_B1500000 1858564109
|
||||
#define __tmpcosmo_B2000000 -597557560
|
||||
#define __tmpcosmo_B2500000 1415439593
|
||||
#define __tmpcosmo_B3000000 907032447
|
||||
#define __tmpcosmo_B3500000 -610258643
|
||||
#define __tmpcosmo_B4000000 -1412738484
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define B0 LITERALLY(0)
|
||||
#define B50 SYMBOLIC(B50)
|
||||
#define B75 SYMBOLIC(B75)
|
||||
#define B110 SYMBOLIC(B110)
|
||||
#define B134 SYMBOLIC(B134)
|
||||
#define B150 SYMBOLIC(B150)
|
||||
#define B200 SYMBOLIC(B200)
|
||||
#define B300 SYMBOLIC(B300)
|
||||
#define B600 SYMBOLIC(B600)
|
||||
#define B1200 SYMBOLIC(B1200)
|
||||
#define B1800 SYMBOLIC(B1800)
|
||||
#define B2400 SYMBOLIC(B2400)
|
||||
#define B4800 SYMBOLIC(B4800)
|
||||
#define B9600 SYMBOLIC(B9600)
|
||||
#define B19200 SYMBOLIC(B19200)
|
||||
#define B38400 SYMBOLIC(B38400)
|
||||
#define B57600 SYMBOLIC(B57600)
|
||||
#define B115200 SYMBOLIC(B115200)
|
||||
#define B230400 SYMBOLIC(B230400)
|
||||
#define B500000 SYMBOLIC(B500000)
|
||||
#define B576000 SYMBOLIC(B576000)
|
||||
#define B1000000 SYMBOLIC(B1000000)
|
||||
#define B1152000 SYMBOLIC(B1152000)
|
||||
#define B1500000 SYMBOLIC(B1500000)
|
||||
#define B2000000 SYMBOLIC(B2000000)
|
||||
#define B2500000 SYMBOLIC(B2500000)
|
||||
#define B3000000 SYMBOLIC(B3000000)
|
||||
#define B3500000 SYMBOLIC(B3500000)
|
||||
#define B4000000 SYMBOLIC(B4000000)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_BAUD_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOCK_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOCK_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -27,26 +26,9 @@ extern const int CLOCK_UPTIME_PRECISE;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define CLOCK_REALTIME LITERALLY(0)
|
||||
#define CLOCK_REALTIME 0
|
||||
#define CLOCK_MONOTONIC CLOCK_MONOTONIC
|
||||
|
||||
#define CLOCK_BOOTTIME SYMBOLIC(CLOCK_BOOTTIME)
|
||||
#define CLOCK_BOOTTIME_ALARM SYMBOLIC(CLOCK_BOOTTIME_ALARM)
|
||||
#define CLOCK_MONOTONIC SYMBOLIC(CLOCK_MONOTONIC)
|
||||
#define CLOCK_MONOTONIC_COARSE SYMBOLIC(CLOCK_MONOTONIC_COARSE)
|
||||
#define CLOCK_MONOTONIC_FAST SYMBOLIC(CLOCK_MONOTONIC_FAST)
|
||||
#define CLOCK_MONOTONIC_PRECISE SYMBOLIC(CLOCK_MONOTONIC_PRECISE)
|
||||
#define CLOCK_MONOTONIC_RAW SYMBOLIC(CLOCK_MONOTONIC_RAW)
|
||||
#define CLOCK_PROCESS_CPUTIME_ID SYMBOLIC(CLOCK_PROCESS_CPUTIME_ID)
|
||||
#define CLOCK_PROF SYMBOLIC(CLOCK_PROF)
|
||||
#define CLOCK_REALTIME_ALARM SYMBOLIC(CLOCK_REALTIME_ALARM)
|
||||
#define CLOCK_REALTIME_COARSE SYMBOLIC(CLOCK_REALTIME_COARSE)
|
||||
#define CLOCK_REALTIME_FAST SYMBOLIC(CLOCK_REALTIME_FAST)
|
||||
#define CLOCK_REALTIME_PRECISE SYMBOLIC(CLOCK_REALTIME_PRECISE)
|
||||
#define CLOCK_SECOND SYMBOLIC(CLOCK_SECOND)
|
||||
#define CLOCK_TAI SYMBOLIC(CLOCK_TAI)
|
||||
#define CLOCK_THREAD_CPUTIME_ID SYMBOLIC(CLOCK_THREAD_CPUTIME_ID)
|
||||
#define CLOCK_UPTIME SYMBOLIC(CLOCK_UPTIME)
|
||||
#define CLOCK_UPTIME_FAST SYMBOLIC(CLOCK_UPTIME_FAST)
|
||||
#define CLOCK_UPTIME_PRECISE SYMBOLIC(CLOCK_UPTIME_PRECISE)
|
||||
#define __tmpcosmo_CLOCK_MONOTONIC 52735271
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOCK_H_ */
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_CLONE_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_CLONE_H_
|
||||
#ifdef COSMO
|
||||
|
||||
#define CSIGNAL 0x000000ff
|
||||
#define CLONE_VM 0x00000100
|
||||
|
@ -27,4 +28,5 @@
|
|||
#define CLONE_NEWNET 0x40000000
|
||||
#define CLONE_IO 0x80000000
|
||||
|
||||
#endif /* COSMO */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_CLONE_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOSE_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOSE_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -10,7 +9,7 @@ extern const unsigned int CLOSE_RANGE_CLOEXEC;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define CLOSE_RANGE_UNSHARE SYMBOLIC(CLOSE_RANGE_UNSHARE)
|
||||
#define CLOSE_RANGE_CLOEXEC SYMBOLIC(CLOSE_RANGE_CLOEXEC)
|
||||
#define CLOSE_RANGE_UNSHARE CLOSE_RANGE_UNSHARE
|
||||
#define CLOSE_RANGE_CLOEXEC CLOSE_RANGE_CLOEXEC
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOSE_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_DT_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_DT_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -16,13 +15,13 @@ extern const uint8_t DT_SOCK;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define DT_UNKNOWN LITERALLY(0)
|
||||
#define DT_FIFO LITERALLY(1)
|
||||
#define DT_CHR LITERALLY(2)
|
||||
#define DT_DIR LITERALLY(4)
|
||||
#define DT_BLK LITERALLY(6)
|
||||
#define DT_REG LITERALLY(8)
|
||||
#define DT_LNK LITERALLY(10)
|
||||
#define DT_SOCK LITERALLY(12)
|
||||
#define DT_UNKNOWN 0
|
||||
#define DT_FIFO 1
|
||||
#define DT_CHR 2
|
||||
#define DT_DIR 4
|
||||
#define DT_BLK 6
|
||||
#define DT_REG 8
|
||||
#define DT_LNK 10
|
||||
#define DT_SOCK 12
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_DT_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_EPOLL_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_EPOLL_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#include "libc/sysv/consts/o.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
@ -27,29 +26,28 @@ extern const uint32_t EPOLLWAKEUP;
|
|||
extern const uint32_t EPOLLONESHOT;
|
||||
extern const uint32_t EPOLLET;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define EPOLL_CLOEXEC O_CLOEXEC
|
||||
|
||||
#define EPOLL_CTL_ADD LITERALLY(1)
|
||||
#define EPOLL_CTL_DEL LITERALLY(2)
|
||||
#define EPOLL_CTL_MOD LITERALLY(3)
|
||||
#define EPOLL_CTL_ADD 1
|
||||
#define EPOLL_CTL_DEL 2
|
||||
#define EPOLL_CTL_MOD 3
|
||||
|
||||
#define EPOLLIN LITERALLY(1)
|
||||
#define EPOLLPRI LITERALLY(2)
|
||||
#define EPOLLOUT LITERALLY(4)
|
||||
#define EPOLLERR LITERALLY(8)
|
||||
#define EPOLLHUP LITERALLY(0x10)
|
||||
#define EPOLLRDNORM LITERALLY(0x40)
|
||||
#define EPOLLRDBAND LITERALLY(0x80)
|
||||
#define EPOLLWRNORM LITERALLY(0x0100)
|
||||
#define EPOLLWRBAND LITERALLY(0x0200)
|
||||
#define EPOLLMSG LITERALLY(0x0400)
|
||||
#define EPOLLRDHUP LITERALLY(0x2000)
|
||||
#define EPOLLEXCLUSIVE LITERALLY(0x10000000)
|
||||
#define EPOLLWAKEUP LITERALLY(0x20000000)
|
||||
#define EPOLLONESHOT LITERALLY(0x40000000)
|
||||
#define EPOLLET LITERALLY(0x80000000)
|
||||
#define EPOLLIN 1
|
||||
#define EPOLLPRI 2
|
||||
#define EPOLLOUT 4
|
||||
#define EPOLLERR 8
|
||||
#define EPOLLHUP 0x10
|
||||
#define EPOLLRDNORM 0x40
|
||||
#define EPOLLRDBAND 0x80
|
||||
#define EPOLLWRNORM 0x0100
|
||||
#define EPOLLWRBAND 0x0200
|
||||
#define EPOLLMSG 0x0400
|
||||
#define EPOLLRDHUP 0x2000
|
||||
#define EPOLLEXCLUSIVE 0x10000000
|
||||
#define EPOLLWAKEUP 0x20000000
|
||||
#define EPOLLONESHOT 0x40000000
|
||||
#define EPOLLET 0x80000000
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_EPOLL_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_F_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_F_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -43,42 +42,56 @@ extern const int F_WRLCK;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define F_DUPFD LITERALLY(0)
|
||||
#define F_GETFD LITERALLY(1)
|
||||
#define F_SETFD LITERALLY(2)
|
||||
#define F_GETFL LITERALLY(3)
|
||||
#define F_SETFL LITERALLY(4)
|
||||
#define F_DUPFD 0
|
||||
#define F_GETFD 1
|
||||
#define F_SETFD 2
|
||||
#define F_GETFL 3
|
||||
#define F_SETFL 4
|
||||
|
||||
#define F_DUPFD_CLOEXEC SYMBOLIC(F_DUPFD_CLOEXEC)
|
||||
#define F_GETLEASE SYMBOLIC(F_GETLEASE)
|
||||
#define F_GETLK SYMBOLIC(F_GETLK)
|
||||
#define F_GETLK64 SYMBOLIC(F_GETLK64)
|
||||
#define F_GETOWN SYMBOLIC(F_GETOWN)
|
||||
#define F_GETPATH SYMBOLIC(F_GETPATH)
|
||||
#define F_GETPIPE_SZ SYMBOLIC(F_GETPIPE_SZ)
|
||||
#define F_GETSIG SYMBOLIC(F_GETSIG)
|
||||
#define F_MAXFD SYMBOLIC(F_MAXFD)
|
||||
#define F_NOCACHE SYMBOLIC(F_NOCACHE)
|
||||
#define F_NOTIFY SYMBOLIC(F_NOTIFY)
|
||||
#define F_RDLCK SYMBOLIC(F_RDLCK)
|
||||
#define F_SETLEASE SYMBOLIC(F_SETLEASE)
|
||||
#define F_SETLK SYMBOLIC(F_SETLK)
|
||||
#define F_SETLK64 SYMBOLIC(F_SETLK64)
|
||||
#define F_SETLKW SYMBOLIC(F_SETLKW)
|
||||
#define F_SETLKW64 SYMBOLIC(F_SETLKW64)
|
||||
#define F_SETOWN SYMBOLIC(F_SETOWN)
|
||||
#define F_SETPIPE_SZ SYMBOLIC(F_SETPIPE_SZ)
|
||||
#define F_SETSIG SYMBOLIC(F_SETSIG)
|
||||
#define F_UNLCK SYMBOLIC(F_UNLCK)
|
||||
#define F_WRLCK SYMBOLIC(F_WRLCK)
|
||||
#define F_DUPFD_CLOEXEC F_DUPFD_CLOEXEC
|
||||
#define F_GETLEASE F_GETLEASE
|
||||
#define F_GETLK F_GETLK
|
||||
#define F_GETLK64 F_GETLK64
|
||||
#define F_GETOWN F_GETOWN
|
||||
#define F_GETPATH F_GETPATH
|
||||
#define F_GETPIPE_SZ F_GETPIPE_SZ
|
||||
#define F_GETSIG F_GETSIG
|
||||
#define F_MAXFD F_MAXFD
|
||||
#define F_NOCACHE F_NOCACHE
|
||||
#define F_NOTIFY F_NOTIFY
|
||||
#define F_RDLCK F_RDLCK
|
||||
#define F_SETLEASE F_SETLEASE
|
||||
#define F_SETLK F_SETLK
|
||||
#define F_SETLK64 F_SETLK64
|
||||
#define F_SETLKW F_SETLKW
|
||||
#define F_SETLKW64 F_SETLKW64
|
||||
#define F_SETOWN F_SETOWN
|
||||
#define F_SETPIPE_SZ F_SETPIPE_SZ
|
||||
#define F_SETSIG F_SETSIG
|
||||
#define F_UNLCK F_UNLCK
|
||||
#define F_WRLCK F_WRLCK
|
||||
|
||||
/* avoid leading #ifdef configurations astray */
|
||||
/* #define F_FULLFSYNC SYMBOLIC(F_FULLFSYNC) */
|
||||
/* #define F_BARRIERFSYNC SYMBOLIC(F_BARRIERFSYNC) */
|
||||
/* #define F_OFD_GETLK SYMBOLIC(F_OFD_GETLK) */
|
||||
/* #define F_OFD_SETLK SYMBOLIC(F_OFD_SETLK) */
|
||||
/* #define F_OFD_SETLKW SYMBOLIC(F_OFD_SETLKW) */
|
||||
/* #define F_SETNOSIGPIPE SYMBOLIC(F_SETNOSIGPIPE) */
|
||||
/* #define F_GETNOSIGPIPE SYMBOLIC(F_GETNOSIGPIPE) */
|
||||
#define __tmpcosmo_F_DUPFD_CLOEXEC -15823938
|
||||
#define __tmpcosmo_F_GETLEASE -15823862
|
||||
#define __tmpcosmo_F_GETLK -15823916
|
||||
#define __tmpcosmo_F_GETLK64 -15823846
|
||||
#define __tmpcosmo_F_GETOWN -15824116
|
||||
#define __tmpcosmo_F_GETPATH -15824128
|
||||
#define __tmpcosmo_F_GETPIPE_SZ -15824006
|
||||
#define __tmpcosmo_F_GETSIG -15824112
|
||||
#define __tmpcosmo_F_MAXFD -15823896
|
||||
#define __tmpcosmo_F_NOCACHE -15824048
|
||||
#define __tmpcosmo_F_NOTIFY -15823898
|
||||
#define __tmpcosmo_F_RDLCK -15823826
|
||||
#define __tmpcosmo_F_SETLEASE -15823884
|
||||
#define __tmpcosmo_F_SETLK -15824088
|
||||
#define __tmpcosmo_F_SETLK64 -15824154
|
||||
#define __tmpcosmo_F_SETLKW -15824096
|
||||
#define __tmpcosmo_F_SETLKW64 -15824104
|
||||
#define __tmpcosmo_F_SETOWN -15823874
|
||||
#define __tmpcosmo_F_SETPIPE_SZ -15823958
|
||||
#define __tmpcosmo_F_SETSIG -15823832
|
||||
#define __tmpcosmo_F_UNLCK -15824148
|
||||
#define __tmpcosmo_F_WRLCK -15824058
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_F_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FALLOC_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_FALLOC_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -14,13 +13,4 @@ extern const int FALLOC_FL_UNSHARE_RANGE;
|
|||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define FALLOC_FL_KEEP_SIZE SYMBOLIC(FALLOC_FL_KEEP_SIZE)
|
||||
#define FALLOC_FL_PUNCH_HOLE SYMBOLIC(FALLOC_FL_PUNCH_HOLE)
|
||||
#define FALLOC_FL_NO_HIDE_STALE SYMBOLIC(FALLOC_FL_NO_HIDE_STALE)
|
||||
#define FALLOC_FL_COLLAPSE_RANGE SYMBOLIC(FALLOC_FL_COLLAPSE_RANGE)
|
||||
#define FALLOC_FL_ZERO_RANGE SYMBOLIC(FALLOC_FL_ZERO_RANGE)
|
||||
#define FALLOC_FL_INSERT_RANGE SYMBOLIC(FALLOC_FL_INSERT_RANGE)
|
||||
#define FALLOC_FL_UNSHARE_RANGE SYMBOLIC(FALLOC_FL_UNSHARE_RANGE)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FALLOC_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FB_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_FB_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -14,13 +13,4 @@ extern const uint64_t FBIO_WAITFORVSYNC;
|
|||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define FBIOGET_VSCREENINFO SYMBOLIC(FBIOGET_VSCREENINFO)
|
||||
#define FBIOPUT_VSCREENINFO SYMBOLIC(FBIOPUT_VSCREENINFO)
|
||||
#define FBIOGET_FSCREENINFO SYMBOLIC(FBIOGET_FSCREENINFO)
|
||||
#define FBIOGETCMAP SYMBOLIC(FBIOGETCMAP)
|
||||
#define FBIOPUTCMAP SYMBOLIC(FBIOPUTCMAP)
|
||||
#define FBIOPAN_DISPLAY SYMBOLIC(FBIOPAN_DISPLAY)
|
||||
#define FBIO_WAITFORVSYNC SYMBOLIC(FBIO_WAITFORVSYNC)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FB_H_ */
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FD_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_FD_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const int FD_CLOEXEC;
|
||||
|
||||
#define FD_CLOEXEC 1
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define FD_CLOEXEC LITERALLY(1)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FD_H_ */
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FILENO_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_FILENO_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define STDIN_FILENO LITERALLY(0)
|
||||
#define STDOUT_FILENO LITERALLY(1)
|
||||
#define STDERR_FILENO LITERALLY(2)
|
||||
#define STDIN_FILENO 0
|
||||
#define STDOUT_FILENO 1
|
||||
#define STDERR_FILENO 2
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FILENO_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FIO_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_FIO_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -13,10 +12,10 @@ extern const uint32_t FIONREAD;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define FIOASYNC SYMBOLIC(FIOASYNC)
|
||||
#define FIOCLEX SYMBOLIC(FIOCLEX)
|
||||
#define FIONBIO SYMBOLIC(FIONBIO)
|
||||
#define FIONCLEX SYMBOLIC(FIONCLEX)
|
||||
#define FIONREAD SYMBOLIC(FIONREAD)
|
||||
#define FIOASYNC FIOASYNC
|
||||
#define FIOCLEX FIOCLEX
|
||||
#define FIONBIO FIONBIO
|
||||
#define FIONCLEX FIONCLEX
|
||||
#define FIONREAD FIONREAD
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FIO_H_ */
|
||||
|
|
|
@ -1,10 +1,16 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FUTEX_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_FUTEX_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#ifdef COSMO
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
#define FUTEX_WAIT SYMBOLIC(FUTEX_WAIT)
|
||||
#define FUTEX_WAKE SYMBOLIC(FUTEX_WAKE)
|
||||
#define FUTEX_REQUEUE SYMBOLIC(FUTEX_REQUEUE)
|
||||
extern const int FUTEX_WAIT;
|
||||
extern const int FUTEX_WAKE;
|
||||
extern const int FUTEX_REQUEUE;
|
||||
|
||||
#define FUTEX_WAIT FUTEX_WAIT
|
||||
#define FUTEX_WAKE FUTEX_WAKE
|
||||
#define FUTEX_REQUEUE FUTEX_REQUEUE
|
||||
#define FUTEX_PRIVATE_FLAG 128
|
||||
|
||||
#define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
|
||||
|
@ -15,13 +21,7 @@
|
|||
#define FUTEX_CLOCK_REALTIME 256
|
||||
#define FUTEX_BITSET_MATCH_ANY 0xffffffff
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const int FUTEX_WAIT;
|
||||
extern const int FUTEX_WAKE;
|
||||
extern const int FUTEX_REQUEUE;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMO */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FUTEX_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_GRND_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_GRND_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define GRND_NONBLOCK 1
|
||||
#define GRND_RANDOM 2
|
||||
|
|
|
@ -1,40 +1,39 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ICMP6_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_ICMP6_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define ICMP6_DST_UNREACH SYMBOLIC(ICMP6_DST_UNREACH)
|
||||
#define ICMP6_DST_UNREACH_ADDR SYMBOLIC(ICMP6_DST_UNREACH_ADDR)
|
||||
#define ICMP6_DST_UNREACH_ADMIN SYMBOLIC(ICMP6_DST_UNREACH_ADMIN)
|
||||
#define ICMP6_DST_UNREACH_BEYONDSCOPE SYMBOLIC(ICMP6_DST_UNREACH_BEYONDSCOPE)
|
||||
#define ICMP6_DST_UNREACH_NOPORT SYMBOLIC(ICMP6_DST_UNREACH_NOPORT)
|
||||
#define ICMP6_DST_UNREACH_NOROUTE SYMBOLIC(ICMP6_DST_UNREACH_NOROUTE)
|
||||
#define ICMP6_ECHO_REPLY SYMBOLIC(ICMP6_ECHO_REPLY)
|
||||
#define ICMP6_ECHO_REQUEST SYMBOLIC(ICMP6_ECHO_REQUEST)
|
||||
#define ICMP6_FILTER SYMBOLIC(ICMP6_FILTER)
|
||||
#define ICMP6_INFOMSG_MASK SYMBOLIC(ICMP6_INFOMSG_MASK)
|
||||
#define ICMP6_PACKET_TOO_BIG SYMBOLIC(ICMP6_PACKET_TOO_BIG)
|
||||
#define ICMP6_PARAMPROB_HEADER SYMBOLIC(ICMP6_PARAMPROB_HEADER)
|
||||
#define ICMP6_PARAMPROB_NEXTHEADER SYMBOLIC(ICMP6_PARAMPROB_NEXTHEADER)
|
||||
#define ICMP6_PARAMPROB_OPTION SYMBOLIC(ICMP6_PARAMPROB_OPTION)
|
||||
#define ICMP6_PARAM_PROB SYMBOLIC(ICMP6_PARAM_PROB)
|
||||
#define ICMP6_ROUTER_RENUMBERING SYMBOLIC(ICMP6_ROUTER_RENUMBERING)
|
||||
#define ICMP6_RR_FLAGS_FORCEAPPLY SYMBOLIC(ICMP6_RR_FLAGS_FORCEAPPLY)
|
||||
#define ICMP6_RR_FLAGS_PREVDONE SYMBOLIC(ICMP6_RR_FLAGS_PREVDONE)
|
||||
#define ICMP6_RR_FLAGS_REQRESULT SYMBOLIC(ICMP6_RR_FLAGS_REQRESULT)
|
||||
#define ICMP6_RR_FLAGS_SPECSITE SYMBOLIC(ICMP6_RR_FLAGS_SPECSITE)
|
||||
#define ICMP6_RR_FLAGS_TEST SYMBOLIC(ICMP6_RR_FLAGS_TEST)
|
||||
#define ICMP6_DST_UNREACH ICMP6_DST_UNREACH
|
||||
#define ICMP6_DST_UNREACH_ADDR ICMP6_DST_UNREACH_ADDR
|
||||
#define ICMP6_DST_UNREACH_ADMIN ICMP6_DST_UNREACH_ADMIN
|
||||
#define ICMP6_DST_UNREACH_BEYONDSCOPE ICMP6_DST_UNREACH_BEYONDSCOPE
|
||||
#define ICMP6_DST_UNREACH_NOPORT ICMP6_DST_UNREACH_NOPORT
|
||||
#define ICMP6_DST_UNREACH_NOROUTE ICMP6_DST_UNREACH_NOROUTE
|
||||
#define ICMP6_ECHO_REPLY ICMP6_ECHO_REPLY
|
||||
#define ICMP6_ECHO_REQUEST ICMP6_ECHO_REQUEST
|
||||
#define ICMP6_FILTER ICMP6_FILTER
|
||||
#define ICMP6_INFOMSG_MASK ICMP6_INFOMSG_MASK
|
||||
#define ICMP6_PACKET_TOO_BIG ICMP6_PACKET_TOO_BIG
|
||||
#define ICMP6_PARAMPROB_HEADER ICMP6_PARAMPROB_HEADER
|
||||
#define ICMP6_PARAMPROB_NEXTHEADER ICMP6_PARAMPROB_NEXTHEADER
|
||||
#define ICMP6_PARAMPROB_OPTION ICMP6_PARAMPROB_OPTION
|
||||
#define ICMP6_PARAM_PROB ICMP6_PARAM_PROB
|
||||
#define ICMP6_ROUTER_RENUMBERING ICMP6_ROUTER_RENUMBERING
|
||||
#define ICMP6_RR_FLAGS_FORCEAPPLY ICMP6_RR_FLAGS_FORCEAPPLY
|
||||
#define ICMP6_RR_FLAGS_PREVDONE ICMP6_RR_FLAGS_PREVDONE
|
||||
#define ICMP6_RR_FLAGS_REQRESULT ICMP6_RR_FLAGS_REQRESULT
|
||||
#define ICMP6_RR_FLAGS_SPECSITE ICMP6_RR_FLAGS_SPECSITE
|
||||
#define ICMP6_RR_FLAGS_TEST ICMP6_RR_FLAGS_TEST
|
||||
#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME \
|
||||
SYMBOLIC(ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME)
|
||||
ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME
|
||||
#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME \
|
||||
SYMBOLIC(ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME)
|
||||
#define ICMP6_RR_PCOUSE_RAFLAGS_AUTO SYMBOLIC(ICMP6_RR_PCOUSE_RAFLAGS_AUTO)
|
||||
#define ICMP6_RR_PCOUSE_RAFLAGS_ONLINK SYMBOLIC(ICMP6_RR_PCOUSE_RAFLAGS_ONLINK)
|
||||
ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME
|
||||
#define ICMP6_RR_PCOUSE_RAFLAGS_AUTO ICMP6_RR_PCOUSE_RAFLAGS_AUTO
|
||||
#define ICMP6_RR_PCOUSE_RAFLAGS_ONLINK ICMP6_RR_PCOUSE_RAFLAGS_ONLINK
|
||||
#define ICMP6_RR_RESULT_FLAGS_FORBIDDEN \
|
||||
SYMBOLIC(ICMP6_RR_RESULT_FLAGS_FORBIDDEN)
|
||||
#define ICMP6_RR_RESULT_FLAGS_OOB SYMBOLIC(ICMP6_RR_RESULT_FLAGS_OOB)
|
||||
#define ICMP6_TIME_EXCEEDED SYMBOLIC(ICMP6_TIME_EXCEEDED)
|
||||
#define ICMP6_TIME_EXCEED_REASSEMBLY SYMBOLIC(ICMP6_TIME_EXCEED_REASSEMBLY)
|
||||
#define ICMP6_TIME_EXCEED_TRANSIT SYMBOLIC(ICMP6_TIME_EXCEED_TRANSIT)
|
||||
ICMP6_RR_RESULT_FLAGS_FORBIDDEN
|
||||
#define ICMP6_RR_RESULT_FLAGS_OOB ICMP6_RR_RESULT_FLAGS_OOB
|
||||
#define ICMP6_TIME_EXCEEDED ICMP6_TIME_EXCEEDED
|
||||
#define ICMP6_TIME_EXCEED_REASSEMBLY ICMP6_TIME_EXCEED_REASSEMBLY
|
||||
#define ICMP6_TIME_EXCEED_TRANSIT ICMP6_TIME_EXCEED_TRANSIT
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -40,4 +40,17 @@ COSMOPOLITAN_C_END_
|
|||
#define IFF_RUNNING IFF_RUNNING
|
||||
#define IFF_SLAVE IFF_SLAVE
|
||||
|
||||
#define __tmpcosmo_IFF_ALLMULTI -15824140
|
||||
#define __tmpcosmo_IFF_AUTOMEDIA -15823962
|
||||
#define __tmpcosmo_IFF_DYNAMIC -15823848
|
||||
#define __tmpcosmo_IFF_MASTER -15823900
|
||||
#define __tmpcosmo_IFF_MULTICAST -15824000
|
||||
#define __tmpcosmo_IFF_NOARP -15823802
|
||||
#define __tmpcosmo_IFF_NOTRAILERS -15824130
|
||||
#define __tmpcosmo_IFF_POINTOPOINT -15824138
|
||||
#define __tmpcosmo_IFF_PORTSEL -15824150
|
||||
#define __tmpcosmo_IFF_PROMISC -15824010
|
||||
#define __tmpcosmo_IFF_RUNNING -15824080
|
||||
#define __tmpcosmo_IFF_SLAVE -15824022
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IFF_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IOV_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IOV_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -9,6 +8,6 @@ extern const int IOV_MAX;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define IOV_MAX SYMBOLIC(IOV_MAX)
|
||||
#define IOV_MAX IOV_MAX
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IOV_H_ */
|
||||
|
|
|
@ -1,57 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IP_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IP_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define IP_ADD_MEMBERSHIP SYMBOLIC(IP_ADD_MEMBERSHIP)
|
||||
#define IP_ADD_SOURCE_MEMBERSHIP SYMBOLIC(IP_ADD_SOURCE_MEMBERSHIP)
|
||||
#define IP_BIND_ADDRESS_NO_PORT SYMBOLIC(IP_BIND_ADDRESS_NO_PORT)
|
||||
#define IP_BLOCK_SOURCE SYMBOLIC(IP_BLOCK_SOURCE)
|
||||
#define IP_CHECKSUM SYMBOLIC(IP_CHECKSUM)
|
||||
#define IP_DEFAULT_MULTICAST_LOOP SYMBOLIC(IP_DEFAULT_MULTICAST_LOOP)
|
||||
#define IP_DEFAULT_MULTICAST_TTL SYMBOLIC(IP_DEFAULT_MULTICAST_TTL)
|
||||
#define IP_DROP_MEMBERSHIP SYMBOLIC(IP_DROP_MEMBERSHIP)
|
||||
#define IP_DROP_SOURCE_MEMBERSHIP SYMBOLIC(IP_DROP_SOURCE_MEMBERSHIP)
|
||||
#define IP_FREEBIND SYMBOLIC(IP_FREEBIND)
|
||||
#define IP_HDRINCL SYMBOLIC(IP_HDRINCL)
|
||||
#define IP_IPSEC_POLICY SYMBOLIC(IP_IPSEC_POLICY)
|
||||
#define IP_MAX_MEMBERSHIPS SYMBOLIC(IP_MAX_MEMBERSHIPS)
|
||||
#define IP_MINTTL SYMBOLIC(IP_MINTTL)
|
||||
#define IP_MSFILTER SYMBOLIC(IP_MSFILTER)
|
||||
#define IP_MTU SYMBOLIC(IP_MTU)
|
||||
#define IP_MTU_DISCOVER SYMBOLIC(IP_MTU_DISCOVER)
|
||||
#define IP_MULTICAST_ALL SYMBOLIC(IP_MULTICAST_ALL)
|
||||
#define IP_MULTICAST_IF SYMBOLIC(IP_MULTICAST_IF)
|
||||
#define IP_MULTICAST_LOOP SYMBOLIC(IP_MULTICAST_LOOP)
|
||||
#define IP_MULTICAST_TTL SYMBOLIC(IP_MULTICAST_TTL)
|
||||
#define IP_NODEFRAG SYMBOLIC(IP_NODEFRAG)
|
||||
#define IP_OPTIONS SYMBOLIC(IP_OPTIONS)
|
||||
#define IP_ORIGDSTADDR SYMBOLIC(IP_ORIGDSTADDR)
|
||||
#define IP_PASSSEC SYMBOLIC(IP_PASSSEC)
|
||||
#define IP_PKTINFO SYMBOLIC(IP_PKTINFO)
|
||||
#define IP_PKTOPTIONS SYMBOLIC(IP_PKTOPTIONS)
|
||||
#define IP_PMTUDISC SYMBOLIC(IP_PMTUDISC)
|
||||
#define IP_PMTUDISC_DO SYMBOLIC(IP_PMTUDISC_DO)
|
||||
#define IP_PMTUDISC_DONT SYMBOLIC(IP_PMTUDISC_DONT)
|
||||
#define IP_PMTUDISC_INTERFACE SYMBOLIC(IP_PMTUDISC_INTERFACE)
|
||||
#define IP_PMTUDISC_OMIT SYMBOLIC(IP_PMTUDISC_OMIT)
|
||||
#define IP_PMTUDISC_PROBE SYMBOLIC(IP_PMTUDISC_PROBE)
|
||||
#define IP_PMTUDISC_WANT SYMBOLIC(IP_PMTUDISC_WANT)
|
||||
#define IP_RECVDSTADDR SYMBOLIC(IP_RECVDSTADDR)
|
||||
#define IP_RECVERR SYMBOLIC(IP_RECVERR)
|
||||
#define IP_RECVOPTS SYMBOLIC(IP_RECVOPTS)
|
||||
#define IP_RECVORIGDSTADDR SYMBOLIC(IP_RECVORIGDSTADDR)
|
||||
#define IP_RECVRETOPTS SYMBOLIC(IP_RECVRETOPTS)
|
||||
#define IP_RECVTOS SYMBOLIC(IP_RECVTOS)
|
||||
#define IP_RECVTTL SYMBOLIC(IP_RECVTTL)
|
||||
#define IP_RETOPTS SYMBOLIC(IP_RETOPTS)
|
||||
#define IP_ROUTER_ALERT SYMBOLIC(IP_ROUTER_ALERT)
|
||||
#define IP_TOS SYMBOLIC(IP_TOS)
|
||||
#define IP_TRANSPARENT SYMBOLIC(IP_TRANSPARENT)
|
||||
#define IP_TTL SYMBOLIC(IP_TTL)
|
||||
#define IP_UNBLOCK_SOURCE SYMBOLIC(IP_UNBLOCK_SOURCE)
|
||||
#define IP_UNICAST_IF SYMBOLIC(IP_UNICAST_IF)
|
||||
#define IP_XFRM_POLICY SYMBOLIC(IP_XFRM_POLICY)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -105,6 +53,106 @@ extern const int IP_UNBLOCK_SOURCE;
|
|||
extern const int IP_UNICAST_IF;
|
||||
extern const int IP_XFRM_POLICY;
|
||||
|
||||
#define IP_ADD_MEMBERSHIP IP_ADD_MEMBERSHIP
|
||||
#define IP_ADD_SOURCE_MEMBERSHIP IP_ADD_SOURCE_MEMBERSHIP
|
||||
#define IP_BIND_ADDRESS_NO_PORT IP_BIND_ADDRESS_NO_PORT
|
||||
#define IP_BLOCK_SOURCE IP_BLOCK_SOURCE
|
||||
#define IP_CHECKSUM IP_CHECKSUM
|
||||
#define IP_DEFAULT_MULTICAST_LOOP IP_DEFAULT_MULTICAST_LOOP
|
||||
#define IP_DEFAULT_MULTICAST_TTL IP_DEFAULT_MULTICAST_TTL
|
||||
#define IP_DROP_MEMBERSHIP IP_DROP_MEMBERSHIP
|
||||
#define IP_DROP_SOURCE_MEMBERSHIP IP_DROP_SOURCE_MEMBERSHIP
|
||||
#define IP_FREEBIND IP_FREEBIND
|
||||
#define IP_HDRINCL IP_HDRINCL
|
||||
#define IP_IPSEC_POLICY IP_IPSEC_POLICY
|
||||
#define IP_MAX_MEMBERSHIPS IP_MAX_MEMBERSHIPS
|
||||
#define IP_MINTTL IP_MINTTL
|
||||
#define IP_MSFILTER IP_MSFILTER
|
||||
#define IP_MTU IP_MTU
|
||||
#define IP_MTU_DISCOVER IP_MTU_DISCOVER
|
||||
#define IP_MULTICAST_ALL IP_MULTICAST_ALL
|
||||
#define IP_MULTICAST_IF IP_MULTICAST_IF
|
||||
#define IP_MULTICAST_LOOP IP_MULTICAST_LOOP
|
||||
#define IP_MULTICAST_TTL IP_MULTICAST_TTL
|
||||
#define IP_NODEFRAG IP_NODEFRAG
|
||||
#define IP_OPTIONS IP_OPTIONS
|
||||
#define IP_ORIGDSTADDR IP_ORIGDSTADDR
|
||||
#define IP_PASSSEC IP_PASSSEC
|
||||
#define IP_PKTINFO IP_PKTINFO
|
||||
#define IP_PKTOPTIONS IP_PKTOPTIONS
|
||||
#define IP_PMTUDISC IP_PMTUDISC
|
||||
#define IP_PMTUDISC_DO IP_PMTUDISC_DO
|
||||
#define IP_PMTUDISC_DONT IP_PMTUDISC_DONT
|
||||
#define IP_PMTUDISC_INTERFACE IP_PMTUDISC_INTERFACE
|
||||
#define IP_PMTUDISC_OMIT IP_PMTUDISC_OMIT
|
||||
#define IP_PMTUDISC_PROBE IP_PMTUDISC_PROBE
|
||||
#define IP_PMTUDISC_WANT IP_PMTUDISC_WANT
|
||||
#define IP_RECVDSTADDR IP_RECVDSTADDR
|
||||
#define IP_RECVERR IP_RECVERR
|
||||
#define IP_RECVOPTS IP_RECVOPTS
|
||||
#define IP_RECVORIGDSTADDR IP_RECVORIGDSTADDR
|
||||
#define IP_RECVRETOPTS IP_RECVRETOPTS
|
||||
#define IP_RECVTOS IP_RECVTOS
|
||||
#define IP_RECVTTL IP_RECVTTL
|
||||
#define IP_RETOPTS IP_RETOPTS
|
||||
#define IP_ROUTER_ALERT IP_ROUTER_ALERT
|
||||
#define IP_TOS IP_TOS
|
||||
#define IP_TRANSPARENT IP_TRANSPARENT
|
||||
#define IP_TTL IP_TTL
|
||||
#define IP_UNBLOCK_SOURCE IP_UNBLOCK_SOURCE
|
||||
#define IP_UNICAST_IF IP_UNICAST_IF
|
||||
#define IP_XFRM_POLICY IP_XFRM_POLICY
|
||||
|
||||
#define __tmpcosmo_IP_ADD_MEMBERSHIP -1321562193
|
||||
#define __tmpcosmo_IP_ADD_SOURCE_MEMBERSHIP -105214734
|
||||
#define __tmpcosmo_IP_BIND_ADDRESS_NO_PORT 1524082293
|
||||
#define __tmpcosmo_IP_BLOCK_SOURCE -197478650
|
||||
#define __tmpcosmo_IP_CHECKSUM 1604855002
|
||||
#define __tmpcosmo_IP_DEFAULT_MULTICAST_LOOP 1845412306
|
||||
#define __tmpcosmo_IP_DEFAULT_MULTICAST_TTL 78428386
|
||||
#define __tmpcosmo_IP_DROP_MEMBERSHIP -1095356696
|
||||
#define __tmpcosmo_IP_DROP_SOURCE_MEMBERSHIP 1161532229
|
||||
#define __tmpcosmo_IP_FREEBIND -492780725
|
||||
#define __tmpcosmo_IP_HDRINCL -578403232
|
||||
#define __tmpcosmo_IP_IPSEC_POLICY -1171119592
|
||||
#define __tmpcosmo_IP_MAX_MEMBERSHIPS -758085748
|
||||
#define __tmpcosmo_IP_MINTTL 53022500
|
||||
#define __tmpcosmo_IP_MSFILTER -791684253
|
||||
#define __tmpcosmo_IP_MTU -379904604
|
||||
#define __tmpcosmo_IP_MTU_DISCOVER 1351700838
|
||||
#define __tmpcosmo_IP_MULTICAST_ALL -28373322
|
||||
#define __tmpcosmo_IP_MULTICAST_IF 327169407
|
||||
#define __tmpcosmo_IP_MULTICAST_LOOP -2016601761
|
||||
#define __tmpcosmo_IP_MULTICAST_TTL 60677445
|
||||
#define __tmpcosmo_IP_NODEFRAG -1549326603
|
||||
#define __tmpcosmo_IP_OPTIONS 1075977940
|
||||
#define __tmpcosmo_IP_ORIGDSTADDR 773066970
|
||||
#define __tmpcosmo_IP_PASSSEC 904572014
|
||||
#define __tmpcosmo_IP_PKTINFO -1059188119
|
||||
#define __tmpcosmo_IP_PKTOPTIONS -1589901127
|
||||
#define __tmpcosmo_IP_PMTUDISC -41501151
|
||||
#define __tmpcosmo_IP_PMTUDISC_DO 1915857897
|
||||
#define __tmpcosmo_IP_PMTUDISC_DONT 1947820643
|
||||
#define __tmpcosmo_IP_PMTUDISC_INTERFACE -1353197859
|
||||
#define __tmpcosmo_IP_PMTUDISC_OMIT -900368620
|
||||
#define __tmpcosmo_IP_PMTUDISC_PROBE 28801554
|
||||
#define __tmpcosmo_IP_PMTUDISC_WANT -565258238
|
||||
#define __tmpcosmo_IP_RECVDSTADDR -889890721
|
||||
#define __tmpcosmo_IP_RECVERR -1654149047
|
||||
#define __tmpcosmo_IP_RECVOPTS 1261356589
|
||||
#define __tmpcosmo_IP_RECVORIGDSTADDR 1699400438
|
||||
#define __tmpcosmo_IP_RECVRETOPTS 919008264
|
||||
#define __tmpcosmo_IP_RECVTOS 453403469
|
||||
#define __tmpcosmo_IP_RECVTTL 737320736
|
||||
#define __tmpcosmo_IP_RETOPTS 1069898501
|
||||
#define __tmpcosmo_IP_ROUTER_ALERT 1014101924
|
||||
#define __tmpcosmo_IP_TOS -4973360
|
||||
#define __tmpcosmo_IP_TRANSPARENT 579002269
|
||||
#define __tmpcosmo_IP_TTL 2114723474
|
||||
#define __tmpcosmo_IP_UNBLOCK_SOURCE 82069799
|
||||
#define __tmpcosmo_IP_UNICAST_IF -1900602318
|
||||
#define __tmpcosmo_IP_XFRM_POLICY 1051426490
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IP_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IPPORT_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IPPORT_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
/**
|
||||
* ARPA network ports.
|
||||
|
@ -30,7 +29,7 @@
|
|||
#define IPPORT_WHOSERVER 513
|
||||
#define IPPORT_ROUTESERVER 520
|
||||
#define IPPORT_RESERVED 1024
|
||||
#define IPPORT_USERRESERVED SYMBOLIC(IPPORT_USERRESERVED)
|
||||
#define IPPORT_USERRESERVED IPPORT_USERRESERVED
|
||||
|
||||
/**
|
||||
* Modern network ports.
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IPPROTO_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IPPROTO_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -38,42 +37,69 @@ extern const int IPPROTO_TP;
|
|||
extern const int IPPROTO_UDP;
|
||||
extern const int IPPROTO_UDPLITE;
|
||||
|
||||
#define IPPROTO_IP 0
|
||||
#define IPPROTO_ICMP 1
|
||||
#define IPPROTO_TCP 6
|
||||
#define IPPROTO_UDP 17
|
||||
#define IPPROTO_RAW 255
|
||||
#define IPPROTO_MAX 263 /* xxx */
|
||||
|
||||
#define IPPROTO_AH IPPROTO_AH
|
||||
#define IPPROTO_BEETPH IPPROTO_BEETPH
|
||||
#define IPPROTO_COMP IPPROTO_COMP
|
||||
#define IPPROTO_DCCP IPPROTO_DCCP
|
||||
#define IPPROTO_DSTOPTS IPPROTO_DSTOPTS
|
||||
#define IPPROTO_EGP IPPROTO_EGP
|
||||
#define IPPROTO_ENCAP IPPROTO_ENCAP
|
||||
#define IPPROTO_ESP IPPROTO_ESP
|
||||
#define IPPROTO_FRAGMENT IPPROTO_FRAGMENT
|
||||
#define IPPROTO_GRE IPPROTO_GRE
|
||||
#define IPPROTO_HOPOPTS IPPROTO_HOPOPTS
|
||||
#define IPPROTO_ICMPV6 IPPROTO_ICMPV6
|
||||
#define IPPROTO_IDP IPPROTO_IDP
|
||||
#define IPPROTO_IGMP IPPROTO_IGMP
|
||||
#define IPPROTO_IPIP IPPROTO_IPIP
|
||||
#define IPPROTO_IPV6 IPPROTO_IPV6
|
||||
#define IPPROTO_MH IPPROTO_MH
|
||||
#define IPPROTO_MPLS IPPROTO_MPLS
|
||||
#define IPPROTO_MTP IPPROTO_MTP
|
||||
#define IPPROTO_NONE IPPROTO_NONE
|
||||
#define IPPROTO_PIM IPPROTO_PIM
|
||||
#define IPPROTO_PUP IPPROTO_PUP
|
||||
#define IPPROTO_ROUTING IPPROTO_ROUTING
|
||||
#define IPPROTO_RSVP IPPROTO_RSVP
|
||||
#define IPPROTO_SCTP IPPROTO_SCTP
|
||||
#define IPPROTO_TP IPPROTO_TP
|
||||
#define IPPROTO_UDPLITE IPPROTO_UDPLITE
|
||||
|
||||
#define __tmpcosmo_IPPROTO_AH -1870674383
|
||||
#define __tmpcosmo_IPPROTO_BEETPH -88002196
|
||||
#define __tmpcosmo_IPPROTO_COMP -1180207155
|
||||
#define __tmpcosmo_IPPROTO_DCCP -1414939404
|
||||
#define __tmpcosmo_IPPROTO_DSTOPTS -301626931
|
||||
#define __tmpcosmo_IPPROTO_EGP 1981296310
|
||||
#define __tmpcosmo_IPPROTO_ENCAP -1186890893
|
||||
#define __tmpcosmo_IPPROTO_ESP 1912922673
|
||||
#define __tmpcosmo_IPPROTO_FRAGMENT 815526741
|
||||
#define __tmpcosmo_IPPROTO_GRE -1086664412
|
||||
#define __tmpcosmo_IPPROTO_HOPOPTS 288110026
|
||||
#define __tmpcosmo_IPPROTO_ICMPV6 -517548243
|
||||
#define __tmpcosmo_IPPROTO_IDP -33178791
|
||||
#define __tmpcosmo_IPPROTO_IGMP 1855375045
|
||||
#define __tmpcosmo_IPPROTO_IPIP -1399362390
|
||||
#define __tmpcosmo_IPPROTO_IPV6 -710044241
|
||||
#define __tmpcosmo_IPPROTO_MH 1137562059
|
||||
#define __tmpcosmo_IPPROTO_MPLS -796619090
|
||||
#define __tmpcosmo_IPPROTO_MTP -1938822508
|
||||
#define __tmpcosmo_IPPROTO_NONE -1481051745
|
||||
#define __tmpcosmo_IPPROTO_PIM 1072180675
|
||||
#define __tmpcosmo_IPPROTO_PUP 1814067734
|
||||
#define __tmpcosmo_IPPROTO_ROUTING -1022888846
|
||||
#define __tmpcosmo_IPPROTO_RSVP -568010455
|
||||
#define __tmpcosmo_IPPROTO_SCTP -1561155298
|
||||
#define __tmpcosmo_IPPROTO_TP -1222369418
|
||||
#define __tmpcosmo_IPPROTO_UDPLITE -444852753
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define IPPROTO_IP LITERALLY(0)
|
||||
#define IPPROTO_ICMP LITERALLY(1)
|
||||
#define IPPROTO_TCP LITERALLY(6)
|
||||
#define IPPROTO_UDP LITERALLY(17)
|
||||
#define IPPROTO_RAW LITERALLY(255)
|
||||
#define IPPROTO_MAX LITERALLY(263) /* xxx */
|
||||
|
||||
#define IPPROTO_AH SYMBOLIC(IPPROTO_AH)
|
||||
#define IPPROTO_BEETPH SYMBOLIC(IPPROTO_BEETPH)
|
||||
#define IPPROTO_COMP SYMBOLIC(IPPROTO_COMP)
|
||||
#define IPPROTO_DCCP SYMBOLIC(IPPROTO_DCCP)
|
||||
#define IPPROTO_DSTOPTS SYMBOLIC(IPPROTO_DSTOPTS)
|
||||
#define IPPROTO_EGP SYMBOLIC(IPPROTO_EGP)
|
||||
#define IPPROTO_ENCAP SYMBOLIC(IPPROTO_ENCAP)
|
||||
#define IPPROTO_ESP SYMBOLIC(IPPROTO_ESP)
|
||||
#define IPPROTO_FRAGMENT SYMBOLIC(IPPROTO_FRAGMENT)
|
||||
#define IPPROTO_GRE SYMBOLIC(IPPROTO_GRE)
|
||||
#define IPPROTO_HOPOPTS SYMBOLIC(IPPROTO_HOPOPTS)
|
||||
#define IPPROTO_ICMPV6 SYMBOLIC(IPPROTO_ICMPV6)
|
||||
#define IPPROTO_IDP SYMBOLIC(IPPROTO_IDP)
|
||||
#define IPPROTO_IGMP SYMBOLIC(IPPROTO_IGMP)
|
||||
#define IPPROTO_IPIP SYMBOLIC(IPPROTO_IPIP)
|
||||
#define IPPROTO_IPV6 SYMBOLIC(IPPROTO_IPV6)
|
||||
#define IPPROTO_MH SYMBOLIC(IPPROTO_MH)
|
||||
#define IPPROTO_MPLS SYMBOLIC(IPPROTO_MPLS)
|
||||
#define IPPROTO_MTP SYMBOLIC(IPPROTO_MTP)
|
||||
#define IPPROTO_NONE SYMBOLIC(IPPROTO_NONE)
|
||||
#define IPPROTO_PIM SYMBOLIC(IPPROTO_PIM)
|
||||
#define IPPROTO_PUP SYMBOLIC(IPPROTO_PUP)
|
||||
#define IPPROTO_ROUTING SYMBOLIC(IPPROTO_ROUTING)
|
||||
#define IPPROTO_RSVP SYMBOLIC(IPPROTO_RSVP)
|
||||
#define IPPROTO_SCTP SYMBOLIC(IPPROTO_SCTP)
|
||||
#define IPPROTO_TP SYMBOLIC(IPPROTO_TP)
|
||||
#define IPPROTO_UDPLITE SYMBOLIC(IPPROTO_UDPLITE)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IPPROTO_H_ */
|
||||
|
|
|
@ -1,67 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IPV6_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IPV6_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define IPV6_2292DSTOPTS SYMBOLIC(IPV6_2292DSTOPTS)
|
||||
#define IPV6_2292HOPLIMIT SYMBOLIC(IPV6_2292HOPLIMIT)
|
||||
#define IPV6_2292HOPOPTS SYMBOLIC(IPV6_2292HOPOPTS)
|
||||
#define IPV6_2292PKTINFO SYMBOLIC(IPV6_2292PKTINFO)
|
||||
#define IPV6_2292PKTOPTIONS SYMBOLIC(IPV6_2292PKTOPTIONS)
|
||||
#define IPV6_2292RTHDR SYMBOLIC(IPV6_2292RTHDR)
|
||||
#define IPV6_ADDRFORM SYMBOLIC(IPV6_ADDRFORM)
|
||||
#define IPV6_ADD_MEMBERSHIP SYMBOLIC(IPV6_ADD_MEMBERSHIP)
|
||||
#define IPV6_AUTHHDR SYMBOLIC(IPV6_AUTHHDR)
|
||||
#define IPV6_AUTOFLOWLABEL SYMBOLIC(IPV6_AUTOFLOWLABEL)
|
||||
#define IPV6_CHECKSUM SYMBOLIC(IPV6_CHECKSUM)
|
||||
#define IPV6_DONTFRAG SYMBOLIC(IPV6_DONTFRAG)
|
||||
#define IPV6_DROP_MEMBERSHIP SYMBOLIC(IPV6_DROP_MEMBERSHIP)
|
||||
#define IPV6_DSTOPTS SYMBOLIC(IPV6_DSTOPTS)
|
||||
#define IPV6_HDRINCL SYMBOLIC(IPV6_HDRINCL)
|
||||
#define IPV6_HOPLIMIT SYMBOLIC(IPV6_HOPLIMIT)
|
||||
#define IPV6_HOPOPTS SYMBOLIC(IPV6_HOPOPTS)
|
||||
#define IPV6_IPSEC_POLICY SYMBOLIC(IPV6_IPSEC_POLICY)
|
||||
#define IPV6_JOIN_ANYCAST SYMBOLIC(IPV6_JOIN_ANYCAST)
|
||||
#define IPV6_JOIN_GROUP SYMBOLIC(IPV6_JOIN_GROUP)
|
||||
#define IPV6_LEAVE_ANYCAST SYMBOLIC(IPV6_LEAVE_ANYCAST)
|
||||
#define IPV6_LEAVE_GROUP SYMBOLIC(IPV6_LEAVE_GROUP)
|
||||
#define IPV6_MINHOPCOUNT SYMBOLIC(IPV6_MINHOPCOUNT)
|
||||
#define IPV6_MTU SYMBOLIC(IPV6_MTU)
|
||||
#define IPV6_MTU_DISCOVER SYMBOLIC(IPV6_MTU_DISCOVER)
|
||||
#define IPV6_MULTICAST_HOPS SYMBOLIC(IPV6_MULTICAST_HOPS)
|
||||
#define IPV6_MULTICAST_IF SYMBOLIC(IPV6_MULTICAST_IF)
|
||||
#define IPV6_MULTICAST_LOOP SYMBOLIC(IPV6_MULTICAST_LOOP)
|
||||
#define IPV6_NEXTHOP SYMBOLIC(IPV6_NEXTHOP)
|
||||
#define IPV6_ORIGDSTADDR SYMBOLIC(IPV6_ORIGDSTADDR)
|
||||
#define IPV6_PATHMTU SYMBOLIC(IPV6_PATHMTU)
|
||||
#define IPV6_PKTINFO SYMBOLIC(IPV6_PKTINFO)
|
||||
#define IPV6_PMTUDISC_DO SYMBOLIC(IPV6_PMTUDISC_DO)
|
||||
#define IPV6_PMTUDISC_DONT SYMBOLIC(IPV6_PMTUDISC_DONT)
|
||||
#define IPV6_PMTUDISC_INTERFACE SYMBOLIC(IPV6_PMTUDISC_INTERFACE)
|
||||
#define IPV6_PMTUDISC_OMIT SYMBOLIC(IPV6_PMTUDISC_OMIT)
|
||||
#define IPV6_PMTUDISC_PROBE SYMBOLIC(IPV6_PMTUDISC_PROBE)
|
||||
#define IPV6_PMTUDISC_WANT SYMBOLIC(IPV6_PMTUDISC_WANT)
|
||||
#define IPV6_RECVDSTOPTS SYMBOLIC(IPV6_RECVDSTOPTS)
|
||||
#define IPV6_RECVERR SYMBOLIC(IPV6_RECVERR)
|
||||
#define IPV6_RECVHOPLIMIT SYMBOLIC(IPV6_RECVHOPLIMIT)
|
||||
#define IPV6_RECVHOPOPTS SYMBOLIC(IPV6_RECVHOPOPTS)
|
||||
#define IPV6_RECVORIGDSTADDR SYMBOLIC(IPV6_RECVORIGDSTADDR)
|
||||
#define IPV6_RECVPATHMTU SYMBOLIC(IPV6_RECVPATHMTU)
|
||||
#define IPV6_RECVPKTINFO SYMBOLIC(IPV6_RECVPKTINFO)
|
||||
#define IPV6_RECVRTHDR SYMBOLIC(IPV6_RECVRTHDR)
|
||||
#define IPV6_RECVTCLASS SYMBOLIC(IPV6_RECVTCLASS)
|
||||
#define IPV6_ROUTER_ALERT SYMBOLIC(IPV6_ROUTER_ALERT)
|
||||
#define IPV6_RTHDR SYMBOLIC(IPV6_RTHDR)
|
||||
#define IPV6_RTHDRDSTOPTS SYMBOLIC(IPV6_RTHDRDSTOPTS)
|
||||
#define IPV6_RTHDR_LOOSE SYMBOLIC(IPV6_RTHDR_LOOSE)
|
||||
#define IPV6_RTHDR_STRICT SYMBOLIC(IPV6_RTHDR_STRICT)
|
||||
#define IPV6_RTHDR_TYPE_0 SYMBOLIC(IPV6_RTHDR_TYPE_0)
|
||||
#define IPV6_RXDSTOPTS SYMBOLIC(IPV6_RXDSTOPTS)
|
||||
#define IPV6_RXHOPOPTS SYMBOLIC(IPV6_RXHOPOPTS)
|
||||
#define IPV6_TCLASS SYMBOLIC(IPV6_TCLASS)
|
||||
#define IPV6_UNICAST_HOPS SYMBOLIC(IPV6_UNICAST_HOPS)
|
||||
#define IPV6_V6ONLY SYMBOLIC(IPV6_V6ONLY)
|
||||
#define IPV6_XFRM_POLICY SYMBOLIC(IPV6_XFRM_POLICY)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -125,6 +63,126 @@ extern const int IPV6_UNICAST_HOPS;
|
|||
extern const int IPV6_V6ONLY;
|
||||
extern const int IPV6_XFRM_POLICY;
|
||||
|
||||
#define IPV6_2292DSTOPTS IPV6_2292DSTOPTS
|
||||
#define IPV6_2292HOPLIMIT IPV6_2292HOPLIMIT
|
||||
#define IPV6_2292HOPOPTS IPV6_2292HOPOPTS
|
||||
#define IPV6_2292PKTINFO IPV6_2292PKTINFO
|
||||
#define IPV6_2292PKTOPTIONS IPV6_2292PKTOPTIONS
|
||||
#define IPV6_2292RTHDR IPV6_2292RTHDR
|
||||
#define IPV6_ADDRFORM IPV6_ADDRFORM
|
||||
#define IPV6_ADD_MEMBERSHIP IPV6_ADD_MEMBERSHIP
|
||||
#define IPV6_AUTHHDR IPV6_AUTHHDR
|
||||
#define IPV6_AUTOFLOWLABEL IPV6_AUTOFLOWLABEL
|
||||
#define IPV6_CHECKSUM IPV6_CHECKSUM
|
||||
#define IPV6_DONTFRAG IPV6_DONTFRAG
|
||||
#define IPV6_DROP_MEMBERSHIP IPV6_DROP_MEMBERSHIP
|
||||
#define IPV6_DSTOPTS IPV6_DSTOPTS
|
||||
#define IPV6_HDRINCL IPV6_HDRINCL
|
||||
#define IPV6_HOPLIMIT IPV6_HOPLIMIT
|
||||
#define IPV6_HOPOPTS IPV6_HOPOPTS
|
||||
#define IPV6_IPSEC_POLICY IPV6_IPSEC_POLICY
|
||||
#define IPV6_JOIN_ANYCAST IPV6_JOIN_ANYCAST
|
||||
#define IPV6_JOIN_GROUP IPV6_JOIN_GROUP
|
||||
#define IPV6_LEAVE_ANYCAST IPV6_LEAVE_ANYCAST
|
||||
#define IPV6_LEAVE_GROUP IPV6_LEAVE_GROUP
|
||||
#define IPV6_MINHOPCOUNT IPV6_MINHOPCOUNT
|
||||
#define IPV6_MTU IPV6_MTU
|
||||
#define IPV6_MTU_DISCOVER IPV6_MTU_DISCOVER
|
||||
#define IPV6_MULTICAST_HOPS IPV6_MULTICAST_HOPS
|
||||
#define IPV6_MULTICAST_IF IPV6_MULTICAST_IF
|
||||
#define IPV6_MULTICAST_LOOP IPV6_MULTICAST_LOOP
|
||||
#define IPV6_NEXTHOP IPV6_NEXTHOP
|
||||
#define IPV6_ORIGDSTADDR IPV6_ORIGDSTADDR
|
||||
#define IPV6_PATHMTU IPV6_PATHMTU
|
||||
#define IPV6_PKTINFO IPV6_PKTINFO
|
||||
#define IPV6_PMTUDISC_DO IPV6_PMTUDISC_DO
|
||||
#define IPV6_PMTUDISC_DONT IPV6_PMTUDISC_DONT
|
||||
#define IPV6_PMTUDISC_INTERFACE IPV6_PMTUDISC_INTERFACE
|
||||
#define IPV6_PMTUDISC_OMIT IPV6_PMTUDISC_OMIT
|
||||
#define IPV6_PMTUDISC_PROBE IPV6_PMTUDISC_PROBE
|
||||
#define IPV6_PMTUDISC_WANT IPV6_PMTUDISC_WANT
|
||||
#define IPV6_RECVDSTOPTS IPV6_RECVDSTOPTS
|
||||
#define IPV6_RECVERR IPV6_RECVERR
|
||||
#define IPV6_RECVHOPLIMIT IPV6_RECVHOPLIMIT
|
||||
#define IPV6_RECVHOPOPTS IPV6_RECVHOPOPTS
|
||||
#define IPV6_RECVORIGDSTADDR IPV6_RECVORIGDSTADDR
|
||||
#define IPV6_RECVPATHMTU IPV6_RECVPATHMTU
|
||||
#define IPV6_RECVPKTINFO IPV6_RECVPKTINFO
|
||||
#define IPV6_RECVRTHDR IPV6_RECVRTHDR
|
||||
#define IPV6_RECVTCLASS IPV6_RECVTCLASS
|
||||
#define IPV6_ROUTER_ALERT IPV6_ROUTER_ALERT
|
||||
#define IPV6_RTHDR IPV6_RTHDR
|
||||
#define IPV6_RTHDRDSTOPTS IPV6_RTHDRDSTOPTS
|
||||
#define IPV6_RTHDR_LOOSE IPV6_RTHDR_LOOSE
|
||||
#define IPV6_RTHDR_STRICT IPV6_RTHDR_STRICT
|
||||
#define IPV6_RTHDR_TYPE_0 IPV6_RTHDR_TYPE_0
|
||||
#define IPV6_RXDSTOPTS IPV6_RXDSTOPTS
|
||||
#define IPV6_RXHOPOPTS IPV6_RXHOPOPTS
|
||||
#define IPV6_TCLASS IPV6_TCLASS
|
||||
#define IPV6_UNICAST_HOPS IPV6_UNICAST_HOPS
|
||||
#define IPV6_V6ONLY IPV6_V6ONLY
|
||||
#define IPV6_XFRM_POLICY IPV6_XFRM_POLICY
|
||||
|
||||
#define __tmpcosmo_IPV6_2292DSTOPTS 678069209
|
||||
#define __tmpcosmo_IPV6_2292HOPLIMIT 1561068259
|
||||
#define __tmpcosmo_IPV6_2292HOPOPTS 1907714767
|
||||
#define __tmpcosmo_IPV6_2292PKTINFO 356029652
|
||||
#define __tmpcosmo_IPV6_2292PKTOPTIONS 117081374
|
||||
#define __tmpcosmo_IPV6_2292RTHDR 1636035669
|
||||
#define __tmpcosmo_IPV6_ADDRFORM -1054757172
|
||||
#define __tmpcosmo_IPV6_ADD_MEMBERSHIP -1680307522
|
||||
#define __tmpcosmo_IPV6_AUTHHDR -1947213388
|
||||
#define __tmpcosmo_IPV6_AUTOFLOWLABEL -1657222883
|
||||
#define __tmpcosmo_IPV6_CHECKSUM -1542493753
|
||||
#define __tmpcosmo_IPV6_DONTFRAG 189943592
|
||||
#define __tmpcosmo_IPV6_DROP_MEMBERSHIP 1820062161
|
||||
#define __tmpcosmo_IPV6_DSTOPTS -1331897775
|
||||
#define __tmpcosmo_IPV6_HDRINCL -1699190495
|
||||
#define __tmpcosmo_IPV6_HOPLIMIT -343952270
|
||||
#define __tmpcosmo_IPV6_HOPOPTS -394761213
|
||||
#define __tmpcosmo_IPV6_IPSEC_POLICY -2131021232
|
||||
#define __tmpcosmo_IPV6_JOIN_ANYCAST 335351523
|
||||
#define __tmpcosmo_IPV6_JOIN_GROUP 1555568929
|
||||
#define __tmpcosmo_IPV6_LEAVE_ANYCAST 501463808
|
||||
#define __tmpcosmo_IPV6_LEAVE_GROUP -1539743215
|
||||
#define __tmpcosmo_IPV6_MINHOPCOUNT 1901629805
|
||||
#define __tmpcosmo_IPV6_MTU 131760667
|
||||
#define __tmpcosmo_IPV6_MTU_DISCOVER -1763058519
|
||||
#define __tmpcosmo_IPV6_MULTICAST_HOPS 1551727279
|
||||
#define __tmpcosmo_IPV6_MULTICAST_IF 1035413489
|
||||
#define __tmpcosmo_IPV6_MULTICAST_LOOP -2077388688
|
||||
#define __tmpcosmo_IPV6_NEXTHOP -1526051079
|
||||
#define __tmpcosmo_IPV6_ORIGDSTADDR -957168735
|
||||
#define __tmpcosmo_IPV6_PATHMTU -1790974186
|
||||
#define __tmpcosmo_IPV6_PKTINFO 1905020529
|
||||
#define __tmpcosmo_IPV6_PMTUDISC_DO -251721867
|
||||
#define __tmpcosmo_IPV6_PMTUDISC_DONT 1152249305
|
||||
#define __tmpcosmo_IPV6_PMTUDISC_INTERFACE 2128741179
|
||||
#define __tmpcosmo_IPV6_PMTUDISC_OMIT -1459360179
|
||||
#define __tmpcosmo_IPV6_PMTUDISC_PROBE 1737493952
|
||||
#define __tmpcosmo_IPV6_PMTUDISC_WANT -231692414
|
||||
#define __tmpcosmo_IPV6_RECVDSTOPTS 2118319635
|
||||
#define __tmpcosmo_IPV6_RECVERR 743926555
|
||||
#define __tmpcosmo_IPV6_RECVHOPLIMIT -213901102
|
||||
#define __tmpcosmo_IPV6_RECVHOPOPTS -2068065960
|
||||
#define __tmpcosmo_IPV6_RECVORIGDSTADDR -1432385217
|
||||
#define __tmpcosmo_IPV6_RECVPATHMTU -2019840272
|
||||
#define __tmpcosmo_IPV6_RECVPKTINFO 844434218
|
||||
#define __tmpcosmo_IPV6_RECVRTHDR -1243605968
|
||||
#define __tmpcosmo_IPV6_RECVTCLASS 38392473
|
||||
#define __tmpcosmo_IPV6_ROUTER_ALERT -1302625266
|
||||
#define __tmpcosmo_IPV6_RTHDR 238156690
|
||||
#define __tmpcosmo_IPV6_RTHDRDSTOPTS 872395219
|
||||
#define __tmpcosmo_IPV6_RTHDR_LOOSE -2022259083
|
||||
#define __tmpcosmo_IPV6_RTHDR_STRICT 1510455360
|
||||
#define __tmpcosmo_IPV6_RTHDR_TYPE_0 -1059520334
|
||||
#define __tmpcosmo_IPV6_RXDSTOPTS 838357545
|
||||
#define __tmpcosmo_IPV6_RXHOPOPTS -296413457
|
||||
#define __tmpcosmo_IPV6_TCLASS 251757835
|
||||
#define __tmpcosmo_IPV6_UNICAST_HOPS -774486644
|
||||
#define __tmpcosmo_IPV6_V6ONLY -1291858455
|
||||
#define __tmpcosmo_IPV6_XFRM_POLICY 774963753
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IPV6_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_KD_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_KD_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -18,16 +17,16 @@ extern const uint64_t KDFONTOP;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define GIO_FONT SYMBOLIC(GIO_FONT)
|
||||
#define PIO_FONT SYMBOLIC(PIO_FONT)
|
||||
#define GIO_FONTX SYMBOLIC(GIO_FONTX)
|
||||
#define PIO_FONTX SYMBOLIC(PIO_FONTX)
|
||||
#define PIO_FONT8x8 SYMBOLIC(PIO_FONT8x8)
|
||||
#define PIO_FONT8x14 SYMBOLIC(PIO_FONT8x14)
|
||||
#define PIO_FONT8x16 SYMBOLIC(PIO_FONT8x14)
|
||||
#define PIO_VFONT SYMBOLIC(PIO_VFONT)
|
||||
#define PIO_FONTRESET SYMBOLIC(PIO_FONTRESET)
|
||||
#define KDFONTOP SYMBOLIC(KDFONTOP)
|
||||
#define GIO_FONT GIO_FONT
|
||||
#define PIO_FONT PIO_FONT
|
||||
#define GIO_FONTX GIO_FONTX
|
||||
#define PIO_FONTX PIO_FONTX
|
||||
#define PIO_FONT8x8 PIO_FONT8x8
|
||||
#define PIO_FONT8x14 PIO_FONT8x14
|
||||
#define PIO_FONT8x16 PIO_FONT8x14
|
||||
#define PIO_VFONT PIO_VFONT
|
||||
#define PIO_FONTRESET PIO_FONTRESET
|
||||
#define KDFONTOP KDFONTOP
|
||||
|
||||
#ifdef _BSD_SOURCE
|
||||
#define PIO_VFONT_DEFAULT PIO_FONTRESET
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_LIMITS_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_LIMITS_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -15,18 +14,28 @@ extern const int LINK_MAX;
|
|||
extern const int MAX_CANON;
|
||||
extern const int MAX_INPUT;
|
||||
|
||||
#define NGROUPS_MAX NGROUPS_MAX
|
||||
#define PIPE_BUF PIPE_BUF
|
||||
#define SOMAXCONN SOMAXCONN
|
||||
#define _ARG_MAX _ARG_MAX
|
||||
#define _NAME_MAX _NAME_MAX
|
||||
#define _NSIG _NSIG
|
||||
#define _PATH_MAX _PATH_MAX
|
||||
#define LINK_MAX LINK_MAX
|
||||
#define MAX_CANON MAX_CANON
|
||||
#define MAX_INPUT MAX_INPUT
|
||||
|
||||
#define __tmpcosmo_NGROUPS_MAX 1969598838
|
||||
#define __tmpcosmo_PIPE_BUF 1992386673
|
||||
#define __tmpcosmo_SOMAXCONN -1069247464
|
||||
#define __tmpcosmo__ARG_MAX 794592230
|
||||
#define __tmpcosmo__NAME_MAX -1301020103
|
||||
#define __tmpcosmo__NSIG 1488054137
|
||||
#define __tmpcosmo__PATH_MAX -1722847523
|
||||
#define __tmpcosmo_LINK_MAX 1127355053
|
||||
#define __tmpcosmo_MAX_CANON -1111005462
|
||||
#define __tmpcosmo_MAX_INPUT -1378721420
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define NGROUPS_MAX SYMBOLIC(NGROUPS_MAX)
|
||||
#define PIPE_BUF SYMBOLIC(PIPE_BUF)
|
||||
#define SOMAXCONN SYMBOLIC(SOMAXCONN)
|
||||
#define _ARG_MAX SYMBOLIC(_ARG_MAX)
|
||||
#define _NAME_MAX SYMBOLIC(_NAME_MAX)
|
||||
#define _NSIG SYMBOLIC(_NSIG)
|
||||
#define _PATH_MAX SYMBOLIC(_PATH_MAX)
|
||||
#define LINK_MAX SYMBOLIC(LINK_MAX)
|
||||
#define MAX_CANON SYMBOLIC(MAX_CANON)
|
||||
#define MAX_INPUT SYMBOLIC(MAX_INPUT)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_LIMITS_H_ */
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_LIO_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_LIO_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define LIO_NOP SYMBOLIC(LIO_NOP)
|
||||
#define LIO_NOWAIT SYMBOLIC(LIO_NOWAIT)
|
||||
#define LIO_READ SYMBOLIC(LIO_READ)
|
||||
#define LIO_WAIT SYMBOLIC(LIO_WAIT)
|
||||
#define LIO_WRITE SYMBOLIC(LIO_WRITE)
|
||||
#define LIO_NOP LIO_NOP
|
||||
#define LIO_NOWAIT LIO_NOWAIT
|
||||
#define LIO_READ LIO_READ
|
||||
#define LIO_WAIT LIO_WAIT
|
||||
#define LIO_WRITE LIO_WRITE
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_LOCK_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_LOCK_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -13,10 +12,13 @@ extern const int LOCK_UNLOCK_CACHE;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define LOCK_EX LITERALLY(2)
|
||||
#define LOCK_NB SYMBOLIC(LOCK_NB)
|
||||
#define LOCK_SH SYMBOLIC(LOCK_SH)
|
||||
#define LOCK_UN SYMBOLIC(LOCK_UN)
|
||||
#define LOCK_UNLOCK_CACHE SYMBOLIC(LOCK_UNLOCK_CACHE)
|
||||
#define LOCK_EX 2
|
||||
#define LOCK_NB LOCK_NB
|
||||
#define LOCK_SH LOCK_SH
|
||||
#define LOCK_UN LOCK_UN
|
||||
|
||||
#define __tmpcosmo_LOCK_NB -453005435
|
||||
#define __tmpcosmo_LOCK_SH 1639584913
|
||||
#define __tmpcosmo_LOCK_UN 17921936
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_LOCK_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MADV_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MADV_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -21,25 +20,11 @@ extern const unsigned MADV_SEQUENTIAL;
|
|||
extern const unsigned MADV_UNMERGEABLE;
|
||||
extern const unsigned MADV_WILLNEED;
|
||||
|
||||
#define MADV_NORMAL 0
|
||||
#define MADV_RANDOM 1
|
||||
#define MADV_SEQUENTIAL 2
|
||||
#define MADV_WILLNEED 3
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define MADV_NORMAL LITERALLY(0)
|
||||
#define MADV_RANDOM LITERALLY(1)
|
||||
#define MADV_SEQUENTIAL LITERALLY(2)
|
||||
#define MADV_WILLNEED LITERALLY(3)
|
||||
|
||||
#define MADV_DODUMP SYMBOLIC(MADV_DODUMP)
|
||||
#define MADV_DOFORK SYMBOLIC(MADV_DOFORK)
|
||||
#define MADV_DONTDUMP SYMBOLIC(MADV_DONTDUMP)
|
||||
#define MADV_DONTFORK SYMBOLIC(MADV_DONTFORK)
|
||||
#define MADV_DONTNEED SYMBOLIC(MADV_DONTNEED)
|
||||
#define MADV_FREE SYMBOLIC(MADV_FREE)
|
||||
#define MADV_HUGEPAGE SYMBOLIC(MADV_HUGEPAGE)
|
||||
#define MADV_HWPOISON SYMBOLIC(MADV_HWPOISON)
|
||||
#define MADV_MERGEABLE SYMBOLIC(MADV_MERGEABLE)
|
||||
#define MADV_NOHUGEPAGE SYMBOLIC(MADV_NOHUGEPAGE)
|
||||
#define MADV_REMOVE SYMBOLIC(MADV_REMOVE)
|
||||
#define MADV_UNMERGEABLE SYMBOLIC(MADV_UNMERGEABLE)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MADV_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MAP_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MAP_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -37,25 +36,21 @@ COSMOPOLITAN_C_END_
|
|||
#define MAP_TYPE 15
|
||||
#define MAP_FIXED 16
|
||||
|
||||
#define MAP_32BIT SYMBOLIC(MAP_32BIT)
|
||||
#define MAP_ANONYMOUS SYMBOLIC(MAP_ANONYMOUS)
|
||||
#define MAP_CONCEAL SYMBOLIC(MAP_CONCEAL)
|
||||
#define MAP_DENYWRITE SYMBOLIC(MAP_DENYWRITE)
|
||||
#define MAP_EXECUTABLE SYMBOLIC(MAP_EXECUTABLE)
|
||||
#define MAP_FIXED_NOREPLACE SYMBOLIC(MAP_FIXED_NOREPLACE)
|
||||
#define MAP_HASSEMAPHORE SYMBOLIC(MAP_HASSEMAPHORE)
|
||||
#define MAP_HUGETLB SYMBOLIC(MAP_HUGETLB)
|
||||
#define MAP_HUGE_MASK SYMBOLIC(MAP_HUGE_MASK)
|
||||
#define MAP_HUGE_SHIFT SYMBOLIC(MAP_HUGE_SHIFT)
|
||||
#define MAP_INHERIT SYMBOLIC(MAP_INHERIT)
|
||||
#define MAP_LOCKED SYMBOLIC(MAP_LOCKED)
|
||||
#define MAP_NONBLOCK SYMBOLIC(MAP_NONBLOCK)
|
||||
#define MAP_NORESERVE SYMBOLIC(MAP_NORESERVE)
|
||||
#define MAP_NOSYNC SYMBOLIC(MAP_NOSYNC)
|
||||
#define MAP_POPULATE SYMBOLIC(MAP_POPULATE)
|
||||
#define MAP_SHARED_VALIDATE SYMBOLIC(MAP_SHARED_VALIDATE)
|
||||
#define MAP_ANONYMOUS MAP_ANONYMOUS
|
||||
#define MAP_CONCEAL MAP_CONCEAL
|
||||
#define MAP_EXECUTABLE MAP_EXECUTABLE
|
||||
#define MAP_FIXED_NOREPLACE MAP_FIXED_NOREPLACE
|
||||
#define MAP_HASSEMAPHORE MAP_HASSEMAPHORE
|
||||
#define MAP_POPULATE MAP_POPULATE
|
||||
|
||||
#define MAP_ANON MAP_ANONYMOUS
|
||||
#define MAP_NOCORE MAP_CONCEAL
|
||||
|
||||
#define __tmpcosmo_MAP_ANONYMOUS 582365471
|
||||
#define __tmpcosmo_MAP_CONCEAL -155176713
|
||||
#define __tmpcosmo_MAP_EXECUTABLE 140777257
|
||||
#define __tmpcosmo_MAP_FIXED_NOREPLACE -1715515271
|
||||
#define __tmpcosmo_MAP_HASSEMAPHORE 674508674
|
||||
#define __tmpcosmo_MAP_POPULATE -2076654178
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MAP_H_ */
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MCAST_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MCAST_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define MCAST_BLOCK_SOURCE SYMBOLIC(MCAST_BLOCK_SOURCE)
|
||||
#define MCAST_EXCLUDE SYMBOLIC(MCAST_EXCLUDE)
|
||||
#define MCAST_INCLUDE SYMBOLIC(MCAST_INCLUDE)
|
||||
#define MCAST_JOIN_GROUP SYMBOLIC(MCAST_JOIN_GROUP)
|
||||
#define MCAST_JOIN_SOURCE_GROUP SYMBOLIC(MCAST_JOIN_SOURCE_GROUP)
|
||||
#define MCAST_LEAVE_GROUP SYMBOLIC(MCAST_LEAVE_GROUP)
|
||||
#define MCAST_LEAVE_SOURCE_GROUP SYMBOLIC(MCAST_LEAVE_SOURCE_GROUP)
|
||||
#define MCAST_MSFILTER SYMBOLIC(MCAST_MSFILTER)
|
||||
#define MCAST_UNBLOCK_SOURCE SYMBOLIC(MCAST_UNBLOCK_SOURCE)
|
||||
#define MCAST_BLOCK_SOURCE MCAST_BLOCK_SOURCE
|
||||
#define MCAST_EXCLUDE MCAST_EXCLUDE
|
||||
#define MCAST_INCLUDE MCAST_INCLUDE
|
||||
#define MCAST_JOIN_GROUP MCAST_JOIN_GROUP
|
||||
#define MCAST_JOIN_SOURCE_GROUP MCAST_JOIN_SOURCE_GROUP
|
||||
#define MCAST_LEAVE_GROUP MCAST_LEAVE_GROUP
|
||||
#define MCAST_LEAVE_SOURCE_GROUP MCAST_LEAVE_SOURCE_GROUP
|
||||
#define MCAST_MSFILTER MCAST_MSFILTER
|
||||
#define MCAST_UNBLOCK_SOURCE MCAST_UNBLOCK_SOURCE
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MLOCK_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MLOCK_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -11,8 +10,8 @@ extern const int MCL_ONFAULT;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define MCL_CURRENT LITERALLY(1)
|
||||
#define MCL_FUTURE LITERALLY(2)
|
||||
#define MCL_ONFAULT SYMBOLIC(MCL_ONFAULT)
|
||||
#define MCL_CURRENT 1
|
||||
#define MCL_FUTURE 2
|
||||
#define MCL_ONFAULT MCL_ONFAULT
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MLOCK_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MODEM_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MODEM_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -21,24 +20,28 @@ extern const int TIOCM_RTS;
|
|||
extern const int TIOCM_SR;
|
||||
extern const int TIOCM_ST;
|
||||
|
||||
#define TIOCM_LE 0x01
|
||||
#define TIOCM_DTR 0x02
|
||||
#define TIOCM_RTS 0x04
|
||||
#define TIOCM_ST 0x08
|
||||
#define TIOCM_SR 0x10
|
||||
#define TIOCM_CTS 0x20
|
||||
#define TIOCM_CAR 0x40
|
||||
#define TIOCM_CD 0x40
|
||||
#define TIOCM_RI 0x80
|
||||
#define TIOCM_RNG 0x80
|
||||
#define TIOCM_DSR 0x0100
|
||||
|
||||
#define TIOCMGET TIOCMGET
|
||||
#define TIOCMSET TIOCMSET
|
||||
#define TIOCMBIC TIOCMBIC
|
||||
#define TIOCMBIS TIOCMBIS
|
||||
|
||||
#define __tmpcosmo_TIOCMGET -1558289563
|
||||
#define __tmpcosmo_TIOCMSET 1411834535
|
||||
#define __tmpcosmo_TIOCMBIC 1398206874
|
||||
#define __tmpcosmo_TIOCMBIS 522158367
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define TIOCMGET SYMBOLIC(TIOCMGET)
|
||||
#define TIOCMSET SYMBOLIC(TIOCMSET)
|
||||
#define TIOCMBIC SYMBOLIC(TIOCMBIC)
|
||||
#define TIOCMBIS SYMBOLIC(TIOCMBIS)
|
||||
|
||||
#define TIOCM_LE LITERALLY(0x01)
|
||||
#define TIOCM_DTR LITERALLY(0x02)
|
||||
#define TIOCM_RTS LITERALLY(0x04)
|
||||
#define TIOCM_ST LITERALLY(0x08)
|
||||
#define TIOCM_SR LITERALLY(0x10)
|
||||
#define TIOCM_CTS LITERALLY(0x20)
|
||||
#define TIOCM_CAR LITERALLY(0x40)
|
||||
#define TIOCM_CD LITERALLY(0x40)
|
||||
#define TIOCM_RI LITERALLY(0x80)
|
||||
#define TIOCM_RNG LITERALLY(0x80)
|
||||
#define TIOCM_DSR LITERALLY(0x0100)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MODEM_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MOUNT_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MOUNT_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -49,52 +48,94 @@ extern const int MNT_NOCLUSTERR;
|
|||
extern const int MNT_NOCLUSTERW;
|
||||
extern const int MNT_SNAPSHOT;
|
||||
|
||||
#define MS_RDONLY 0x00000001
|
||||
#define MNT_RDONLY 0x00000001
|
||||
#define MS_NOSUID MS_NOSUID
|
||||
#define MNT_NOSUID MNT_NOSUID
|
||||
#define MS_NODEV MS_NODEV
|
||||
#define MNT_NODEV MNT_NODEV
|
||||
#define MS_NOEXEC MS_NOEXEC
|
||||
#define MNT_NOEXEC MNT_NOEXEC
|
||||
#define MS_SYNCHRONOUS MS_SYNCHRONOUS
|
||||
#define MNT_SYNCHRONOUS MNT_SYNCHRONOUS
|
||||
#define MS_REMOUNT MS_REMOUNT
|
||||
#define MNT_UPDATE MNT_UPDATE
|
||||
#define MS_MANDLOCK MS_MANDLOCK
|
||||
#define MS_DIRSYNC MS_DIRSYNC
|
||||
#define MS_NOATIME MS_NOATIME
|
||||
#define MNT_NOATIME MNT_NOATIME
|
||||
#define MS_NODIRATIME MS_NODIRATIME
|
||||
#define MS_BIND MS_BIND
|
||||
#define MS_MOVE MS_MOVE
|
||||
#define MS_REC MS_REC
|
||||
#define MS_SILENT MS_SILENT
|
||||
#define MS_POSIXACL MS_POSIXACL
|
||||
#define MS_UNBINDABLE MS_UNBINDABLE
|
||||
#define MS_PRIVATE MS_PRIVATE
|
||||
#define MS_SLAVE MS_SLAVE
|
||||
#define MS_SHARED MS_SHARED
|
||||
#define MS_RELATIME MS_RELATIME
|
||||
#define MNT_RELATIME MNT_RELATIME
|
||||
#define MS_KERNMOUNT MS_KERNMOUNT
|
||||
#define MS_I_VERSION MS_I_VERSION
|
||||
#define MS_STRICTATIME MS_STRICTATIME
|
||||
#define MNT_STRICTATIME MNT_STRICTATIME
|
||||
#define MS_LAZYTIME MS_LAZYTIME
|
||||
#define MS_ACTIVE MS_ACTIVE
|
||||
#define MS_NOUSER MS_NOUSER
|
||||
#define MS_RMT_MASK MS_RMT_MASK
|
||||
#define MS_MGC_VAL MS_MGC_VAL
|
||||
#define MS_MGC_MSK MS_MGC_MSK
|
||||
#define MNT_ASYNC MNT_ASYNC
|
||||
#define MNT_RELOAD MNT_RELOAD
|
||||
#define MNT_SUIDDIR MNT_SUIDDIR
|
||||
#define MNT_NOCLUSTERR MNT_NOCLUSTERR
|
||||
#define MNT_NOCLUSTERW MNT_NOCLUSTERW
|
||||
#define MNT_SNAPSHOT MNT_SNAPSHOT
|
||||
|
||||
#define __tmpcosmo_MS_NOSUID -1606122789
|
||||
#define __tmpcosmo_MNT_NOSUID -1447475041
|
||||
#define __tmpcosmo_MS_NODEV 1395530069
|
||||
#define __tmpcosmo_MNT_NODEV 1936393733
|
||||
#define __tmpcosmo_MS_NOEXEC 617413422
|
||||
#define __tmpcosmo_MNT_NOEXEC -306506772
|
||||
#define __tmpcosmo_MS_SYNCHRONOUS 957465984
|
||||
#define __tmpcosmo_MNT_SYNCHRONOUS 934826893
|
||||
#define __tmpcosmo_MS_REMOUNT 413574493
|
||||
#define __tmpcosmo_MNT_UPDATE 920970183
|
||||
#define __tmpcosmo_MS_MANDLOCK -831013869
|
||||
#define __tmpcosmo_MS_DIRSYNC -1479267152
|
||||
#define __tmpcosmo_MS_NOATIME 1168305905
|
||||
#define __tmpcosmo_MNT_NOATIME 765975990
|
||||
#define __tmpcosmo_MS_NODIRATIME 259117157
|
||||
#define __tmpcosmo_MS_BIND 731286897
|
||||
#define __tmpcosmo_MS_MOVE -808863326
|
||||
#define __tmpcosmo_MS_REC -888579348
|
||||
#define __tmpcosmo_MS_SILENT 1518034597
|
||||
#define __tmpcosmo_MS_POSIXACL -1836436617
|
||||
#define __tmpcosmo_MS_UNBINDABLE -1064128266
|
||||
#define __tmpcosmo_MS_PRIVATE -869857793
|
||||
#define __tmpcosmo_MS_SLAVE -1484401575
|
||||
#define __tmpcosmo_MS_SHARED 1527550647
|
||||
#define __tmpcosmo_MS_RELATIME -1251574211
|
||||
#define __tmpcosmo_MNT_RELATIME 1860322269
|
||||
#define __tmpcosmo_MS_KERNMOUNT -2091601207
|
||||
#define __tmpcosmo_MS_I_VERSION -323807485
|
||||
#define __tmpcosmo_MS_STRICTATIME -1587037133
|
||||
#define __tmpcosmo_MNT_STRICTATIME -1140691829
|
||||
#define __tmpcosmo_MS_LAZYTIME 1112443532
|
||||
#define __tmpcosmo_MS_ACTIVE -2142880216
|
||||
#define __tmpcosmo_MS_NOUSER 1270935574
|
||||
#define __tmpcosmo_MS_RMT_MASK 376610379
|
||||
#define __tmpcosmo_MS_MGC_VAL -1272539746
|
||||
#define __tmpcosmo_MS_MGC_MSK 1522806541
|
||||
#define __tmpcosmo_MNT_ASYNC -1141454736
|
||||
#define __tmpcosmo_MNT_RELOAD 814423179
|
||||
#define __tmpcosmo_MNT_SUIDDIR -1859059495
|
||||
#define __tmpcosmo_MNT_NOCLUSTERR -1032466906
|
||||
#define __tmpcosmo_MNT_NOCLUSTERW 203320937
|
||||
#define __tmpcosmo_MNT_SNAPSHOT -1441878956
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define MS_RDONLY LITERALLY(0x00000001)
|
||||
#define MNT_RDONLY LITERALLY(0x00000001)
|
||||
#define MS_NOSUID SYMBOLIC(MS_NOSUID)
|
||||
#define MNT_NOSUID SYMBOLIC(MNT_NOSUID)
|
||||
#define MS_NODEV SYMBOLIC(MS_NODEV)
|
||||
#define MNT_NODEV SYMBOLIC(MNT_NODEV)
|
||||
#define MS_NOEXEC SYMBOLIC(MS_NOEXEC)
|
||||
#define MNT_NOEXEC SYMBOLIC(MNT_NOEXEC)
|
||||
#define MS_SYNCHRONOUS SYMBOLIC(MS_SYNCHRONOUS)
|
||||
#define MNT_SYNCHRONOUS SYMBOLIC(MNT_SYNCHRONOUS)
|
||||
#define MS_REMOUNT SYMBOLIC(MS_REMOUNT)
|
||||
#define MNT_UPDATE SYMBOLIC(MNT_UPDATE)
|
||||
#define MS_MANDLOCK SYMBOLIC(MS_MANDLOCK)
|
||||
#define MS_DIRSYNC SYMBOLIC(MS_DIRSYNC)
|
||||
#define MS_NOATIME SYMBOLIC(MS_NOATIME)
|
||||
#define MNT_NOATIME SYMBOLIC(MNT_NOATIME)
|
||||
#define MS_NODIRATIME SYMBOLIC(MS_NODIRATIME)
|
||||
#define MS_BIND SYMBOLIC(MS_BIND)
|
||||
#define MS_MOVE SYMBOLIC(MS_MOVE)
|
||||
#define MS_REC SYMBOLIC(MS_REC)
|
||||
#define MS_SILENT SYMBOLIC(MS_SILENT)
|
||||
#define MS_POSIXACL SYMBOLIC(MS_POSIXACL)
|
||||
#define MS_UNBINDABLE SYMBOLIC(MS_UNBINDABLE)
|
||||
#define MS_PRIVATE SYMBOLIC(MS_PRIVATE)
|
||||
#define MS_SLAVE SYMBOLIC(MS_SLAVE)
|
||||
#define MS_SHARED SYMBOLIC(MS_SHARED)
|
||||
#define MS_RELATIME SYMBOLIC(MS_RELATIME)
|
||||
#define MNT_RELATIME SYMBOLIC(MNT_RELATIME)
|
||||
#define MS_KERNMOUNT SYMBOLIC(MS_KERNMOUNT)
|
||||
#define MS_I_VERSION SYMBOLIC(MS_I_VERSION)
|
||||
#define MS_STRICTATIME SYMBOLIC(MS_STRICTATIME)
|
||||
#define MNT_STRICTATIME SYMBOLIC(MNT_STRICTATIME)
|
||||
#define MS_LAZYTIME SYMBOLIC(MS_LAZYTIME)
|
||||
#define MS_ACTIVE SYMBOLIC(MS_ACTIVE)
|
||||
#define MS_NOUSER SYMBOLIC(MS_NOUSER)
|
||||
#define MS_RMT_MASK SYMBOLIC(MS_RMT_MASK)
|
||||
#define MS_MGC_VAL SYMBOLIC(MS_MGC_VAL)
|
||||
#define MS_MGC_MSK SYMBOLIC(MS_MGC_MSK)
|
||||
#define MNT_ASYNC SYMBOLIC(MNT_ASYNC)
|
||||
#define MNT_RELOAD SYMBOLIC(MNT_RELOAD)
|
||||
#define MNT_SUIDDIR SYMBOLIC(MNT_SUIDDIR)
|
||||
#define MNT_NOCLUSTERR SYMBOLIC(MNT_NOCLUSTERR)
|
||||
#define MNT_NOCLUSTERW SYMBOLIC(MNT_NOCLUSTERW)
|
||||
#define MNT_SNAPSHOT SYMBOLIC(MNT_SNAPSHOT)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MOUNT_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MSG_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MSG_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -34,37 +33,64 @@ extern const int MSG_TRUNC;
|
|||
extern const int MSG_WAITALL;
|
||||
extern const int MSG_WAITFORONE;
|
||||
|
||||
#define MSG_DONTROUTE 4
|
||||
#define MSG_OOB 1
|
||||
#define MSG_PEEK 2
|
||||
|
||||
#define MSG_BATCH MSG_BATCH
|
||||
#define MSG_BCAST MSG_BCAST
|
||||
#define MSG_CMSG_CLOEXEC MSG_CMSG_CLOEXEC
|
||||
#define MSG_CONFIRM MSG_CONFIRM
|
||||
#define MSG_CTRUNC MSG_CTRUNC
|
||||
#define MSG_DONTWAIT MSG_DONTWAIT
|
||||
#define MSG_EOF MSG_EOF
|
||||
#define MSG_EOR MSG_EOR
|
||||
#define MSG_ERRQUEUE MSG_ERRQUEUE
|
||||
#define MSG_EXCEPT MSG_EXCEPT
|
||||
#define MSG_FASTOPEN MSG_FASTOPEN
|
||||
#define MSG_FIN MSG_FIN
|
||||
#define MSG_INFO MSG_INFO
|
||||
#define MSG_MCAST MSG_MCAST
|
||||
#define MSG_MORE MSG_MORE
|
||||
#define MSG_NOERROR MSG_NOERROR
|
||||
#define MSG_NOSIGNAL MSG_NOSIGNAL
|
||||
#define MSG_NOTIFICATION MSG_NOTIFICATION
|
||||
#define MSG_PARITY_ERROR MSG_PARITY_ERROR
|
||||
#define MSG_PROXY MSG_PROXY
|
||||
#define MSG_RST MSG_RST
|
||||
#define MSG_STAT MSG_STAT
|
||||
#define MSG_SYN MSG_SYN
|
||||
#define MSG_TRUNC MSG_TRUNC
|
||||
#define MSG_WAITALL MSG_WAITALL
|
||||
#define MSG_WAITFORONE MSG_WAITFORONE
|
||||
|
||||
#define __tmpcosmo_MSG_BATCH -1134416743
|
||||
#define __tmpcosmo_MSG_BCAST 370853917
|
||||
#define __tmpcosmo_MSG_CMSG_CLOEXEC -1745056044
|
||||
#define __tmpcosmo_MSG_CONFIRM -1373446954
|
||||
#define __tmpcosmo_MSG_CTRUNC -1111700304
|
||||
#define __tmpcosmo_MSG_DONTWAIT -667086557
|
||||
#define __tmpcosmo_MSG_EOF -602741896
|
||||
#define __tmpcosmo_MSG_EOR -91925267
|
||||
#define __tmpcosmo_MSG_ERRQUEUE 1651845516
|
||||
#define __tmpcosmo_MSG_EXCEPT 460132348
|
||||
#define __tmpcosmo_MSG_FASTOPEN -394051246
|
||||
#define __tmpcosmo_MSG_FIN 1618968310
|
||||
#define __tmpcosmo_MSG_INFO -1121675098
|
||||
#define __tmpcosmo_MSG_MCAST -782610984
|
||||
#define __tmpcosmo_MSG_MORE 1239285605
|
||||
#define __tmpcosmo_MSG_NOERROR -1816652550
|
||||
#define __tmpcosmo_MSG_NOSIGNAL -1026018855
|
||||
#define __tmpcosmo_MSG_NOTIFICATION -1641797121
|
||||
#define __tmpcosmo_MSG_PARITY_ERROR 742069756
|
||||
#define __tmpcosmo_MSG_PROXY -2048250956
|
||||
#define __tmpcosmo_MSG_RST -1659007642
|
||||
#define __tmpcosmo_MSG_STAT -1766577788
|
||||
#define __tmpcosmo_MSG_SYN -105011009
|
||||
#define __tmpcosmo_MSG_TRUNC 1248152008
|
||||
#define __tmpcosmo_MSG_WAITALL -209697144
|
||||
#define __tmpcosmo_MSG_WAITFORONE -583987704
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define MSG_BATCH SYMBOLIC(MSG_BATCH)
|
||||
#define MSG_BCAST SYMBOLIC(MSG_BCAST)
|
||||
#define MSG_CMSG_CLOEXEC SYMBOLIC(MSG_CMSG_CLOEXEC)
|
||||
#define MSG_CONFIRM SYMBOLIC(MSG_CONFIRM)
|
||||
#define MSG_CTRUNC SYMBOLIC(MSG_CTRUNC)
|
||||
#define MSG_DONTROUTE LITERALLY(4)
|
||||
#define MSG_DONTWAIT SYMBOLIC(MSG_DONTWAIT)
|
||||
#define MSG_EOF SYMBOLIC(MSG_EOF)
|
||||
#define MSG_EOR SYMBOLIC(MSG_EOR)
|
||||
#define MSG_ERRQUEUE SYMBOLIC(MSG_ERRQUEUE)
|
||||
#define MSG_EXCEPT SYMBOLIC(MSG_EXCEPT)
|
||||
#define MSG_FASTOPEN SYMBOLIC(MSG_FASTOPEN)
|
||||
#define MSG_FIN SYMBOLIC(MSG_FIN)
|
||||
#define MSG_INFO SYMBOLIC(MSG_INFO)
|
||||
#define MSG_MCAST SYMBOLIC(MSG_MCAST)
|
||||
#define MSG_MORE SYMBOLIC(MSG_MORE)
|
||||
#define MSG_NOERROR SYMBOLIC(MSG_NOERROR)
|
||||
#define MSG_NOSIGNAL SYMBOLIC(MSG_NOSIGNAL)
|
||||
#define MSG_NOTIFICATION SYMBOLIC(MSG_NOTIFICATION)
|
||||
#define MSG_OOB LITERALLY(1)
|
||||
#define MSG_PARITY_ERROR SYMBOLIC(MSG_PARITY_ERROR)
|
||||
#define MSG_PEEK LITERALLY(2)
|
||||
#define MSG_PROXY SYMBOLIC(MSG_PROXY)
|
||||
#define MSG_RST SYMBOLIC(MSG_RST)
|
||||
#define MSG_STAT SYMBOLIC(MSG_STAT)
|
||||
#define MSG_SYN SYMBOLIC(MSG_SYN)
|
||||
#define MSG_TRUNC SYMBOLIC(MSG_TRUNC)
|
||||
#define MSG_WAITALL SYMBOLIC(MSG_WAITALL)
|
||||
#define MSG_WAITFORONE SYMBOLIC(MSG_WAITFORONE)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MSG_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MSYNC_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MSYNC_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -8,11 +7,13 @@ extern const int MS_SYNC;
|
|||
extern const int MS_ASYNC;
|
||||
extern const int MS_INVALIDATE;
|
||||
|
||||
#define MS_ASYNC 1
|
||||
#define MS_SYNC MS_SYNC
|
||||
#define MS_INVALIDATE MS_INVALIDATE
|
||||
|
||||
#define __tmpcosmo_MS_SYNC 534308386
|
||||
#define __tmpcosmo_MS_INVALIDATE 635516839
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define MS_SYNC SYMBOLIC(MS_SYNC)
|
||||
#define MS_ASYNC LITERALLY(1)
|
||||
#define MS_INVALIDATE SYMBOLIC(MS_INVALIDATE)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MSYNC_H_ */
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,6 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_NRLINUX_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_NRLINUX_H_
|
||||
#ifdef COSMO
|
||||
|
||||
#ifdef __x86_64__
|
||||
|
||||
|
@ -656,4 +657,5 @@
|
|||
|
||||
#endif /* __x86_64__ */
|
||||
|
||||
#endif /* COSMO */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_NRLINUX_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_O_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_O_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -43,41 +42,51 @@ extern const unsigned O_WRONLY;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define O_RDONLY LITERALLY(0)
|
||||
#define O_WRONLY LITERALLY(1)
|
||||
#define O_RDWR LITERALLY(2)
|
||||
#define O_ACCMODE LITERALLY(3)
|
||||
#define O_RDONLY 0
|
||||
#define O_WRONLY 1
|
||||
#define O_RDWR 2
|
||||
#define O_ACCMODE 3
|
||||
|
||||
#define O_APPEND SYMBOLIC(O_APPEND)
|
||||
#define O_ASYNC SYMBOLIC(O_ASYNC)
|
||||
#define O_CLOEXEC SYMBOLIC(O_CLOEXEC)
|
||||
#define O_COMPRESSED SYMBOLIC(O_COMPRESSED)
|
||||
#define O_CREAT SYMBOLIC(O_CREAT)
|
||||
#define O_DIRECT SYMBOLIC(O_DIRECT)
|
||||
#define O_DIRECTORY SYMBOLIC(O_DIRECTORY)
|
||||
#define O_DSYNC SYMBOLIC(O_DSYNC)
|
||||
#define O_EXCL SYMBOLIC(O_EXCL)
|
||||
#define O_EXEC SYMBOLIC(O_EXEC)
|
||||
#define O_EXLOCK SYMBOLIC(O_EXLOCK)
|
||||
#define O_INDEXED SYMBOLIC(O_INDEXED)
|
||||
#define O_LARGEFILE SYMBOLIC(O_LARGEFILE)
|
||||
#define O_NDELAY SYMBOLIC(O_NDELAY)
|
||||
#define O_NOATIME SYMBOLIC(O_NOATIME)
|
||||
#define O_NOCTTY SYMBOLIC(O_NOCTTY)
|
||||
#define O_NOFOLLOW SYMBOLIC(O_NOFOLLOW)
|
||||
#define O_NOFOLLOW_ANY SYMBOLIC(O_NOFOLLOW_ANY)
|
||||
#define O_NONBLOCK SYMBOLIC(O_NONBLOCK)
|
||||
#define O_PATH SYMBOLIC(O_PATH)
|
||||
#define O_RANDOM SYMBOLIC(O_RANDOM)
|
||||
#define O_RSYNC SYMBOLIC(O_RSYNC)
|
||||
#define O_SEARCH SYMBOLIC(O_SEARCH)
|
||||
#define O_SEQUENTIAL SYMBOLIC(O_SEQUENTIAL)
|
||||
#define O_SHLOCK SYMBOLIC(O_SHLOCK)
|
||||
#define O_SPARSE SYMBOLIC(O_SPARSE)
|
||||
#define O_SYNC SYMBOLIC(O_SYNC)
|
||||
#define O_TMPFILE SYMBOLIC(O_TMPFILE)
|
||||
#define O_TRUNC SYMBOLIC(O_TRUNC)
|
||||
#define O_TTY_INIT SYMBOLIC(O_TTY_INIT)
|
||||
#define O_VERIFY SYMBOLIC(O_VERIFY)
|
||||
#define O_APPEND O_APPEND
|
||||
#define O_ASYNC O_ASYNC
|
||||
#define O_CLOEXEC O_CLOEXEC
|
||||
#define O_COMPRESSED O_COMPRESSED
|
||||
#define O_CREAT O_CREAT
|
||||
#define O_DIRECT O_DIRECT
|
||||
#define O_DIRECTORY O_DIRECTORY
|
||||
#define O_EXCL O_EXCL
|
||||
#define O_EXEC O_EXEC
|
||||
#define O_INDEXED O_INDEXED
|
||||
#define O_LARGEFILE O_LARGEFILE
|
||||
#define O_NDELAY O_NDELAY
|
||||
#define O_NOATIME O_NOATIME
|
||||
#define O_NOCTTY O_NOCTTY
|
||||
#define O_NOFOLLOW O_NOFOLLOW
|
||||
#define O_NONBLOCK O_NONBLOCK
|
||||
#define O_RANDOM O_RANDOM
|
||||
#define O_SEQUENTIAL O_SEQUENTIAL
|
||||
#define O_SYNC O_SYNC
|
||||
#define O_TRUNC O_TRUNC
|
||||
|
||||
#define __tmpcosmo_O_APPEND -801373305
|
||||
#define __tmpcosmo_O_ASYNC -957973766
|
||||
#define __tmpcosmo_O_CLOEXEC 1580591778
|
||||
#define __tmpcosmo_O_COMPRESSED 1922797055
|
||||
#define __tmpcosmo_O_CREAT -796151748
|
||||
#define __tmpcosmo_O_DIRECT -1042229894
|
||||
#define __tmpcosmo_O_DIRECTORY -614889241
|
||||
#define __tmpcosmo_O_EXCL 1874611659
|
||||
#define __tmpcosmo_O_EXEC -727286831
|
||||
#define __tmpcosmo_O_INDEXED -234653513
|
||||
#define __tmpcosmo_O_LARGEFILE -1307734823
|
||||
#define __tmpcosmo_O_NDELAY -923014394
|
||||
#define __tmpcosmo_O_NOATIME 1127867239
|
||||
#define __tmpcosmo_O_NOCTTY -107116141
|
||||
#define __tmpcosmo_O_NOFOLLOW 795975523
|
||||
#define __tmpcosmo_O_NONBLOCK 549686796
|
||||
#define __tmpcosmo_O_RANDOM -2052765995
|
||||
#define __tmpcosmo_O_SEQUENTIAL 854419792
|
||||
#define __tmpcosmo_O_SYNC -282123817
|
||||
#define __tmpcosmo_O_TRUNC 924355570
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_O_H_ */
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_OK_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_OK_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define F_OK SYMBOLIC(F_OK)
|
||||
#define R_OK SYMBOLIC(R_OK)
|
||||
#define W_OK SYMBOLIC(W_OK)
|
||||
#define X_OK SYMBOLIC(X_OK)
|
||||
#define F_OK F_OK
|
||||
#define R_OK R_OK
|
||||
#define W_OK W_OK
|
||||
#define X_OK X_OK
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PERSONALITY_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PERSONALITY_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define ADDR_COMPAT_LAYOUT 0x0200000
|
||||
#define READ_IMPLIES_EXEC 0x0400000
|
||||
|
|
|
@ -1,53 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PF_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PF_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define PF_ALG SYMBOLIC(PF_ALG)
|
||||
#define PF_APPLETALK SYMBOLIC(PF_APPLETALK)
|
||||
#define PF_ASH SYMBOLIC(PF_ASH)
|
||||
#define PF_ATMPVC SYMBOLIC(PF_ATMPVC)
|
||||
#define PF_ATMSVC SYMBOLIC(PF_ATMSVC)
|
||||
#define PF_AX25 SYMBOLIC(PF_AX25)
|
||||
#define PF_BLUETOOTH SYMBOLIC(PF_BLUETOOTH)
|
||||
#define PF_BRIDGE SYMBOLIC(PF_BRIDGE)
|
||||
#define PF_CAIF SYMBOLIC(PF_CAIF)
|
||||
#define PF_CAN SYMBOLIC(PF_CAN)
|
||||
#define PF_ECONET SYMBOLIC(PF_ECONET)
|
||||
#define PF_FILE SYMBOLIC(PF_FILE)
|
||||
#define PF_IB SYMBOLIC(PF_IB)
|
||||
#define PF_IEEE802154 SYMBOLIC(PF_IEEE802154)
|
||||
#define PF_INET SYMBOLIC(PF_INET)
|
||||
#define PF_INET6 SYMBOLIC(PF_INET6)
|
||||
#define PF_IPX SYMBOLIC(PF_IPX)
|
||||
#define PF_IRDA SYMBOLIC(PF_IRDA)
|
||||
#define PF_ISDN SYMBOLIC(PF_ISDN)
|
||||
#define PF_IUCV SYMBOLIC(PF_IUCV)
|
||||
#define PF_KCM SYMBOLIC(PF_KCM)
|
||||
#define PF_KEY SYMBOLIC(PF_KEY)
|
||||
#define PF_LLC SYMBOLIC(PF_LLC)
|
||||
#define PF_LOCAL SYMBOLIC(PF_LOCAL)
|
||||
#define PF_MAX SYMBOLIC(PF_MAX)
|
||||
#define PF_MPLS SYMBOLIC(PF_MPLS)
|
||||
#define PF_NETBEUI SYMBOLIC(PF_NETBEUI)
|
||||
#define PF_NETLINK SYMBOLIC(PF_NETLINK)
|
||||
#define PF_NETROM SYMBOLIC(PF_NETROM)
|
||||
#define PF_NFC SYMBOLIC(PF_NFC)
|
||||
#define PF_PACKET SYMBOLIC(PF_PACKET)
|
||||
#define PF_PHONET SYMBOLIC(PF_PHONET)
|
||||
#define PF_PPPOX SYMBOLIC(PF_PPPOX)
|
||||
#define PF_RDS SYMBOLIC(PF_RDS)
|
||||
#define PF_ROSE SYMBOLIC(PF_ROSE)
|
||||
#define PF_ROUTE SYMBOLIC(PF_ROUTE)
|
||||
#define PF_RXRPC SYMBOLIC(PF_RXRPC)
|
||||
#define PF_SECURITY SYMBOLIC(PF_SECURITY)
|
||||
#define PF_SNA SYMBOLIC(PF_SNA)
|
||||
#define PF_TIPC SYMBOLIC(PF_TIPC)
|
||||
#define PF_UNIX SYMBOLIC(PF_UNIX)
|
||||
#define PF_UNSPEC SYMBOLIC(PF_UNSPEC)
|
||||
#define PF_VSOCK SYMBOLIC(PF_VSOCK)
|
||||
#define PF_WANPIPE SYMBOLIC(PF_WANPIPE)
|
||||
#define PF_X25 SYMBOLIC(PF_X25)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -97,6 +49,98 @@ extern const int PF_VSOCK;
|
|||
extern const int PF_WANPIPE;
|
||||
extern const int PF_X25;
|
||||
|
||||
#define PF_ALG PF_ALG
|
||||
#define PF_APPLETALK PF_APPLETALK
|
||||
#define PF_ASH PF_ASH
|
||||
#define PF_ATMPVC PF_ATMPVC
|
||||
#define PF_ATMSVC PF_ATMSVC
|
||||
#define PF_AX25 PF_AX25
|
||||
#define PF_BLUETOOTH PF_BLUETOOTH
|
||||
#define PF_BRIDGE PF_BRIDGE
|
||||
#define PF_CAIF PF_CAIF
|
||||
#define PF_CAN PF_CAN
|
||||
#define PF_ECONET PF_ECONET
|
||||
#define PF_FILE PF_FILE
|
||||
#define PF_IB PF_IB
|
||||
#define PF_IEEE802154 PF_IEEE802154
|
||||
#define PF_INET PF_INET
|
||||
#define PF_INET6 PF_INET6
|
||||
#define PF_IPX PF_IPX
|
||||
#define PF_IRDA PF_IRDA
|
||||
#define PF_ISDN PF_ISDN
|
||||
#define PF_IUCV PF_IUCV
|
||||
#define PF_KCM PF_KCM
|
||||
#define PF_KEY PF_KEY
|
||||
#define PF_LLC PF_LLC
|
||||
#define PF_LOCAL PF_LOCAL
|
||||
#define PF_MAX PF_MAX
|
||||
#define PF_MPLS PF_MPLS
|
||||
#define PF_NETBEUI PF_NETBEUI
|
||||
#define PF_NETLINK PF_NETLINK
|
||||
#define PF_NETROM PF_NETROM
|
||||
#define PF_NFC PF_NFC
|
||||
#define PF_PACKET PF_PACKET
|
||||
#define PF_PHONET PF_PHONET
|
||||
#define PF_PPPOX PF_PPPOX
|
||||
#define PF_RDS PF_RDS
|
||||
#define PF_ROSE PF_ROSE
|
||||
#define PF_ROUTE PF_ROUTE
|
||||
#define PF_RXRPC PF_RXRPC
|
||||
#define PF_SECURITY PF_SECURITY
|
||||
#define PF_SNA PF_SNA
|
||||
#define PF_TIPC PF_TIPC
|
||||
#define PF_UNIX PF_UNIX
|
||||
#define PF_UNSPEC PF_UNSPEC
|
||||
#define PF_VSOCK PF_VSOCK
|
||||
#define PF_WANPIPE PF_WANPIPE
|
||||
#define PF_X25 PF_X25
|
||||
|
||||
#define __tmpcosmo_PF_ALG -1167318959
|
||||
#define __tmpcosmo_PF_APPLETALK 1352627627
|
||||
#define __tmpcosmo_PF_ASH -1469433340
|
||||
#define __tmpcosmo_PF_ATMPVC -1573973598
|
||||
#define __tmpcosmo_PF_ATMSVC -1896919644
|
||||
#define __tmpcosmo_PF_AX25 2047319632
|
||||
#define __tmpcosmo_PF_BLUETOOTH -2059948473
|
||||
#define __tmpcosmo_PF_BRIDGE 1226413197
|
||||
#define __tmpcosmo_PF_CAIF 348719180
|
||||
#define __tmpcosmo_PF_CAN 1956565481
|
||||
#define __tmpcosmo_PF_ECONET -590876500
|
||||
#define __tmpcosmo_PF_FILE -2117897689
|
||||
#define __tmpcosmo_PF_IB -1143185526
|
||||
#define __tmpcosmo_PF_IEEE802154 644075298
|
||||
#define __tmpcosmo_PF_INET -965498803
|
||||
#define __tmpcosmo_PF_INET6 -605664230
|
||||
#define __tmpcosmo_PF_IPX -812984923
|
||||
#define __tmpcosmo_PF_IRDA -845910457
|
||||
#define __tmpcosmo_PF_ISDN -2124176331
|
||||
#define __tmpcosmo_PF_IUCV -223080277
|
||||
#define __tmpcosmo_PF_KCM -625322398
|
||||
#define __tmpcosmo_PF_KEY -1338823775
|
||||
#define __tmpcosmo_PF_LLC 1643083644
|
||||
#define __tmpcosmo_PF_LOCAL -1878383051
|
||||
#define __tmpcosmo_PF_MAX 1429755554
|
||||
#define __tmpcosmo_PF_MPLS 859672223
|
||||
#define __tmpcosmo_PF_NETBEUI -1279572811
|
||||
#define __tmpcosmo_PF_NETLINK -904019371
|
||||
#define __tmpcosmo_PF_NETROM -1202450843
|
||||
#define __tmpcosmo_PF_NFC 1879738902
|
||||
#define __tmpcosmo_PF_PACKET -754919290
|
||||
#define __tmpcosmo_PF_PHONET 1932009977
|
||||
#define __tmpcosmo_PF_PPPOX 2066783213
|
||||
#define __tmpcosmo_PF_RDS 350205681
|
||||
#define __tmpcosmo_PF_ROSE -183721473
|
||||
#define __tmpcosmo_PF_ROUTE -2010441155
|
||||
#define __tmpcosmo_PF_RXRPC 1253344453
|
||||
#define __tmpcosmo_PF_SECURITY -2074690212
|
||||
#define __tmpcosmo_PF_SNA 543851053
|
||||
#define __tmpcosmo_PF_TIPC -1469649195
|
||||
#define __tmpcosmo_PF_UNIX 523231587
|
||||
#define __tmpcosmo_PF_UNSPEC -8069898
|
||||
#define __tmpcosmo_PF_VSOCK 1746452212
|
||||
#define __tmpcosmo_PF_WANPIPE -1066851141
|
||||
#define __tmpcosmo_PF_X25 880954619
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PF_H_ */
|
||||
|
|
|
@ -1,20 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_POLL_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_POLL_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define INFTIM (-1)
|
||||
#define POLLERR SYMBOLIC(POLLERR)
|
||||
#define POLLHUP SYMBOLIC(POLLHUP)
|
||||
#define POLLIN SYMBOLIC(POLLIN)
|
||||
#define POLLNVAL SYMBOLIC(POLLNVAL)
|
||||
#define POLLOUT SYMBOLIC(POLLOUT)
|
||||
#define POLLPRI SYMBOLIC(POLLPRI)
|
||||
#define POLLRDBAND SYMBOLIC(POLLRDBAND)
|
||||
#define POLLRDHUP SYMBOLIC(POLLRDHUP)
|
||||
#define POLLRDNORM SYMBOLIC(POLLRDNORM)
|
||||
#define POLLWRBAND SYMBOLIC(POLLWRBAND)
|
||||
#define POLLWRNORM SYMBOLIC(POLLWRNORM)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -30,6 +15,31 @@ extern const int16_t POLLRDNORM;
|
|||
extern const int16_t POLLWRBAND;
|
||||
extern const int16_t POLLWRNORM;
|
||||
|
||||
#define INFTIM (-1)
|
||||
#define POLLERR POLLERR
|
||||
#define POLLHUP POLLHUP
|
||||
#define POLLIN POLLIN
|
||||
#define POLLNVAL POLLNVAL
|
||||
#define POLLOUT POLLOUT
|
||||
#define POLLPRI POLLPRI
|
||||
#define POLLRDBAND POLLRDBAND
|
||||
#define POLLRDHUP POLLRDHUP
|
||||
#define POLLRDNORM POLLRDNORM
|
||||
#define POLLWRBAND POLLWRBAND
|
||||
#define POLLWRNORM POLLWRNORM
|
||||
|
||||
#define __tmpcosmo_POLLERR 1388165514
|
||||
#define __tmpcosmo_POLLHUP -1081758058
|
||||
#define __tmpcosmo_POLLIN -1297303806
|
||||
#define __tmpcosmo_POLLNVAL 907399263
|
||||
#define __tmpcosmo_POLLOUT -1712263905
|
||||
#define __tmpcosmo_POLLPRI 1106108134
|
||||
#define __tmpcosmo_POLLRDBAND -140530500
|
||||
#define __tmpcosmo_POLLRDHUP -1946253190
|
||||
#define __tmpcosmo_POLLRDNORM -1950521858
|
||||
#define __tmpcosmo_POLLWRBAND 2089556804
|
||||
#define __tmpcosmo_POLLWRNORM -128148805
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_POLL_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_POSIX_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_POSIX_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -9,22 +8,25 @@ extern const int POSIX_FADV_NOREUSE;
|
|||
extern const int POSIX_MADV_DONTNEED;
|
||||
extern const int POSIX_MADV_DONTNEED;
|
||||
|
||||
#define POSIX_FADV_NORMAL 0
|
||||
#define POSIX_FADV_RANDOM 1
|
||||
#define POSIX_FADV_SEQUENTIAL 2
|
||||
#define POSIX_FADV_WILLNEED 3
|
||||
|
||||
#define POSIX_FADV_DONTNEED POSIX_FADV_DONTNEED
|
||||
#define POSIX_FADV_NOREUSE POSIX_FADV_NOREUSE
|
||||
|
||||
#define POSIX_MADV_NORMAL 0
|
||||
#define POSIX_MADV_RANDOM 1
|
||||
#define POSIX_MADV_SEQUENTIAL 2
|
||||
#define POSIX_MADV_WILLNEED 3
|
||||
|
||||
#define POSIX_MADV_DONTNEED POSIX_MADV_DONTNEED
|
||||
|
||||
#define __tmpcosmo_POSIX_FADV_DONTNEED -1804804183
|
||||
#define __tmpcosmo_POSIX_FADV_NOREUSE 885813225
|
||||
#define __tmpcosmo_POSIX_MADV_DONTNEED -624100598
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define POSIX_FADV_NORMAL LITERALLY(0)
|
||||
#define POSIX_FADV_RANDOM LITERALLY(1)
|
||||
#define POSIX_FADV_SEQUENTIAL LITERALLY(2)
|
||||
#define POSIX_FADV_WILLNEED LITERALLY(3)
|
||||
|
||||
#define POSIX_FADV_DONTNEED SYMBOLIC(POSIX_FADV_DONTNEED)
|
||||
#define POSIX_FADV_NOREUSE SYMBOLIC(POSIX_FADV_NOREUSE)
|
||||
|
||||
#define POSIX_MADV_NORMAL LITERALLY(0)
|
||||
#define POSIX_MADV_RANDOM LITERALLY(1)
|
||||
#define POSIX_MADV_SEQUENTIAL LITERALLY(2)
|
||||
#define POSIX_MADV_WILLNEED LITERALLY(3)
|
||||
|
||||
#define POSIX_MADV_DONTNEED SYMBOLIC(POSIX_MADV_DONTNEED)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_POSIX_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PRIO_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PRIO_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -10,13 +9,12 @@ extern const int PRIO_PGRP;
|
|||
extern const int PRIO_PROCESS;
|
||||
extern const int PRIO_USER;
|
||||
|
||||
#define PRIO_PROCESS 0
|
||||
#define PRIO_PGRP 1
|
||||
#define PRIO_USER 2
|
||||
#define PRIO_MIN -20
|
||||
#define PRIO_MAX 20
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define PRIO_PROCESS LITERALLY(0)
|
||||
#define PRIO_PGRP LITERALLY(1)
|
||||
#define PRIO_USER LITERALLY(2)
|
||||
#define PRIO_MIN LITERALLY(-20)
|
||||
#define PRIO_MAX LITERALLY(20)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PRIO_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PROT_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PROT_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -14,11 +13,9 @@ extern const int PROT_GROWSUP;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define PROT_NONE 0
|
||||
#define PROT_READ 1
|
||||
#define PROT_NONE 0
|
||||
#define PROT_READ 1
|
||||
#define PROT_WRITE 2
|
||||
#define PROT_EXEC 4
|
||||
#define PROT_GROWSDOWN SYMBOLIC(PROT_GROWSDOWN)
|
||||
#define PROT_GROWSUP SYMBOLIC(PROT_GROWSUP)
|
||||
#define PROT_EXEC 4
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PROT_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PTRACE_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PTRACE_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -57,54 +56,54 @@ extern const int PTRACE_EVENT_SECCOMP;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define PTRACE_TRACEME SYMBOLIC(PTRACE_TRACEME)
|
||||
#define PTRACE_PEEKTEXT SYMBOLIC(PTRACE_PEEKTEXT)
|
||||
#define PTRACE_PEEKDATA SYMBOLIC(PTRACE_PEEKDATA)
|
||||
#define PTRACE_PEEKUSER SYMBOLIC(PTRACE_PEEKUSER)
|
||||
#define PTRACE_POKETEXT SYMBOLIC(PTRACE_POKETEXT)
|
||||
#define PTRACE_POKEDATA SYMBOLIC(PTRACE_POKEDATA)
|
||||
#define PTRACE_POKEUSER SYMBOLIC(PTRACE_POKEUSER)
|
||||
#define PTRACE_CONT SYMBOLIC(PTRACE_CONT)
|
||||
#define PTRACE_KILL SYMBOLIC(PTRACE_KILL)
|
||||
#define PTRACE_SINGLESTEP SYMBOLIC(PTRACE_SINGLESTEP)
|
||||
#define PTRACE_GETREGS SYMBOLIC(PTRACE_GETREGS)
|
||||
#define PTRACE_SETREGS SYMBOLIC(PTRACE_SETREGS)
|
||||
#define PTRACE_GETFPREGS SYMBOLIC(PTRACE_GETFPREGS)
|
||||
#define PTRACE_SETFPREGS SYMBOLIC(PTRACE_SETFPREGS)
|
||||
#define PTRACE_ATTACH SYMBOLIC(PTRACE_ATTACH)
|
||||
#define PTRACE_DETACH SYMBOLIC(PTRACE_DETACH)
|
||||
#define PTRACE_GETFPXREGS SYMBOLIC(PTRACE_GETFPXREGS)
|
||||
#define PTRACE_SETFPXREGS SYMBOLIC(PTRACE_SETFPXREGS)
|
||||
#define PTRACE_SYSCALL SYMBOLIC(PTRACE_SYSCALL)
|
||||
#define PTRACE_GETEVENTMSG SYMBOLIC(PTRACE_GETEVENTMSG)
|
||||
#define PTRACE_GETSIGINFO SYMBOLIC(PTRACE_GETSIGINFO)
|
||||
#define PTRACE_SETOPTIONS SYMBOLIC(PTRACE_SETOPTIONS)
|
||||
#define PTRACE_SETSIGINFO SYMBOLIC(PTRACE_SETSIGINFO)
|
||||
#define PTRACE_GETREGSET SYMBOLIC(PTRACE_GETREGSET)
|
||||
#define PTRACE_GETSIGMASK SYMBOLIC(PTRACE_GETSIGMASK)
|
||||
#define PTRACE_INTERRUPT SYMBOLIC(PTRACE_INTERRUPT)
|
||||
#define PTRACE_LISTEN SYMBOLIC(PTRACE_LISTEN)
|
||||
#define PTRACE_PEEKSIGINFO SYMBOLIC(PTRACE_PEEKSIGINFO)
|
||||
#define PTRACE_SECCOMP_GET_FILTER SYMBOLIC(PTRACE_SECCOMP_GET_FILTER)
|
||||
#define PTRACE_SEIZE SYMBOLIC(PTRACE_SEIZE)
|
||||
#define PTRACE_SETREGSET SYMBOLIC(PTRACE_SETREGSET)
|
||||
#define PTRACE_SETSIGMASK SYMBOLIC(PTRACE_SETSIGMASK)
|
||||
#define PTRACE_O_TRACESYSGOOD SYMBOLIC(PTRACE_O_TRACESYSGOOD)
|
||||
#define PTRACE_O_TRACEFORK SYMBOLIC(PTRACE_O_TRACEFORK)
|
||||
#define PTRACE_O_TRACEVFORK SYMBOLIC(PTRACE_O_TRACEVFORK)
|
||||
#define PTRACE_O_TRACECLONE SYMBOLIC(PTRACE_O_TRACECLONE)
|
||||
#define PTRACE_O_TRACEEXEC SYMBOLIC(PTRACE_O_TRACEEXEC)
|
||||
#define PTRACE_O_TRACEVFORKDONE SYMBOLIC(PTRACE_O_TRACEVFORKDONE)
|
||||
#define PTRACE_O_TRACEEXIT SYMBOLIC(PTRACE_O_TRACEEXIT)
|
||||
#define PTRACE_O_TRACESECCOMP SYMBOLIC(PTRACE_O_TRACESECCOMP)
|
||||
#define PTRACE_O_MASK SYMBOLIC(PTRACE_O_MASK)
|
||||
#define PTRACE_EVENT_FORK SYMBOLIC(PTRACE_EVENT_FORK)
|
||||
#define PTRACE_EVENT_VFORK SYMBOLIC(PTRACE_EVENT_VFORK)
|
||||
#define PTRACE_EVENT_CLONE SYMBOLIC(PTRACE_EVENT_CLONE)
|
||||
#define PTRACE_EVENT_EXEC SYMBOLIC(PTRACE_EVENT_EXEC)
|
||||
#define PTRACE_EVENT_VFORK_DONE SYMBOLIC(PTRACE_EVENT_VFORK_DONE)
|
||||
#define PTRACE_EVENT_EXIT SYMBOLIC(PTRACE_EVENT_EXIT)
|
||||
#define PTRACE_EVENT_STOP SYMBOLIC(PTRACE_EVENT_STOP)
|
||||
#define PTRACE_EVENT_SECCOMP SYMBOLIC(PTRACE_EVENT_SECCOMP)
|
||||
#define PTRACE_TRACEME PTRACE_TRACEME
|
||||
#define PTRACE_PEEKTEXT PTRACE_PEEKTEXT
|
||||
#define PTRACE_PEEKDATA PTRACE_PEEKDATA
|
||||
#define PTRACE_PEEKUSER PTRACE_PEEKUSER
|
||||
#define PTRACE_POKETEXT PTRACE_POKETEXT
|
||||
#define PTRACE_POKEDATA PTRACE_POKEDATA
|
||||
#define PTRACE_POKEUSER PTRACE_POKEUSER
|
||||
#define PTRACE_CONT PTRACE_CONT
|
||||
#define PTRACE_KILL PTRACE_KILL
|
||||
#define PTRACE_SINGLESTEP PTRACE_SINGLESTEP
|
||||
#define PTRACE_GETREGS PTRACE_GETREGS
|
||||
#define PTRACE_SETREGS PTRACE_SETREGS
|
||||
#define PTRACE_GETFPREGS PTRACE_GETFPREGS
|
||||
#define PTRACE_SETFPREGS PTRACE_SETFPREGS
|
||||
#define PTRACE_ATTACH PTRACE_ATTACH
|
||||
#define PTRACE_DETACH PTRACE_DETACH
|
||||
#define PTRACE_GETFPXREGS PTRACE_GETFPXREGS
|
||||
#define PTRACE_SETFPXREGS PTRACE_SETFPXREGS
|
||||
#define PTRACE_SYSCALL PTRACE_SYSCALL
|
||||
#define PTRACE_GETEVENTMSG PTRACE_GETEVENTMSG
|
||||
#define PTRACE_GETSIGINFO PTRACE_GETSIGINFO
|
||||
#define PTRACE_SETOPTIONS PTRACE_SETOPTIONS
|
||||
#define PTRACE_SETSIGINFO PTRACE_SETSIGINFO
|
||||
#define PTRACE_GETREGSET PTRACE_GETREGSET
|
||||
#define PTRACE_GETSIGMASK PTRACE_GETSIGMASK
|
||||
#define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
||||
#define PTRACE_LISTEN PTRACE_LISTEN
|
||||
#define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
||||
#define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER
|
||||
#define PTRACE_SEIZE PTRACE_SEIZE
|
||||
#define PTRACE_SETREGSET PTRACE_SETREGSET
|
||||
#define PTRACE_SETSIGMASK PTRACE_SETSIGMASK
|
||||
#define PTRACE_O_TRACESYSGOOD PTRACE_O_TRACESYSGOOD
|
||||
#define PTRACE_O_TRACEFORK PTRACE_O_TRACEFORK
|
||||
#define PTRACE_O_TRACEVFORK PTRACE_O_TRACEVFORK
|
||||
#define PTRACE_O_TRACECLONE PTRACE_O_TRACECLONE
|
||||
#define PTRACE_O_TRACEEXEC PTRACE_O_TRACEEXEC
|
||||
#define PTRACE_O_TRACEVFORKDONE PTRACE_O_TRACEVFORKDONE
|
||||
#define PTRACE_O_TRACEEXIT PTRACE_O_TRACEEXIT
|
||||
#define PTRACE_O_TRACESECCOMP PTRACE_O_TRACESECCOMP
|
||||
#define PTRACE_O_MASK PTRACE_O_MASK
|
||||
#define PTRACE_EVENT_FORK PTRACE_EVENT_FORK
|
||||
#define PTRACE_EVENT_VFORK PTRACE_EVENT_VFORK
|
||||
#define PTRACE_EVENT_CLONE PTRACE_EVENT_CLONE
|
||||
#define PTRACE_EVENT_EXEC PTRACE_EVENT_EXEC
|
||||
#define PTRACE_EVENT_VFORK_DONE PTRACE_EVENT_VFORK_DONE
|
||||
#define PTRACE_EVENT_EXIT PTRACE_EVENT_EXIT
|
||||
#define PTRACE_EVENT_STOP PTRACE_EVENT_STOP
|
||||
#define PTRACE_EVENT_SECCOMP PTRACE_EVENT_SECCOMP
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PTRACE_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PTY_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PTY_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -16,19 +15,23 @@ extern const int TIOCPKT_STOP;
|
|||
extern const int TIOCSPTLCK;
|
||||
extern const int PTMGET;
|
||||
|
||||
#define TIOCPKT_DATA 0x00
|
||||
#define TIOCPKT_DOSTOP 0x01
|
||||
#define TIOCPKT_FLUSHREAD 0x02
|
||||
#define TIOCPKT_FLUSHWRITE 0x04
|
||||
#define TIOCPKT_IOCTL 0x08
|
||||
#define TIOCPKT_NOSTOP 0x10
|
||||
#define TIOCPKT_START 0x20
|
||||
#define TIOCPKT_STOP 0x40
|
||||
|
||||
#define TIOCPKT TIOCPKT
|
||||
#define TIOCSPTLCK TIOCSPTLCK
|
||||
#define PTMGET PTMGET
|
||||
|
||||
#define __tmpcosmo_TIOCPKT -1036987649
|
||||
#define __tmpcosmo_TIOCSPTLCK 372918192
|
||||
#define __tmpcosmo_PTMGET -2064878958
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define TIOCPKT SYMBOLIC(TIOCPKT)
|
||||
#define TIOCSPTLCK SYMBOLIC(TIOCSPTLCK)
|
||||
#define PTMGET SYMBOLIC(PTMGET)
|
||||
#define TIOCPKT_DATA LITERALLY(0x00)
|
||||
#define TIOCPKT_DOSTOP LITERALLY(0x01)
|
||||
#define TIOCPKT_FLUSHREAD LITERALLY(0x02)
|
||||
#define TIOCPKT_FLUSHWRITE LITERALLY(0x04)
|
||||
#define TIOCPKT_IOCTL LITERALLY(0x08)
|
||||
#define TIOCPKT_NOSTOP LITERALLY(0x10)
|
||||
#define TIOCPKT_START LITERALLY(0x20)
|
||||
#define TIOCPKT_STOP LITERALLY(0x40)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PTY_H_ */
|
||||
|
|
|
@ -1,19 +1,18 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_READ_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_READ_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define READ_10 SYMBOLIC(READ_10)
|
||||
#define READ_12 SYMBOLIC(READ_12)
|
||||
#define READ_6 SYMBOLIC(READ_6)
|
||||
#define READ_BLOCK_LIMITS SYMBOLIC(READ_BLOCK_LIMITS)
|
||||
#define READ_BUFFER SYMBOLIC(READ_BUFFER)
|
||||
#define READ_CAPACITY SYMBOLIC(READ_CAPACITY)
|
||||
#define READ_DEFECT_DATA SYMBOLIC(READ_DEFECT_DATA)
|
||||
#define READ_ELEMENT_STATUS SYMBOLIC(READ_ELEMENT_STATUS)
|
||||
#define READ_LONG SYMBOLIC(READ_LONG)
|
||||
#define READ_POSITION SYMBOLIC(READ_POSITION)
|
||||
#define READ_REVERSE SYMBOLIC(READ_REVERSE)
|
||||
#define READ_TOC SYMBOLIC(READ_TOC)
|
||||
#define READ_10 READ_10
|
||||
#define READ_12 READ_12
|
||||
#define READ_6 READ_6
|
||||
#define READ_BLOCK_LIMITS READ_BLOCK_LIMITS
|
||||
#define READ_BUFFER READ_BUFFER
|
||||
#define READ_CAPACITY READ_CAPACITY
|
||||
#define READ_DEFECT_DATA READ_DEFECT_DATA
|
||||
#define READ_ELEMENT_STATUS READ_ELEMENT_STATUS
|
||||
#define READ_LONG READ_LONG
|
||||
#define READ_POSITION READ_POSITION
|
||||
#define READ_REVERSE READ_REVERSE
|
||||
#define READ_TOC READ_TOC
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -1,34 +1,44 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_REBOOT_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_REBOOT_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const int RB_AUTOBOOT;
|
||||
extern const int RB_POWER_OFF;
|
||||
extern const int RB_POWERDOWN;
|
||||
extern const int RB_POWEROFF;
|
||||
extern const int RB_HALT_SYSTEM;
|
||||
extern const int RB_HALT;
|
||||
extern const int RB_SW_SUSPEND;
|
||||
extern const int RB_KEXEC;
|
||||
extern const int RB_ENABLE_CAD;
|
||||
extern const int RB_DISABLE_CAD;
|
||||
extern const int RB_NOSYNC;
|
||||
extern const unsigned RB_AUTOBOOT;
|
||||
extern const unsigned RB_POWER_OFF;
|
||||
extern const unsigned RB_POWERDOWN;
|
||||
extern const unsigned RB_POWEROFF;
|
||||
extern const unsigned RB_HALT_SYSTEM;
|
||||
extern const unsigned RB_HALT;
|
||||
extern const unsigned RB_SW_SUSPEND;
|
||||
extern const unsigned RB_KEXEC;
|
||||
extern const unsigned RB_ENABLE_CAD;
|
||||
extern const unsigned RB_DISABLE_CAD;
|
||||
extern const unsigned RB_NOSYNC;
|
||||
|
||||
#define RB_AUTOBOOT RB_AUTOBOOT
|
||||
#define RB_POWER_OFF RB_POWER_OFF
|
||||
#define RB_POWERDOWN RB_POWERDOWN
|
||||
#define RB_POWEROFF RB_POWEROFF
|
||||
#define RB_HALT_SYSTEM RB_HALT_SYSTEM
|
||||
#define RB_HALT RB_HALT
|
||||
#define RB_SW_SUSPEND RB_SW_SUSPEND
|
||||
#define RB_KEXEC RB_KEXEC
|
||||
#define RB_ENABLE_CAD RB_ENABLE_CAD
|
||||
#define RB_DISABLE_CAD RB_DISABLE_CAD
|
||||
#define RB_NOSYNC RB_NOSYNC
|
||||
|
||||
#define __tmpcosmo_RB_AUTOBOOT -326947148
|
||||
#define __tmpcosmo_RB_POWER_OFF 1173603271
|
||||
#define __tmpcosmo_RB_POWERDOWN -854151485
|
||||
#define __tmpcosmo_RB_POWEROFF 797029085
|
||||
#define __tmpcosmo_RB_HALT_SYSTEM -1641421503
|
||||
#define __tmpcosmo_RB_HALT -58428756
|
||||
#define __tmpcosmo_RB_SW_SUSPEND -1103940752
|
||||
#define __tmpcosmo_RB_KEXEC 1368646314
|
||||
#define __tmpcosmo_RB_ENABLE_CAD -749928233
|
||||
#define __tmpcosmo_RB_DISABLE_CAD -1190084958
|
||||
#define __tmpcosmo_RB_NOSYNC 1774609899
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define RB_AUTOBOOT SYMBOLIC(RB_AUTOBOOT)
|
||||
#define RB_POWER_OFF SYMBOLIC(RB_POWER_OFF)
|
||||
#define RB_POWERDOWN SYMBOLIC(RB_POWERDOWN)
|
||||
#define RB_POWEROFF SYMBOLIC(RB_POWEROFF)
|
||||
#define RB_HALT_SYSTEM SYMBOLIC(RB_HALT_SYSTEM)
|
||||
#define RB_HALT SYMBOLIC(RB_HALT)
|
||||
#define RB_SW_SUSPEND SYMBOLIC(RB_SW_SUSPEND)
|
||||
#define RB_KEXEC SYMBOLIC(RB_KEXEC)
|
||||
#define RB_ENABLE_CAD SYMBOLIC(RB_ENABLE_CAD)
|
||||
#define RB_DISABLE_CAD SYMBOLIC(RB_DISABLE_CAD)
|
||||
#define RB_NOSYNC SYMBOLIC(RB_NOSYNC)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_REBOOT_H_ */
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIM_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIM_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define RLIM_INFINITY SYMBOLIC(RLIM_INFINITY)
|
||||
#define RLIM_NLIMITS SYMBOLIC(RLIM_NLIMITS)
|
||||
#define RLIM_SAVED_CUR SYMBOLIC(RLIM_SAVED_CUR)
|
||||
#define RLIM_SAVED_MAX SYMBOLIC(RLIM_SAVED_MAX)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -15,6 +8,16 @@ extern const uint64_t RLIM_NLIMITS;
|
|||
extern const uint64_t RLIM_SAVED_CUR;
|
||||
extern const uint64_t RLIM_SAVED_MAX;
|
||||
|
||||
#define RLIM_INFINITY RLIM_INFINITY
|
||||
#define RLIM_NLIMITS RLIM_NLIMITS
|
||||
#define RLIM_SAVED_CUR RLIM_SAVED_CUR
|
||||
#define RLIM_SAVED_MAX RLIM_SAVED_MAX
|
||||
|
||||
#define __tmpcosmo_RLIM_INFINITY 413930584
|
||||
#define __tmpcosmo_RLIM_NLIMITS -1892777248
|
||||
#define __tmpcosmo_RLIM_SAVED_CUR -904980492
|
||||
#define __tmpcosmo_RLIM_SAVED_MAX -380354156
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIM_H_ */
|
||||
|
|
|
@ -24,6 +24,48 @@ extern const unsigned RLIMIT_STACK;
|
|||
extern const unsigned RLIMIT_SWAP;
|
||||
extern const unsigned RLIMIT_VMEM;
|
||||
|
||||
#define RLIMIT_AS RLIMIT_AS
|
||||
#define RLIMIT_CORE RLIMIT_CORE
|
||||
#define RLIMIT_CPU RLIMIT_CPU
|
||||
#define RLIMIT_DATA RLIMIT_DATA
|
||||
#define RLIMIT_FSIZE RLIMIT_FSIZE
|
||||
#define RLIMIT_LOCKS RLIMIT_LOCKS
|
||||
#define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
|
||||
#define RLIMIT_MSGQUEUE RLIMIT_MSGQUEUE
|
||||
#define RLIMIT_NICE RLIMIT_NICE
|
||||
#define RLIMIT_NOFILE RLIMIT_NOFILE
|
||||
#define RLIMIT_NPROC RLIMIT_NPROC
|
||||
#define RLIMIT_NPTS RLIMIT_NPTS
|
||||
#define RLIMIT_RSS RLIMIT_RSS
|
||||
#define RLIMIT_RTPRIO RLIMIT_RTPRIO
|
||||
#define RLIMIT_RTTIME RLIMIT_RTTIME
|
||||
#define RLIMIT_SBSIZE RLIMIT_SBSIZE
|
||||
#define RLIMIT_SIGPENDING RLIMIT_SIGPENDING
|
||||
#define RLIMIT_STACK RLIMIT_STACK
|
||||
#define RLIMIT_SWAP RLIMIT_SWAP
|
||||
#define RLIMIT_VMEM RLIMIT_VMEM
|
||||
|
||||
#define __tmpcosmo_RLIMIT_AS 1377206941
|
||||
#define __tmpcosmo_RLIMIT_CORE -671407877
|
||||
#define __tmpcosmo_RLIMIT_CPU 628127131
|
||||
#define __tmpcosmo_RLIMIT_DATA -808550207
|
||||
#define __tmpcosmo_RLIMIT_FSIZE -961275389
|
||||
#define __tmpcosmo_RLIMIT_LOCKS -606515345
|
||||
#define __tmpcosmo_RLIMIT_MEMLOCK -638383635
|
||||
#define __tmpcosmo_RLIMIT_MSGQUEUE -200712823
|
||||
#define __tmpcosmo_RLIMIT_NICE -1263433607
|
||||
#define __tmpcosmo_RLIMIT_NOFILE -974136242
|
||||
#define __tmpcosmo_RLIMIT_NPROC 1234964928
|
||||
#define __tmpcosmo_RLIMIT_NPTS 1890977319
|
||||
#define __tmpcosmo_RLIMIT_RSS 1507822220
|
||||
#define __tmpcosmo_RLIMIT_RTPRIO 343598136
|
||||
#define __tmpcosmo_RLIMIT_RTTIME 1950976769
|
||||
#define __tmpcosmo_RLIMIT_SBSIZE 914114957
|
||||
#define __tmpcosmo_RLIMIT_SIGPENDING 1652182385
|
||||
#define __tmpcosmo_RLIMIT_STACK 1324847124
|
||||
#define __tmpcosmo_RLIMIT_SWAP 1231678046
|
||||
#define __tmpcosmo_RLIMIT_VMEM 119083983
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIMIT_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_RUSAGE_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_RUSAGE_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -9,12 +8,16 @@ extern const int RUSAGE_CHILDREN;
|
|||
extern const int RUSAGE_SELF;
|
||||
extern const int RUSAGE_THREAD;
|
||||
|
||||
#define RUSAGE_SELF 0
|
||||
|
||||
#define RUSAGE_BOTH RUSAGE_BOTH
|
||||
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
||||
#define RUSAGE_THREAD RUSAGE_THREAD
|
||||
|
||||
#define __tmpcosmo_RUSAGE_BOTH -1832733122
|
||||
#define __tmpcosmo_RUSAGE_CHILDREN 1527420554
|
||||
#define __tmpcosmo_RUSAGE_THREAD 1172956153
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define RUSAGE_BOTH SYMBOLIC(RUSAGE_BOTH)
|
||||
#define RUSAGE_CHILDREN SYMBOLIC(RUSAGE_CHILDREN)
|
||||
#define RUSAGE_SELF LITERALLY(0)
|
||||
#define RUSAGE_THREAD SYMBOLIC(RUSAGE_THREAD)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_RUSAGE_H_ */
|
||||
|
|
|
@ -1,17 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SA_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SA_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define SA_NOCLDSTOP SYMBOLIC(SA_NOCLDSTOP)
|
||||
#define SA_NOCLDWAIT SYMBOLIC(SA_NOCLDWAIT)
|
||||
#define SA_NODEFER SYMBOLIC(SA_NODEFER)
|
||||
#define SA_NOMASK SYMBOLIC(SA_NOMASK)
|
||||
#define SA_ONESHOT SYMBOLIC(SA_ONESHOT)
|
||||
#define SA_ONSTACK SYMBOLIC(SA_ONSTACK)
|
||||
#define SA_RESETHAND SYMBOLIC(SA_RESETHAND)
|
||||
#define SA_RESTART SYMBOLIC(SA_RESTART)
|
||||
#define SA_SIGINFO SYMBOLIC(SA_SIGINFO)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -25,6 +13,26 @@ extern const uint64_t SA_RESETHAND;
|
|||
extern const uint64_t SA_RESTART;
|
||||
extern const uint64_t SA_SIGINFO;
|
||||
|
||||
#define SA_NOCLDSTOP SA_NOCLDSTOP
|
||||
#define SA_NOCLDWAIT SA_NOCLDWAIT
|
||||
#define SA_NODEFER SA_NODEFER
|
||||
#define SA_NOMASK SA_NOMASK
|
||||
#define SA_ONESHOT SA_ONESHOT
|
||||
#define SA_ONSTACK SA_ONSTACK
|
||||
#define SA_RESETHAND SA_RESETHAND
|
||||
#define SA_RESTART SA_RESTART
|
||||
#define SA_SIGINFO SA_SIGINFO
|
||||
|
||||
#define __tmpcosmo_SA_NOCLDSTOP -1925907945
|
||||
#define __tmpcosmo_SA_NOCLDWAIT 1554343779
|
||||
#define __tmpcosmo_SA_NODEFER -1448019280
|
||||
#define __tmpcosmo_SA_NOMASK 906478413
|
||||
#define __tmpcosmo_SA_ONESHOT -1992944743
|
||||
#define __tmpcosmo_SA_ONSTACK -1798112676
|
||||
#define __tmpcosmo_SA_RESETHAND -1800631408
|
||||
#define __tmpcosmo_SA_RESTART 724955366
|
||||
#define __tmpcosmo_SA_SIGINFO -1160286589
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SA_H_ */
|
||||
|
|
|
@ -1,16 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SCHED_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SCHED_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define SCHED_BATCH SYMBOLIC(SCHED_BATCH)
|
||||
#define SCHED_DEADLINE SYMBOLIC(SCHED_DEADLINE)
|
||||
#define SCHED_FIFO SYMBOLIC(SCHED_FIFO)
|
||||
#define SCHED_IDLE SYMBOLIC(SCHED_IDLE)
|
||||
#define SCHED_NORMAL SCHED_OTHER
|
||||
#define SCHED_OTHER SYMBOLIC(SCHED_OTHER)
|
||||
#define SCHED_RESET_ON_FORK SYMBOLIC(SCHED_RESET_ON_FORK)
|
||||
#define SCHED_RR SYMBOLIC(SCHED_RR)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -22,6 +11,24 @@ extern const int SCHED_OTHER;
|
|||
extern const int SCHED_RESET_ON_FORK;
|
||||
extern const int SCHED_RR;
|
||||
|
||||
#define SCHED_BATCH SCHED_BATCH
|
||||
#define SCHED_DEADLINE SCHED_DEADLINE
|
||||
#define SCHED_FIFO SCHED_FIFO
|
||||
#define SCHED_IDLE SCHED_IDLE
|
||||
#define SCHED_NORMAL SCHED_OTHER
|
||||
#define SCHED_OTHER SCHED_OTHER
|
||||
#define SCHED_RESET_ON_FORK SCHED_RESET_ON_FORK
|
||||
#define SCHED_RR SCHED_RR
|
||||
|
||||
#define __tmpcosmo_SCHED_BATCH -394281437
|
||||
#define __tmpcosmo_SCHED_DEADLINE 2088435783
|
||||
#define __tmpcosmo_SCHED_FIFO -1450130825
|
||||
#define __tmpcosmo_SCHED_IDLE -501938008
|
||||
#define __tmpcosmo_SCHED_NORMAL -679334447
|
||||
#define __tmpcosmo_SCHED_OTHER -1797889952
|
||||
#define __tmpcosmo_SCHED_RESET_ON_FORK -1017505393
|
||||
#define __tmpcosmo_SCHED_RR -1204010265
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SCHED_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SCM_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SCM_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -13,11 +12,17 @@ extern const int SCM_WIFI_STATUS;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SCM_RIGHTS LITERALLY(1)
|
||||
#define SCM_TIMESTAMP SYMBOLIC(SCM_TIMESTAMP)
|
||||
#define SCM_CREDENTIALS SYMBOLIC(SCM_CREDENTIALS)
|
||||
#define SCM_TIMESTAMPING SYMBOLIC(SCM_TIMESTAMPING)
|
||||
#define SCM_TIMESTAMPNS SYMBOLIC(SCM_TIMESTAMPNS)
|
||||
#define SCM_WIFI_STATUS SYMBOLIC(SCM_WIFI_STATUS)
|
||||
#define SCM_RIGHTS 1
|
||||
#define SCM_TIMESTAMP SCM_TIMESTAMP
|
||||
#define SCM_CREDENTIALS SCM_CREDENTIALS
|
||||
#define SCM_TIMESTAMPING SCM_TIMESTAMPING
|
||||
#define SCM_TIMESTAMPNS SCM_TIMESTAMPNS
|
||||
#define SCM_WIFI_STATUS SCM_WIFI_STATUS
|
||||
|
||||
#define __tmpcosmo_SCM_TIMESTAMP -1645076061
|
||||
#define __tmpcosmo_SCM_CREDENTIALS 972207148
|
||||
#define __tmpcosmo_SCM_TIMESTAMPING 2083109223
|
||||
#define __tmpcosmo_SCM_TIMESTAMPNS 1344216429
|
||||
#define __tmpcosmo_SCM_WIFI_STATUS -1069868696
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SCM_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SEEK_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SEEK_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -9,8 +8,4 @@ extern const int SEEK_HOLE;
|
|||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SEEK_DATA SYMBOLIC(SEEK_DATA)
|
||||
#define SEEK_HOLE SYMBOLIC(SEEK_HOLE)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SEEK_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SF_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SF_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -15,11 +14,14 @@ extern const int SF_MNOWAIT;
|
|||
extern const int SF_NODISKIO;
|
||||
extern const int SF_SYNC;
|
||||
|
||||
#define SF_MNOWAIT SF_MNOWAIT
|
||||
#define SF_NODISKIO SF_NODISKIO
|
||||
#define SF_SYNC SF_SYNC
|
||||
|
||||
#define __tmpcosmo_SF_MNOWAIT 94253741
|
||||
#define __tmpcosmo_SF_NODISKIO -1853614906
|
||||
#define __tmpcosmo_SF_SYNC 53385170
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SF_MNOWAIT SYMBOLIC(SF_MNOWAIT)
|
||||
#define SF_NODISKIO SYMBOLIC(SF_NODISKIO)
|
||||
#define SF_SYNC SYMBOLIC(SF_SYNC)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SF_H_ */
|
||||
|
|
|
@ -1,22 +1,21 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define SHM_ANON SYMBOLIC(SHM_ANON)
|
||||
#define SHM_DEST SYMBOLIC(SHM_DEST)
|
||||
#define SHM_EXEC SYMBOLIC(SHM_EXEC)
|
||||
#define SHM_HUGETLB SYMBOLIC(SHM_HUGETLB)
|
||||
#define SHM_INFO SYMBOLIC(SHM_INFO)
|
||||
#define SHM_LOCK SYMBOLIC(SHM_LOCK)
|
||||
#define SHM_LOCKED SYMBOLIC(SHM_LOCKED)
|
||||
#define SHM_NORESERVE SYMBOLIC(SHM_NORESERVE)
|
||||
#define SHM_R SYMBOLIC(SHM_R)
|
||||
#define SHM_RDONLY SYMBOLIC(SHM_RDONLY)
|
||||
#define SHM_REMAP SYMBOLIC(SHM_REMAP)
|
||||
#define SHM_RND SYMBOLIC(SHM_RND)
|
||||
#define SHM_STAT SYMBOLIC(SHM_STAT)
|
||||
#define SHM_UNLOCK SYMBOLIC(SHM_UNLOCK)
|
||||
#define SHM_W SYMBOLIC(SHM_W)
|
||||
#define SHM_ANON SHM_ANON
|
||||
#define SHM_DEST SHM_DEST
|
||||
#define SHM_EXEC SHM_EXEC
|
||||
#define SHM_HUGETLB SHM_HUGETLB
|
||||
#define SHM_INFO SHM_INFO
|
||||
#define SHM_LOCK SHM_LOCK
|
||||
#define SHM_LOCKED SHM_LOCKED
|
||||
#define SHM_NORESERVE SHM_NORESERVE
|
||||
#define SHM_R SHM_R
|
||||
#define SHM_RDONLY SHM_RDONLY
|
||||
#define SHM_REMAP SHM_REMAP
|
||||
#define SHM_RND SHM_RND
|
||||
#define SHM_STAT SHM_STAT
|
||||
#define SHM_UNLOCK SHM_UNLOCK
|
||||
#define SHM_W SHM_W
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SHUT_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SHUT_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -8,11 +7,10 @@ extern const int SHUT_RD;
|
|||
extern const int SHUT_RDWR;
|
||||
extern const int SHUT_WR;
|
||||
|
||||
#define SHUT_RD 0
|
||||
#define SHUT_RDWR 2
|
||||
#define SHUT_WR 1
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SHUT_RD LITERALLY(0)
|
||||
#define SHUT_RDWR LITERALLY(2)
|
||||
#define SHUT_WR LITERALLY(1)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SHUT_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SICODE_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SICODE_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -55,59 +54,86 @@ extern const int32_t POLL_HUP;
|
|||
extern const int32_t SYS_SECCOMP;
|
||||
extern const int32_t SYS_USER_DISPATCH;
|
||||
|
||||
#define CLD_EXITED 1
|
||||
#define CLD_KILLED 2
|
||||
#define CLD_DUMPED 3
|
||||
#define CLD_TRAPPED 4
|
||||
#define CLD_STOPPED 5
|
||||
#define CLD_CONTINUED 6
|
||||
#define TRAP_BRKPT 1
|
||||
#define TRAP_TRACE 2
|
||||
#define SEGV_MAPERR 1
|
||||
#define SEGV_ACCERR 2
|
||||
#define ILL_ILLOPC 1
|
||||
#define ILL_PRVREG 6
|
||||
#define ILL_COPROC 7
|
||||
#define ILL_BADSTK 8
|
||||
#define BUS_ADRALN 1
|
||||
#define BUS_ADRERR 2
|
||||
#define BUS_OBJERR 3
|
||||
#define POLL_IN 1
|
||||
#define POLL_OUT 2
|
||||
#define POLL_MSG 3
|
||||
#define POLL_ERR 4
|
||||
#define POLL_PRI 5
|
||||
#define POLL_HUP 6
|
||||
|
||||
#define SI_USER SI_USER
|
||||
#define SI_QUEUE SI_QUEUE
|
||||
#define SI_TIMER SI_TIMER
|
||||
#define SI_MESGQ SI_MESGQ
|
||||
#define SI_ASYNCIO SI_ASYNCIO
|
||||
#define SI_TKILL SI_TKILL
|
||||
#define SI_ASYNCNL SI_ASYNCNL
|
||||
#define SI_KERNEL SI_KERNEL
|
||||
#define SI_NOINFO SI_NOINFO
|
||||
#define SEGV_PKUERR SEGV_PKUERR
|
||||
#define FPE_INTDIV FPE_INTDIV
|
||||
#define FPE_INTOVF FPE_INTOVF
|
||||
#define FPE_FLTDIV FPE_FLTDIV
|
||||
#define FPE_FLTOVF FPE_FLTOVF
|
||||
#define FPE_FLTUND FPE_FLTUND
|
||||
#define FPE_FLTRES FPE_FLTRES
|
||||
#define FPE_FLTINV FPE_FLTINV
|
||||
#define FPE_FLTSUB FPE_FLTSUB
|
||||
#define ILL_ILLOPN ILL_ILLOPN
|
||||
#define ILL_ILLADR ILL_ILLADR
|
||||
#define ILL_ILLTRP ILL_ILLTRP
|
||||
#define ILL_PRVOPC ILL_PRVOPC
|
||||
#define BUS_OOMERR BUS_OOMERR
|
||||
#define BUS_MCEERR_AR BUS_MCEERR_AR
|
||||
#define BUS_MCEERR_AO BUS_MCEERR_AO
|
||||
#define SYS_SECCOMP SYS_SECCOMP
|
||||
#define SYS_USER_DISPATCH SYS_USER_DISPATCH
|
||||
|
||||
#define __tmpcosmo_SI_USER -1926503818
|
||||
#define __tmpcosmo_SI_QUEUE -228293765
|
||||
#define __tmpcosmo_SI_TIMER 1203180061
|
||||
#define __tmpcosmo_SI_MESGQ -1084511784
|
||||
#define __tmpcosmo_SI_ASYNCIO 1487411924
|
||||
#define __tmpcosmo_SI_TKILL 1634610739
|
||||
#define __tmpcosmo_SI_ASYNCNL -1530073305
|
||||
#define __tmpcosmo_SI_KERNEL -267010337
|
||||
#define __tmpcosmo_SI_NOINFO 63879642
|
||||
#define __tmpcosmo_SEGV_PKUERR -1319250782
|
||||
#define __tmpcosmo_FPE_INTDIV 1306644255
|
||||
#define __tmpcosmo_FPE_INTOVF 898517272
|
||||
#define __tmpcosmo_FPE_FLTDIV -1040603884
|
||||
#define __tmpcosmo_FPE_FLTOVF 1518847196
|
||||
#define __tmpcosmo_FPE_FLTUND -554070357
|
||||
#define __tmpcosmo_FPE_FLTRES 1214968898
|
||||
#define __tmpcosmo_FPE_FLTINV -545262120
|
||||
#define __tmpcosmo_FPE_FLTSUB -261967855
|
||||
#define __tmpcosmo_ILL_ILLOPN 489604315
|
||||
#define __tmpcosmo_ILL_ILLADR -493364773
|
||||
#define __tmpcosmo_ILL_ILLTRP -419421824
|
||||
#define __tmpcosmo_ILL_PRVOPC 1693076639
|
||||
#define __tmpcosmo_BUS_OOMERR -970295856
|
||||
#define __tmpcosmo_BUS_MCEERR_AR 1943789513
|
||||
#define __tmpcosmo_BUS_MCEERR_AO -1385003784
|
||||
#define __tmpcosmo_SYS_SECCOMP 983549433
|
||||
#define __tmpcosmo_SYS_USER_DISPATCH 570515398
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define CLD_EXITED LITERALLY(1)
|
||||
#define CLD_KILLED LITERALLY(2)
|
||||
#define CLD_DUMPED LITERALLY(3)
|
||||
#define CLD_TRAPPED LITERALLY(4)
|
||||
#define CLD_STOPPED LITERALLY(5)
|
||||
#define CLD_CONTINUED LITERALLY(6)
|
||||
#define TRAP_BRKPT LITERALLY(1)
|
||||
#define TRAP_TRACE LITERALLY(2)
|
||||
#define SEGV_MAPERR LITERALLY(1)
|
||||
#define SEGV_ACCERR LITERALLY(2)
|
||||
#define ILL_ILLOPC LITERALLY(1)
|
||||
#define ILL_PRVREG LITERALLY(6)
|
||||
#define ILL_COPROC LITERALLY(7)
|
||||
#define ILL_BADSTK LITERALLY(8)
|
||||
#define BUS_ADRALN LITERALLY(1)
|
||||
#define BUS_ADRERR LITERALLY(2)
|
||||
#define BUS_OBJERR LITERALLY(3)
|
||||
#define POLL_IN LITERALLY(1)
|
||||
#define POLL_OUT LITERALLY(2)
|
||||
#define POLL_MSG LITERALLY(3)
|
||||
#define POLL_ERR LITERALLY(4)
|
||||
#define POLL_PRI LITERALLY(5)
|
||||
#define POLL_HUP LITERALLY(6)
|
||||
|
||||
#define SI_USER SYMBOLIC(SI_USER)
|
||||
#define SI_QUEUE SYMBOLIC(SI_QUEUE)
|
||||
#define SI_TIMER SYMBOLIC(SI_TIMER)
|
||||
#define SI_MESGQ SYMBOLIC(SI_MESGQ)
|
||||
#define SI_ASYNCIO SYMBOLIC(SI_ASYNCIO)
|
||||
#define SI_TKILL SYMBOLIC(SI_TKILL)
|
||||
#define SI_ASYNCNL SYMBOLIC(SI_ASYNCNL)
|
||||
#define SI_KERNEL SYMBOLIC(SI_KERNEL)
|
||||
#define SI_NOINFO SYMBOLIC(SI_NOINFO)
|
||||
#define SEGV_PKUERR SYMBOLIC(SEGV_PKUERR)
|
||||
#define FPE_INTDIV SYMBOLIC(FPE_INTDIV)
|
||||
#define FPE_INTOVF SYMBOLIC(FPE_INTOVF)
|
||||
#define FPE_FLTDIV SYMBOLIC(FPE_FLTDIV)
|
||||
#define FPE_FLTOVF SYMBOLIC(FPE_FLTOVF)
|
||||
#define FPE_FLTUND SYMBOLIC(FPE_FLTUND)
|
||||
#define FPE_FLTRES SYMBOLIC(FPE_FLTRES)
|
||||
#define FPE_FLTINV SYMBOLIC(FPE_FLTINV)
|
||||
#define FPE_FLTSUB SYMBOLIC(FPE_FLTSUB)
|
||||
#define ILL_ILLOPN SYMBOLIC(ILL_ILLOPN)
|
||||
#define ILL_ILLADR SYMBOLIC(ILL_ILLADR)
|
||||
#define ILL_ILLTRP SYMBOLIC(ILL_ILLTRP)
|
||||
#define ILL_PRVOPC SYMBOLIC(ILL_PRVOPC)
|
||||
#define BUS_OOMERR SYMBOLIC(BUS_OOMERR)
|
||||
#define BUS_MCEERR_AR SYMBOLIC(BUS_MCEERR_AR)
|
||||
#define BUS_MCEERR_AO SYMBOLIC(BUS_MCEERR_AO)
|
||||
#define SYS_SECCOMP SYMBOLIC(SYS_SECCOMP)
|
||||
#define SYS_USER_DISPATCH SYMBOLIC(SYS_USER_DISPATCH)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SICODE_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SIG_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SIG_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -51,49 +50,73 @@ extern const int SIG_UNBLOCK;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SIGABRT LITERALLY(6)
|
||||
#define SIGALRM LITERALLY(14)
|
||||
#define SIGFPE LITERALLY(8)
|
||||
#define SIGHUP LITERALLY(1)
|
||||
#define SIGILL LITERALLY(4)
|
||||
#define SIGINT LITERALLY(2)
|
||||
#define SIGIOT LITERALLY(6)
|
||||
#define SIGKILL LITERALLY(9)
|
||||
#define SIGPIPE LITERALLY(13)
|
||||
#define SIGPROF LITERALLY(27)
|
||||
#define SIGQUIT LITERALLY(3)
|
||||
#define SIGSEGV LITERALLY(11)
|
||||
#define SIGTERM LITERALLY(15)
|
||||
#define SIGTRAP LITERALLY(5)
|
||||
#define SIGTTIN LITERALLY(21)
|
||||
#define SIGTTOU LITERALLY(22)
|
||||
#define SIGVTALRM LITERALLY(26)
|
||||
#define SIGWINCH LITERALLY(28)
|
||||
#define SIGXCPU LITERALLY(24)
|
||||
#define SIGXFSZ LITERALLY(25)
|
||||
#define SIGABRT 6
|
||||
#define SIGALRM 14
|
||||
#define SIGFPE 8
|
||||
#define SIGHUP 1
|
||||
#define SIGILL 4
|
||||
#define SIGINT 2
|
||||
#define SIGIOT 6
|
||||
#define SIGKILL 9
|
||||
#define SIGPIPE 13
|
||||
#define SIGPROF 27
|
||||
#define SIGQUIT 3
|
||||
#define SIGSEGV 11
|
||||
#define SIGTERM 15
|
||||
#define SIGTRAP 5
|
||||
#define SIGTTIN 21
|
||||
#define SIGTTOU 22
|
||||
#define SIGVTALRM 26
|
||||
#define SIGWINCH 28
|
||||
#define SIGXCPU 24
|
||||
#define SIGXFSZ 25
|
||||
|
||||
#define SIGBUS SYMBOLIC(SIGBUS)
|
||||
#define SIGTHR SYMBOLIC(SIGTHR)
|
||||
#define SIGCHLD SYMBOLIC(SIGCHLD)
|
||||
#define SIGCONT SYMBOLIC(SIGCONT)
|
||||
#define SIGEMT SYMBOLIC(SIGEMT)
|
||||
#define SIGINFO SYMBOLIC(SIGINFO)
|
||||
#define SIGIO SYMBOLIC(SIGIO)
|
||||
#define SIGPOLL SYMBOLIC(SIGPOLL)
|
||||
#define SIGPWR SYMBOLIC(SIGPWR)
|
||||
#define SIGRTMAX SYMBOLIC(SIGRTMAX)
|
||||
#define SIGRTMIN SYMBOLIC(SIGRTMIN)
|
||||
#define SIGSTKFLT SYMBOLIC(SIGSTKFLT)
|
||||
#define SIGSTOP SYMBOLIC(SIGSTOP)
|
||||
#define SIGSYS SYMBOLIC(SIGSYS)
|
||||
#define SIGTSTP SYMBOLIC(SIGTSTP)
|
||||
#define SIGUNUSED SYMBOLIC(SIGUNUSED)
|
||||
#define SIGURG SYMBOLIC(SIGURG)
|
||||
#define SIGUSR1 SYMBOLIC(SIGUSR1)
|
||||
#define SIGUSR2 SYMBOLIC(SIGUSR2)
|
||||
#define SIGBUS SIGBUS
|
||||
#define SIGTHR SIGTHR
|
||||
#define SIGCHLD SIGCHLD
|
||||
#define SIGCONT SIGCONT
|
||||
#define SIGEMT SIGEMT
|
||||
#define SIGINFO SIGINFO
|
||||
#define SIGIO SIGIO
|
||||
#define SIGPOLL SIGPOLL
|
||||
#define SIGPWR SIGPWR
|
||||
#define SIGRTMAX SIGRTMAX
|
||||
#define SIGRTMIN SIGRTMIN
|
||||
#define SIGSTKFLT SIGSTKFLT
|
||||
#define SIGSTOP SIGSTOP
|
||||
#define SIGSYS SIGSYS
|
||||
#define SIGTSTP SIGTSTP
|
||||
#define SIGUNUSED SIGUNUSED
|
||||
#define SIGURG SIGURG
|
||||
#define SIGUSR1 SIGUSR1
|
||||
#define SIGUSR2 SIGUSR2
|
||||
|
||||
#define SIG_BLOCK SYMBOLIC(SIG_BLOCK)
|
||||
#define SIG_SETMASK SYMBOLIC(SIG_SETMASK)
|
||||
#define SIG_UNBLOCK SYMBOLIC(SIG_UNBLOCK)
|
||||
#define SIG_BLOCK SIG_BLOCK
|
||||
#define SIG_SETMASK SIG_SETMASK
|
||||
#define SIG_UNBLOCK SIG_UNBLOCK
|
||||
|
||||
#define __tmpcosmo_SIGBUS -15824132
|
||||
#define __tmpcosmo_SIGCHLD -15824036
|
||||
#define __tmpcosmo_SIGCONT -15823836
|
||||
#define __tmpcosmo_SIGEMT -15823972
|
||||
#define __tmpcosmo_SIGINFO -15824086
|
||||
#define __tmpcosmo_SIGIO -15823912
|
||||
#define __tmpcosmo_SIGPOLL -15823854
|
||||
#define __tmpcosmo_SIGPWR -15824114
|
||||
#define __tmpcosmo_SIGRTMAX -15824040
|
||||
#define __tmpcosmo_SIGRTMIN -15824134
|
||||
#define __tmpcosmo_SIGSTKFLT -15823934
|
||||
#define __tmpcosmo_SIGSTOP -15824158
|
||||
#define __tmpcosmo_SIGSYS -15823922
|
||||
#define __tmpcosmo_SIGTHR -15823902
|
||||
#define __tmpcosmo_SIGTSTP -15823988
|
||||
#define __tmpcosmo_SIGUNUSED -15823970
|
||||
#define __tmpcosmo_SIGURG -15823952
|
||||
#define __tmpcosmo_SIGUSR1 -15824018
|
||||
#define __tmpcosmo_SIGUSR2 -15823998
|
||||
|
||||
#define __tmpcosmo_SIG_BLOCK -15823800
|
||||
#define __tmpcosmo_SIG_SETMASK -15824090
|
||||
#define __tmpcosmo_SIG_UNBLOCK -15824078
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SIG_H_ */
|
||||
|
|
|
@ -1,67 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SIO_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SIO_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define SIOCADDDLCI SYMBOLIC(SIOCADDDLCI)
|
||||
#define SIOCADDMULTI SYMBOLIC(SIOCADDMULTI)
|
||||
#define SIOCADDRT SYMBOLIC(SIOCADDRT)
|
||||
#define SIOCATMARK SYMBOLIC(SIOCATMARK)
|
||||
#define SIOCDARP SYMBOLIC(SIOCDARP)
|
||||
#define SIOCDELDLCI SYMBOLIC(SIOCDELDLCI)
|
||||
#define SIOCDELMULTI SYMBOLIC(SIOCDELMULTI)
|
||||
#define SIOCDELRT SYMBOLIC(SIOCDELRT)
|
||||
#define SIOCDEVPRIVATE SYMBOLIC(SIOCDEVPRIVATE)
|
||||
#define SIOCDIFADDR SYMBOLIC(SIOCDIFADDR)
|
||||
#define SIOCDRARP SYMBOLIC(SIOCDRARP)
|
||||
#define SIOCGARP SYMBOLIC(SIOCGARP)
|
||||
#define SIOCGIFADDR SYMBOLIC(SIOCGIFADDR)
|
||||
#define SIOCGIFBR SYMBOLIC(SIOCGIFBR)
|
||||
#define SIOCGIFBRDADDR SYMBOLIC(SIOCGIFBRDADDR)
|
||||
#define SIOCGIFCONF SYMBOLIC(SIOCGIFCONF)
|
||||
#define SIOCGIFCOUNT SYMBOLIC(SIOCGIFCOUNT)
|
||||
#define SIOCGIFDSTADDR SYMBOLIC(SIOCGIFDSTADDR)
|
||||
#define SIOCGIFENCAP SYMBOLIC(SIOCGIFENCAP)
|
||||
#define SIOCGIFFLAGS SYMBOLIC(SIOCGIFFLAGS)
|
||||
#define SIOCGIFHWADDR SYMBOLIC(SIOCGIFHWADDR)
|
||||
#define SIOCGIFINDEX SYMBOLIC(SIOCGIFINDEX)
|
||||
#define SIOCGIFMAP SYMBOLIC(SIOCGIFMAP)
|
||||
#define SIOCGIFMEM SYMBOLIC(SIOCGIFMEM)
|
||||
#define SIOCGIFMETRIC SYMBOLIC(SIOCGIFMETRIC)
|
||||
#define SIOCGIFMTU SYMBOLIC(SIOCGIFMTU)
|
||||
#define SIOCGIFNAME SYMBOLIC(SIOCGIFNAME)
|
||||
#define SIOCGIFNETMASK SYMBOLIC(SIOCGIFNETMASK)
|
||||
#define SIOCGIFPFLAGS SYMBOLIC(SIOCGIFPFLAGS)
|
||||
#define SIOCGIFSLAVE SYMBOLIC(SIOCGIFSLAVE)
|
||||
#define SIOCGIFTXQLEN SYMBOLIC(SIOCGIFTXQLEN)
|
||||
#define SIOCGPGRP SYMBOLIC(SIOCGPGRP)
|
||||
#define SIOCGRARP SYMBOLIC(SIOCGRARP)
|
||||
#define SIOCGSTAMP SYMBOLIC(SIOCGSTAMP)
|
||||
#define SIOCGSTAMPNS SYMBOLIC(SIOCGSTAMPNS)
|
||||
#define SIOCPROTOPRIVATE SYMBOLIC(SIOCPROTOPRIVATE)
|
||||
#define SIOCRTMSG SYMBOLIC(SIOCRTMSG)
|
||||
#define SIOCSARP SYMBOLIC(SIOCSARP)
|
||||
#define SIOCSIFADDR SYMBOLIC(SIOCSIFADDR)
|
||||
#define SIOCSIFBR SYMBOLIC(SIOCSIFBR)
|
||||
#define SIOCSIFBRDADDR SYMBOLIC(SIOCSIFBRDADDR)
|
||||
#define SIOCSIFDSTADDR SYMBOLIC(SIOCSIFDSTADDR)
|
||||
#define SIOCSIFENCAP SYMBOLIC(SIOCSIFENCAP)
|
||||
#define SIOCSIFFLAGS SYMBOLIC(SIOCSIFFLAGS)
|
||||
#define SIOCSIFHWADDR SYMBOLIC(SIOCSIFHWADDR)
|
||||
#define SIOCSIFHWBROADCAST SYMBOLIC(SIOCSIFHWBROADCAST)
|
||||
#define SIOCSIFLINK SYMBOLIC(SIOCSIFLINK)
|
||||
#define SIOCSIFMAP SYMBOLIC(SIOCSIFMAP)
|
||||
#define SIOCSIFMEM SYMBOLIC(SIOCSIFMEM)
|
||||
#define SIOCSIFMETRIC SYMBOLIC(SIOCSIFMETRIC)
|
||||
#define SIOCSIFMTU SYMBOLIC(SIOCSIFMTU)
|
||||
#define SIOCSIFNAME SYMBOLIC(SIOCSIFNAME)
|
||||
#define SIOCSIFNETMASK SYMBOLIC(SIOCSIFNETMASK)
|
||||
#define SIOCSIFPFLAGS SYMBOLIC(SIOCSIFPFLAGS)
|
||||
#define SIOCSIFSLAVE SYMBOLIC(SIOCSIFSLAVE)
|
||||
#define SIOCSIFTXQLEN SYMBOLIC(SIOCSIFTXQLEN)
|
||||
#define SIOCSPGRP SYMBOLIC(SIOCSPGRP)
|
||||
#define SIOCSRARP SYMBOLIC(SIOCSRARP)
|
||||
#define SIOGIFINDEX SYMBOLIC(SIOGIFINDEX)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -125,6 +63,126 @@ extern const uint64_t SIOCSPGRP;
|
|||
extern const uint64_t SIOCSRARP;
|
||||
extern const uint64_t SIOGIFINDEX;
|
||||
|
||||
#define SIOCADDDLCI SIOCADDDLCI
|
||||
#define SIOCADDMULTI SIOCADDMULTI
|
||||
#define SIOCADDRT SIOCADDRT
|
||||
#define SIOCATMARK SIOCATMARK
|
||||
#define SIOCDARP SIOCDARP
|
||||
#define SIOCDELDLCI SIOCDELDLCI
|
||||
#define SIOCDELMULTI SIOCDELMULTI
|
||||
#define SIOCDELRT SIOCDELRT
|
||||
#define SIOCDEVPRIVATE SIOCDEVPRIVATE
|
||||
#define SIOCDIFADDR SIOCDIFADDR
|
||||
#define SIOCDRARP SIOCDRARP
|
||||
#define SIOCGARP SIOCGARP
|
||||
#define SIOCGIFADDR SIOCGIFADDR
|
||||
#define SIOCGIFBR SIOCGIFBR
|
||||
#define SIOCGIFBRDADDR SIOCGIFBRDADDR
|
||||
#define SIOCGIFCONF SIOCGIFCONF
|
||||
#define SIOCGIFCOUNT SIOCGIFCOUNT
|
||||
#define SIOCGIFDSTADDR SIOCGIFDSTADDR
|
||||
#define SIOCGIFENCAP SIOCGIFENCAP
|
||||
#define SIOCGIFFLAGS SIOCGIFFLAGS
|
||||
#define SIOCGIFHWADDR SIOCGIFHWADDR
|
||||
#define SIOCGIFINDEX SIOCGIFINDEX
|
||||
#define SIOCGIFMAP SIOCGIFMAP
|
||||
#define SIOCGIFMEM SIOCGIFMEM
|
||||
#define SIOCGIFMETRIC SIOCGIFMETRIC
|
||||
#define SIOCGIFMTU SIOCGIFMTU
|
||||
#define SIOCGIFNAME SIOCGIFNAME
|
||||
#define SIOCGIFNETMASK SIOCGIFNETMASK
|
||||
#define SIOCGIFPFLAGS SIOCGIFPFLAGS
|
||||
#define SIOCGIFSLAVE SIOCGIFSLAVE
|
||||
#define SIOCGIFTXQLEN SIOCGIFTXQLEN
|
||||
#define SIOCGPGRP SIOCGPGRP
|
||||
#define SIOCGRARP SIOCGRARP
|
||||
#define SIOCGSTAMP SIOCGSTAMP
|
||||
#define SIOCGSTAMPNS SIOCGSTAMPNS
|
||||
#define SIOCPROTOPRIVATE SIOCPROTOPRIVATE
|
||||
#define SIOCRTMSG SIOCRTMSG
|
||||
#define SIOCSARP SIOCSARP
|
||||
#define SIOCSIFADDR SIOCSIFADDR
|
||||
#define SIOCSIFBR SIOCSIFBR
|
||||
#define SIOCSIFBRDADDR SIOCSIFBRDADDR
|
||||
#define SIOCSIFDSTADDR SIOCSIFDSTADDR
|
||||
#define SIOCSIFENCAP SIOCSIFENCAP
|
||||
#define SIOCSIFFLAGS SIOCSIFFLAGS
|
||||
#define SIOCSIFHWADDR SIOCSIFHWADDR
|
||||
#define SIOCSIFHWBROADCAST SIOCSIFHWBROADCAST
|
||||
#define SIOCSIFLINK SIOCSIFLINK
|
||||
#define SIOCSIFMAP SIOCSIFMAP
|
||||
#define SIOCSIFMEM SIOCSIFMEM
|
||||
#define SIOCSIFMETRIC SIOCSIFMETRIC
|
||||
#define SIOCSIFMTU SIOCSIFMTU
|
||||
#define SIOCSIFNAME SIOCSIFNAME
|
||||
#define SIOCSIFNETMASK SIOCSIFNETMASK
|
||||
#define SIOCSIFPFLAGS SIOCSIFPFLAGS
|
||||
#define SIOCSIFSLAVE SIOCSIFSLAVE
|
||||
#define SIOCSIFTXQLEN SIOCSIFTXQLEN
|
||||
#define SIOCSPGRP SIOCSPGRP
|
||||
#define SIOCSRARP SIOCSRARP
|
||||
#define SIOGIFINDEX SIOGIFINDEX
|
||||
|
||||
#define __tmpcosmo_SIOCADDDLCI -302399980
|
||||
#define __tmpcosmo_SIOCADDMULTI -241508129
|
||||
#define __tmpcosmo_SIOCADDRT -1966468807
|
||||
#define __tmpcosmo_SIOCATMARK 2090047872
|
||||
#define __tmpcosmo_SIOCDARP 500998632
|
||||
#define __tmpcosmo_SIOCDELDLCI -1902714796
|
||||
#define __tmpcosmo_SIOCDELMULTI -1463386224
|
||||
#define __tmpcosmo_SIOCDELRT 1022320556
|
||||
#define __tmpcosmo_SIOCDEVPRIVATE -60666997
|
||||
#define __tmpcosmo_SIOCDIFADDR 1566002657
|
||||
#define __tmpcosmo_SIOCDRARP 1846842637
|
||||
#define __tmpcosmo_SIOCGARP -1836460866
|
||||
#define __tmpcosmo_SIOCGIFADDR 1391552614
|
||||
#define __tmpcosmo_SIOCGIFBR -1677174045
|
||||
#define __tmpcosmo_SIOCGIFBRDADDR -427841369
|
||||
#define __tmpcosmo_SIOCGIFCONF 1049413040
|
||||
#define __tmpcosmo_SIOCGIFCOUNT 2030522997
|
||||
#define __tmpcosmo_SIOCGIFDSTADDR -1936137036
|
||||
#define __tmpcosmo_SIOCGIFENCAP 569723560
|
||||
#define __tmpcosmo_SIOCGIFFLAGS 953969575
|
||||
#define __tmpcosmo_SIOCGIFHWADDR 1826446939
|
||||
#define __tmpcosmo_SIOCGIFINDEX 676788651
|
||||
#define __tmpcosmo_SIOCGIFMAP -402430259
|
||||
#define __tmpcosmo_SIOCGIFMEM 1080384634
|
||||
#define __tmpcosmo_SIOCGIFMETRIC -1711572020
|
||||
#define __tmpcosmo_SIOCGIFMTU 1680466237
|
||||
#define __tmpcosmo_SIOCGIFNAME -1345894348
|
||||
#define __tmpcosmo_SIOCGIFNETMASK -496934230
|
||||
#define __tmpcosmo_SIOCGIFPFLAGS -980003252
|
||||
#define __tmpcosmo_SIOCGIFSLAVE 1979814983
|
||||
#define __tmpcosmo_SIOCGIFTXQLEN -539822558
|
||||
#define __tmpcosmo_SIOCGPGRP 291251287
|
||||
#define __tmpcosmo_SIOCGRARP -1469233791
|
||||
#define __tmpcosmo_SIOCGSTAMP -2051228190
|
||||
#define __tmpcosmo_SIOCGSTAMPNS -800810625
|
||||
#define __tmpcosmo_SIOCPROTOPRIVATE -59287791
|
||||
#define __tmpcosmo_SIOCRTMSG -1653362727
|
||||
#define __tmpcosmo_SIOCSARP -1453381361
|
||||
#define __tmpcosmo_SIOCSIFADDR -2115976317
|
||||
#define __tmpcosmo_SIOCSIFBR 748599293
|
||||
#define __tmpcosmo_SIOCSIFBRDADDR -1268459166
|
||||
#define __tmpcosmo_SIOCSIFDSTADDR 92076531
|
||||
#define __tmpcosmo_SIOCSIFENCAP -37300098
|
||||
#define __tmpcosmo_SIOCSIFFLAGS 813103544
|
||||
#define __tmpcosmo_SIOCSIFHWADDR -1351841045
|
||||
#define __tmpcosmo_SIOCSIFHWBROADCAST -668663122
|
||||
#define __tmpcosmo_SIOCSIFLINK -1706385678
|
||||
#define __tmpcosmo_SIOCSIFMAP -186030343
|
||||
#define __tmpcosmo_SIOCSIFMEM -985300611
|
||||
#define __tmpcosmo_SIOCSIFMETRIC -1714941240
|
||||
#define __tmpcosmo_SIOCSIFMTU -1509233635
|
||||
#define __tmpcosmo_SIOCSIFNAME 1451802510
|
||||
#define __tmpcosmo_SIOCSIFNETMASK -1774301296
|
||||
#define __tmpcosmo_SIOCSIFPFLAGS 1203125093
|
||||
#define __tmpcosmo_SIOCSIFSLAVE 859709068
|
||||
#define __tmpcosmo_SIOCSIFTXQLEN 1300761928
|
||||
#define __tmpcosmo_SIOCSPGRP 793321404
|
||||
#define __tmpcosmo_SIOCSRARP -1216626551
|
||||
#define __tmpcosmo_SIOGIFINDEX 375877633
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SIO_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SO_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SO_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -64,70 +63,126 @@ extern const int SO_TYPE;
|
|||
extern const int SO_USELOOPBACK;
|
||||
extern const int SO_WIFI_STATUS;
|
||||
|
||||
#define SO_DEBUG 1
|
||||
|
||||
#define LOCAL_PEERCRED LOCAL_PEERCRED
|
||||
#define SO_ACCEPTCONN SO_ACCEPTCONN
|
||||
#define SO_ATTACH_BPF SO_ATTACH_BPF
|
||||
#define SO_ATTACH_FILTER SO_ATTACH_FILTER
|
||||
#define SO_ATTACH_REUSEPORT_CBPF SO_ATTACH_REUSEPORT_CBPF
|
||||
#define SO_ATTACH_REUSEPORT_EBPF SO_ATTACH_REUSEPORT_EBPF
|
||||
#define SO_BINDTODEVICE SO_BINDTODEVICE
|
||||
#define SO_BPF_EXTENSIONS SO_BPF_EXTENSIONS
|
||||
#define SO_BROADCAST SO_BROADCAST
|
||||
#define SO_BSDCOMPAT SO_BSDCOMPAT
|
||||
#define SO_BUSY_POLL SO_BUSY_POLL
|
||||
#define SO_CNX_ADVICE SO_CNX_ADVICE
|
||||
#define SO_DETACH_BPF SO_DETACH_BPF
|
||||
#define SO_DETACH_FILTER SO_DETACH_FILTER
|
||||
#define SO_DOMAIN SO_DOMAIN
|
||||
#define SO_DONTROUTE SO_DONTROUTE
|
||||
#define SO_ERROR SO_ERROR
|
||||
#define SO_EXCLUSIVEADDRUSE SO_EXCLUSIVEADDRUSE
|
||||
#define SO_GET_FILTER SO_GET_FILTER
|
||||
#define SO_INCOMING_CPU SO_INCOMING_CPU
|
||||
#define SO_KEEPALIVE SO_KEEPALIVE
|
||||
#define SO_LINGER SO_LINGER
|
||||
#define SO_LOCK_FILTER SO_LOCK_FILTER
|
||||
#define SO_MARK SO_MARK
|
||||
#define SO_MAX_PACING_RATE SO_MAX_PACING_RATE
|
||||
#define SO_NOFCS SO_NOFCS
|
||||
#define SO_NO_CHECK SO_NO_CHECK
|
||||
#define SO_OOBINLINE SO_OOBINLINE
|
||||
#define SO_PASSCRED SO_PASSCRED
|
||||
#define SO_PASSSEC SO_PASSSEC
|
||||
#define SO_PEEK_OFF SO_PEEK_OFF
|
||||
#define SO_PEERCRED SO_PEERCRED
|
||||
#define SO_PEERNAME SO_PEERNAME
|
||||
#define SO_PEERSEC SO_PEERSEC
|
||||
#define SO_PRIORITY SO_PRIORITY
|
||||
#define SO_PROTOCOL SO_PROTOCOL
|
||||
#define SO_RCVBUF SO_RCVBUF
|
||||
#define SO_RCVBUFFORCE SO_RCVBUFFORCE
|
||||
#define SO_RCVLOWAT SO_RCVLOWAT
|
||||
#define SO_RCVTIMEO SO_RCVTIMEO
|
||||
#define SO_REUSEADDR SO_REUSEADDR
|
||||
#define SO_REUSEPORT SO_REUSEPORT
|
||||
#define SO_RXQ_OVFL SO_RXQ_OVFL
|
||||
#define SO_SELECT_ERR_QUEUE SO_SELECT_ERR_QUEUE
|
||||
#define SO_SETFIB SO_SETFIB
|
||||
#define SO_SNDBUF SO_SNDBUF
|
||||
#define SO_SNDBUFFORCE SO_SNDBUFFORCE
|
||||
#define SO_SNDLOWAT SO_SNDLOWAT
|
||||
#define SO_SNDTIMEO SO_SNDTIMEO
|
||||
#define SO_TIMESTAMP SO_TIMESTAMP
|
||||
#define SO_TIMESTAMPING SO_TIMESTAMPING
|
||||
#define SO_TIMESTAMPNS SO_TIMESTAMPNS
|
||||
#define SO_TYPE SO_TYPE
|
||||
#define SO_USELOOPBACK SO_USELOOPBACK
|
||||
#define SO_WIFI_STATUS SO_WIFI_STATUS
|
||||
|
||||
#define SO_SECURITY_AUTHENTICATION SO_SECURITY_AUTHENTICATION
|
||||
#define SO_SECURITY_ENCRYPTION_NETWORK SO_SECURITY_ENCRYPTION_NETWORK
|
||||
#define SO_SECURITY_ENCRYPTION_TRANSPORT SO_SECURITY_ENCRYPTION_TRANSPORT
|
||||
|
||||
#define __tmpcosmo_LOCAL_PEERCRED -15823986
|
||||
#define __tmpcosmo_SO_ACCEPTCONN -15823872
|
||||
#define __tmpcosmo_SO_ATTACH_BPF -15824072
|
||||
#define __tmpcosmo_SO_ATTACH_FILTER -15824094
|
||||
#define __tmpcosmo_SO_ATTACH_REUSEPORT_CBPF -15823964
|
||||
#define __tmpcosmo_SO_ATTACH_REUSEPORT_EBPF -15824060
|
||||
#define __tmpcosmo_SO_BINDTODEVICE -15823990
|
||||
#define __tmpcosmo_SO_BPF_EXTENSIONS -15824030
|
||||
#define __tmpcosmo_SO_BROADCAST -15823882
|
||||
#define __tmpcosmo_SO_BSDCOMPAT -15824038
|
||||
#define __tmpcosmo_SO_BUSY_POLL -15823944
|
||||
#define __tmpcosmo_SO_CNX_ADVICE -15823828
|
||||
#define __tmpcosmo_SO_DETACH_BPF -15824068
|
||||
#define __tmpcosmo_SO_DETACH_FILTER -15824032
|
||||
#define __tmpcosmo_SO_DOMAIN -15823980
|
||||
#define __tmpcosmo_SO_DONTROUTE -15823918
|
||||
#define __tmpcosmo_SO_ERROR -15823892
|
||||
#define __tmpcosmo_SO_EXCLUSIVEADDRUSE -15823858
|
||||
#define __tmpcosmo_SO_GET_FILTER -15823834
|
||||
#define __tmpcosmo_SO_INCOMING_CPU -15824074
|
||||
#define __tmpcosmo_SO_KEEPALIVE -15823890
|
||||
#define __tmpcosmo_SO_LINGER -15824084
|
||||
#define __tmpcosmo_SO_LOCK_FILTER -15823804
|
||||
#define __tmpcosmo_SO_MARK -15824008
|
||||
#define __tmpcosmo_SO_MAX_PACING_RATE -15824120
|
||||
#define __tmpcosmo_SO_NOFCS -15823818
|
||||
#define __tmpcosmo_SO_NO_CHECK -15824152
|
||||
#define __tmpcosmo_SO_OOBINLINE -15823838
|
||||
#define __tmpcosmo_SO_PASSCRED -15823888
|
||||
#define __tmpcosmo_SO_PASSSEC -15823866
|
||||
#define __tmpcosmo_SO_PEEK_OFF -15823870
|
||||
#define __tmpcosmo_SO_PEERCRED -15823954
|
||||
#define __tmpcosmo_SO_PEERNAME -15824042
|
||||
#define __tmpcosmo_SO_PEERSEC -15823844
|
||||
#define __tmpcosmo_SO_PRIORITY -15824122
|
||||
#define __tmpcosmo_SO_PROTOCOL -15823982
|
||||
#define __tmpcosmo_SO_RCVBUF -15823974
|
||||
#define __tmpcosmo_SO_RCVBUFFORCE -15823994
|
||||
#define __tmpcosmo_SO_RCVLOWAT -15824076
|
||||
#define __tmpcosmo_SO_RCVTIMEO -15824046
|
||||
#define __tmpcosmo_SO_REUSEADDR -15823810
|
||||
#define __tmpcosmo_SO_REUSEPORT -15823822
|
||||
#define __tmpcosmo_SO_RXQ_OVFL -15824066
|
||||
#define __tmpcosmo_SO_SECURITY_AUTHENTICATION -15824098
|
||||
#define __tmpcosmo_SO_SECURITY_ENCRYPTION_NETWORK -15824126
|
||||
#define __tmpcosmo_SO_SELECT_ERR_QUEUE -15824052
|
||||
#define __tmpcosmo_SO_SETFIB -15823920
|
||||
#define __tmpcosmo_SO_SNDBUF -15824102
|
||||
#define __tmpcosmo_SO_SNDBUFFORCE -15823840
|
||||
#define __tmpcosmo_SO_SNDLOWAT -15823946
|
||||
#define __tmpcosmo_SO_SNDTIMEO -15824064
|
||||
#define __tmpcosmo_SO_TIMESTAMP -15823932
|
||||
#define __tmpcosmo_SO_TIMESTAMPING -15824054
|
||||
#define __tmpcosmo_SO_TIMESTAMPNS -15823910
|
||||
#define __tmpcosmo_SO_TYPE -15824144
|
||||
#define __tmpcosmo_SO_USELOOPBACK -15824110
|
||||
#define __tmpcosmo_SO_WIFI_STATUS -15824108
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SO_DEBUG LITERALLY(1)
|
||||
|
||||
#define LOCAL_PEERCRED SYMBOLIC(LOCAL_PEERCRED)
|
||||
#define SO_ACCEPTCONN SYMBOLIC(SO_ACCEPTCONN)
|
||||
#define SO_ATTACH_BPF SYMBOLIC(SO_ATTACH_BPF)
|
||||
#define SO_ATTACH_FILTER SYMBOLIC(SO_ATTACH_FILTER)
|
||||
#define SO_ATTACH_REUSEPORT_CBPF SYMBOLIC(SO_ATTACH_REUSEPORT_CBPF)
|
||||
#define SO_ATTACH_REUSEPORT_EBPF SYMBOLIC(SO_ATTACH_REUSEPORT_EBPF)
|
||||
#define SO_BINDTODEVICE SYMBOLIC(SO_BINDTODEVICE)
|
||||
#define SO_BPF_EXTENSIONS SYMBOLIC(SO_BPF_EXTENSIONS)
|
||||
#define SO_BROADCAST SYMBOLIC(SO_BROADCAST)
|
||||
#define SO_BSDCOMPAT SYMBOLIC(SO_BSDCOMPAT)
|
||||
#define SO_BUSY_POLL SYMBOLIC(SO_BUSY_POLL)
|
||||
#define SO_CNX_ADVICE SYMBOLIC(SO_CNX_ADVICE)
|
||||
#define SO_DETACH_BPF SYMBOLIC(SO_DETACH_BPF)
|
||||
#define SO_DETACH_FILTER SYMBOLIC(SO_DETACH_FILTER)
|
||||
#define SO_DOMAIN SYMBOLIC(SO_DOMAIN)
|
||||
#define SO_DONTROUTE SYMBOLIC(SO_DONTROUTE)
|
||||
#define SO_ERROR SYMBOLIC(SO_ERROR)
|
||||
#define SO_EXCLUSIVEADDRUSE SYMBOLIC(SO_EXCLUSIVEADDRUSE)
|
||||
#define SO_GET_FILTER SYMBOLIC(SO_GET_FILTER)
|
||||
#define SO_INCOMING_CPU SYMBOLIC(SO_INCOMING_CPU)
|
||||
#define SO_KEEPALIVE SYMBOLIC(SO_KEEPALIVE)
|
||||
#define SO_LINGER SYMBOLIC(SO_LINGER)
|
||||
#define SO_LOCK_FILTER SYMBOLIC(SO_LOCK_FILTER)
|
||||
#define SO_MARK SYMBOLIC(SO_MARK)
|
||||
#define SO_MAX_PACING_RATE SYMBOLIC(SO_MAX_PACING_RATE)
|
||||
#define SO_NOFCS SYMBOLIC(SO_NOFCS)
|
||||
#define SO_NO_CHECK SYMBOLIC(SO_NO_CHECK)
|
||||
#define SO_OOBINLINE SYMBOLIC(SO_OOBINLINE)
|
||||
#define SO_PASSCRED SYMBOLIC(SO_PASSCRED)
|
||||
#define SO_PASSSEC SYMBOLIC(SO_PASSSEC)
|
||||
#define SO_PEEK_OFF SYMBOLIC(SO_PEEK_OFF)
|
||||
#define SO_PEERCRED SYMBOLIC(SO_PEERCRED)
|
||||
#define SO_PEERNAME SYMBOLIC(SO_PEERNAME)
|
||||
#define SO_PEERSEC SYMBOLIC(SO_PEERSEC)
|
||||
#define SO_PRIORITY SYMBOLIC(SO_PRIORITY)
|
||||
#define SO_PROTOCOL SYMBOLIC(SO_PROTOCOL)
|
||||
#define SO_RCVBUF SYMBOLIC(SO_RCVBUF)
|
||||
#define SO_RCVBUFFORCE SYMBOLIC(SO_RCVBUFFORCE)
|
||||
#define SO_RCVLOWAT SYMBOLIC(SO_RCVLOWAT)
|
||||
#define SO_RCVTIMEO SYMBOLIC(SO_RCVTIMEO)
|
||||
#define SO_REUSEADDR SYMBOLIC(SO_REUSEADDR)
|
||||
#define SO_REUSEPORT SYMBOLIC(SO_REUSEPORT)
|
||||
#define SO_RXQ_OVFL SYMBOLIC(SO_RXQ_OVFL)
|
||||
#define SO_SELECT_ERR_QUEUE SYMBOLIC(SO_SELECT_ERR_QUEUE)
|
||||
#define SO_SETFIB SYMBOLIC(SO_SETFIB)
|
||||
#define SO_SNDBUF SYMBOLIC(SO_SNDBUF)
|
||||
#define SO_SNDBUFFORCE SYMBOLIC(SO_SNDBUFFORCE)
|
||||
#define SO_SNDLOWAT SYMBOLIC(SO_SNDLOWAT)
|
||||
#define SO_SNDTIMEO SYMBOLIC(SO_SNDTIMEO)
|
||||
#define SO_TIMESTAMP SYMBOLIC(SO_TIMESTAMP)
|
||||
#define SO_TIMESTAMPING SYMBOLIC(SO_TIMESTAMPING)
|
||||
#define SO_TIMESTAMPNS SYMBOLIC(SO_TIMESTAMPNS)
|
||||
#define SO_TYPE SYMBOLIC(SO_TYPE)
|
||||
#define SO_USELOOPBACK SYMBOLIC(SO_USELOOPBACK)
|
||||
#define SO_WIFI_STATUS SYMBOLIC(SO_WIFI_STATUS)
|
||||
|
||||
#define SO_SECURITY_AUTHENTICATION SYMBOLIC(SO_SECURITY_AUTHENTICATION)
|
||||
#define SO_SECURITY_ENCRYPTION_NETWORK SYMBOLIC(SO_SECURITY_ENCRYPTION_NETWORK)
|
||||
#define SO_SECURITY_ENCRYPTION_TRANSPORT \
|
||||
SYMBOLIC(SO_SECURITY_ENCRYPTION_TRANSPORT)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SO_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SOCK_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SOCK_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -14,17 +13,12 @@ extern const int SOCK_RDM;
|
|||
extern const int SOCK_SEQPACKET;
|
||||
extern const int SOCK_STREAM;
|
||||
|
||||
#define SOCK_STREAM 1
|
||||
#define SOCK_DGRAM 2
|
||||
#define SOCK_RAW 3
|
||||
#define SOCK_RDM 4
|
||||
#define SOCK_SEQPACKET 5
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SOCK_CLOEXEC SYMBOLIC(SOCK_CLOEXEC)
|
||||
#define SOCK_DCCP SYMBOLIC(SOCK_DCCP)
|
||||
#define SOCK_DGRAM LITERALLY(2)
|
||||
#define SOCK_NONBLOCK SYMBOLIC(SOCK_NONBLOCK)
|
||||
#define SOCK_PACKET SYMBOLIC(SOCK_PACKET)
|
||||
#define SOCK_RAW LITERALLY(3)
|
||||
#define SOCK_RDM LITERALLY(4)
|
||||
#define SOCK_SEQPACKET LITERALLY(5)
|
||||
#define SOCK_STREAM LITERALLY(1)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SOCK_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SOL_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SOL_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -36,34 +35,60 @@ extern const int SOL_X25;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SOL_IP LITERALLY(0)
|
||||
#define SOL_TCP LITERALLY(6)
|
||||
#define SOL_UDP LITERALLY(17)
|
||||
#define SOL_IP 0
|
||||
#define SOL_TCP 6
|
||||
#define SOL_UDP 17
|
||||
|
||||
#define SOL_AAL SYMBOLIC(SOL_AAL)
|
||||
#define SOL_ALG SYMBOLIC(SOL_ALG)
|
||||
#define SOL_ATM SYMBOLIC(SOL_ATM)
|
||||
#define SOL_BLUETOOTH SYMBOLIC(SOL_BLUETOOTH)
|
||||
#define SOL_CAIF SYMBOLIC(SOL_CAIF)
|
||||
#define SOL_DCCP SYMBOLIC(SOL_DCCP)
|
||||
#define SOL_DECNET SYMBOLIC(SOL_DECNET)
|
||||
#define SOL_ICMPV6 SYMBOLIC(SOL_ICMPV6)
|
||||
#define SOL_IPV6 SYMBOLIC(SOL_IPV6)
|
||||
#define SOL_IRDA SYMBOLIC(SOL_IRDA)
|
||||
#define SOL_IUCV SYMBOLIC(SOL_IUCV)
|
||||
#define SOL_KCM SYMBOLIC(SOL_KCM)
|
||||
#define SOL_LLC SYMBOLIC(SOL_LLC)
|
||||
#define SOL_NETBEUI SYMBOLIC(SOL_NETBEUI)
|
||||
#define SOL_NETLINK SYMBOLIC(SOL_NETLINK)
|
||||
#define SOL_NFC SYMBOLIC(SOL_NFC)
|
||||
#define SOL_PACKET SYMBOLIC(SOL_PACKET)
|
||||
#define SOL_PNPIPE SYMBOLIC(SOL_PNPIPE)
|
||||
#define SOL_PPPOL2TP SYMBOLIC(SOL_PPPOL2TP)
|
||||
#define SOL_RAW SYMBOLIC(SOL_RAW)
|
||||
#define SOL_RDS SYMBOLIC(SOL_RDS)
|
||||
#define SOL_RXRPC SYMBOLIC(SOL_RXRPC)
|
||||
#define SOL_SOCKET SYMBOLIC(SOL_SOCKET)
|
||||
#define SOL_TIPC SYMBOLIC(SOL_TIPC)
|
||||
#define SOL_X25 SYMBOLIC(SOL_X25)
|
||||
#define SOL_AAL SOL_AAL
|
||||
#define SOL_ALG SOL_ALG
|
||||
#define SOL_ATM SOL_ATM
|
||||
#define SOL_BLUETOOTH SOL_BLUETOOTH
|
||||
#define SOL_CAIF SOL_CAIF
|
||||
#define SOL_DCCP SOL_DCCP
|
||||
#define SOL_DECNET SOL_DECNET
|
||||
#define SOL_ICMPV6 SOL_ICMPV6
|
||||
#define SOL_IPV6 SOL_IPV6
|
||||
#define SOL_IRDA SOL_IRDA
|
||||
#define SOL_IUCV SOL_IUCV
|
||||
#define SOL_KCM SOL_KCM
|
||||
#define SOL_LLC SOL_LLC
|
||||
#define SOL_NETBEUI SOL_NETBEUI
|
||||
#define SOL_NETLINK SOL_NETLINK
|
||||
#define SOL_NFC SOL_NFC
|
||||
#define SOL_PACKET SOL_PACKET
|
||||
#define SOL_PNPIPE SOL_PNPIPE
|
||||
#define SOL_PPPOL2TP SOL_PPPOL2TP
|
||||
#define SOL_RAW SOL_RAW
|
||||
#define SOL_RDS SOL_RDS
|
||||
#define SOL_RXRPC SOL_RXRPC
|
||||
#define SOL_SOCKET SOL_SOCKET
|
||||
#define SOL_TIPC SOL_TIPC
|
||||
#define SOL_X25 SOL_X25
|
||||
|
||||
#define __tmpcosmo_SOL_AAL -15823976
|
||||
#define __tmpcosmo_SOL_ALG -15823956
|
||||
#define __tmpcosmo_SOL_ATM -15823914
|
||||
#define __tmpcosmo_SOL_BLUETOOTH -15824062
|
||||
#define __tmpcosmo_SOL_CAIF -15823904
|
||||
#define __tmpcosmo_SOL_DCCP -15823814
|
||||
#define __tmpcosmo_SOL_DECNET -15823842
|
||||
#define __tmpcosmo_SOL_ICMPV6 -15823908
|
||||
#define __tmpcosmo_SOL_IPV6 -15823808
|
||||
#define __tmpcosmo_SOL_IRDA -15823880
|
||||
#define __tmpcosmo_SOL_IUCV -15824156
|
||||
#define __tmpcosmo_SOL_KCM -15824092
|
||||
#define __tmpcosmo_SOL_LLC -15823930
|
||||
#define __tmpcosmo_SOL_NETBEUI -15823894
|
||||
#define __tmpcosmo_SOL_NETLINK -15824012
|
||||
#define __tmpcosmo_SOL_NFC -15823942
|
||||
#define __tmpcosmo_SOL_PACKET -15823806
|
||||
#define __tmpcosmo_SOL_PNPIPE -15823968
|
||||
#define __tmpcosmo_SOL_PPPOL2TP -15823816
|
||||
#define __tmpcosmo_SOL_RAW -15824044
|
||||
#define __tmpcosmo_SOL_RDS -15824020
|
||||
#define __tmpcosmo_SOL_RXRPC -15823984
|
||||
#define __tmpcosmo_SOL_SOCKET -15824050
|
||||
#define __tmpcosmo_SOL_TIPC -15823940
|
||||
#define __tmpcosmo_SOL_X25 -15823856
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SOL_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SPLICE_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SPLICE_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -11,10 +10,4 @@ extern const unsigned int SPLICE_F_NONBLOCK;
|
|||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define SPLICE_F_GIFT SYMBOLIC(SPLICE_F_GIFT)
|
||||
#define SPLICE_F_MORE SYMBOLIC(SPLICE_F_MORE)
|
||||
#define SPLICE_F_MOVE SYMBOLIC(SPLICE_F_MOVE)
|
||||
#define SPLICE_F_NONBLOCK SYMBOLIC(SPLICE_F_NONBLOCK)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SPLICE_H_ */
|
||||
|
|
|
@ -13,4 +13,6 @@ COSMOPOLITAN_C_END_
|
|||
#define SS_ONSTACK 1
|
||||
#define SS_DISABLE SS_DISABLE
|
||||
|
||||
#define __tmpcosmo_SS_DISABLE 2072298638
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SS_H_ */
|
||||
|
|
|
@ -1,35 +1,46 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ST_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_ST_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define ST_APPEND SYMBOLIC(ST_APPEND)
|
||||
#define ST_IMMUTABLE SYMBOLIC(ST_IMMUTABLE)
|
||||
#define ST_MANDLOCK SYMBOLIC(ST_MANDLOCK)
|
||||
#define ST_NOATIME SYMBOLIC(ST_NOATIME)
|
||||
#define ST_NODEV SYMBOLIC(ST_NODEV)
|
||||
#define ST_NODIRATIME SYMBOLIC(ST_NODIRATIME)
|
||||
#define ST_NOEXEC SYMBOLIC(ST_NOEXEC)
|
||||
#define ST_NOSUID SYMBOLIC(ST_NOSUID)
|
||||
#define ST_RDONLY SYMBOLIC(ST_RDONLY)
|
||||
#define ST_RELATIME SYMBOLIC(ST_RELATIME)
|
||||
#define ST_SYNCHRONOUS SYMBOLIC(ST_SYNCHRONOUS)
|
||||
#define ST_WRITE SYMBOLIC(ST_WRITE)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const unsigned long ST_APPEND;
|
||||
extern const unsigned long ST_IMMUTABLE;
|
||||
extern const unsigned long ST_MANDLOCK;
|
||||
extern const unsigned long ST_NOATIME;
|
||||
extern const unsigned long ST_NODEV;
|
||||
extern const unsigned long ST_NODIRATIME;
|
||||
extern const unsigned long ST_NOEXEC;
|
||||
extern const unsigned long ST_NOSUID;
|
||||
extern const unsigned long ST_RDONLY;
|
||||
extern const unsigned long ST_RELATIME;
|
||||
extern const unsigned long ST_SYNCHRONOUS;
|
||||
extern const unsigned long ST_WRITE;
|
||||
extern const int ST_APPEND;
|
||||
extern const int ST_IMMUTABLE;
|
||||
extern const int ST_MANDLOCK;
|
||||
extern const int ST_NOATIME;
|
||||
extern const int ST_NODEV;
|
||||
extern const int ST_NODIRATIME;
|
||||
extern const int ST_NOEXEC;
|
||||
extern const int ST_NOSUID;
|
||||
extern const int ST_RDONLY;
|
||||
extern const int ST_RELATIME;
|
||||
extern const int ST_SYNCHRONOUS;
|
||||
extern const int ST_WRITE;
|
||||
|
||||
#define ST_APPEND ST_APPEND
|
||||
#define ST_IMMUTABLE ST_IMMUTABLE
|
||||
#define ST_MANDLOCK ST_MANDLOCK
|
||||
#define ST_NOATIME ST_NOATIME
|
||||
#define ST_NODEV ST_NODEV
|
||||
#define ST_NODIRATIME ST_NODIRATIME
|
||||
#define ST_NOEXEC ST_NOEXEC
|
||||
#define ST_NOSUID ST_NOSUID
|
||||
#define ST_RDONLY ST_RDONLY
|
||||
#define ST_RELATIME ST_RELATIME
|
||||
#define ST_SYNCHRONOUS ST_SYNCHRONOUS
|
||||
#define ST_WRITE ST_WRITE
|
||||
|
||||
#define __tmpcosmo_ST_APPEND -1388286836
|
||||
#define __tmpcosmo_ST_IMMUTABLE 1267544033
|
||||
#define __tmpcosmo_ST_MANDLOCK -2094813813
|
||||
#define __tmpcosmo_ST_NOATIME 771964228
|
||||
#define __tmpcosmo_ST_NODEV -836140326
|
||||
#define __tmpcosmo_ST_NODIRATIME 152697025
|
||||
#define __tmpcosmo_ST_NOEXEC 315123377
|
||||
#define __tmpcosmo_ST_NOSUID -1060040535
|
||||
#define __tmpcosmo_ST_RDONLY 237934379
|
||||
#define __tmpcosmo_ST_RELATIME -1170584536
|
||||
#define __tmpcosmo_ST_SYNCHRONOUS 1353832369
|
||||
#define __tmpcosmo_ST_WRITE -317138758
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_TCP_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_TCP_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -36,39 +35,69 @@ extern const int TCP_ULP;
|
|||
extern const int TCP_USER_TIMEOUT;
|
||||
extern const int TCP_WINDOW_CLAMP;
|
||||
|
||||
#define TCP_NODELAY 1
|
||||
#define TCP_CC_INFO TCP_CC_INFO
|
||||
#define TCP_CONGESTION TCP_CONGESTION
|
||||
#define TCP_COOKIE_TRANSACTIONS TCP_COOKIE_TRANSACTIONS
|
||||
#define TCP_CORK TCP_CORK
|
||||
#define TCP_DEFER_ACCEPT TCP_DEFER_ACCEPT
|
||||
#define TCP_FASTOPEN TCP_FASTOPEN
|
||||
#define TCP_FASTOPEN_CONNECT TCP_FASTOPEN_CONNECT
|
||||
#define TCP_INFO TCP_INFO
|
||||
#define TCP_KEEPCNT TCP_KEEPCNT
|
||||
#define TCP_KEEPIDLE TCP_KEEPIDLE
|
||||
#define TCP_KEEPINTVL TCP_KEEPINTVL
|
||||
#define TCP_LINGER2 TCP_LINGER2
|
||||
#define TCP_MAXSEG TCP_MAXSEG
|
||||
#define TCP_MD5SIG TCP_MD5SIG
|
||||
#define TCP_MD5SIG_MAXKEYLEN TCP_MD5SIG_MAXKEYLEN
|
||||
#define TCP_NOTSENT_LOWAT TCP_NOTSENT_LOWAT
|
||||
#define TCP_QUEUE_SEQ TCP_QUEUE_SEQ
|
||||
#define TCP_QUICKACK TCP_QUICKACK
|
||||
#define TCP_REPAIR TCP_REPAIR
|
||||
#define TCP_REPAIR_OPTIONS TCP_REPAIR_OPTIONS
|
||||
#define TCP_REPAIR_QUEUE TCP_REPAIR_QUEUE
|
||||
#define TCP_SAVED_SYN TCP_SAVED_SYN
|
||||
#define TCP_SAVE_SYN TCP_SAVE_SYN
|
||||
#define TCP_SYNCNT TCP_SYNCNT
|
||||
#define TCP_THIN_DUPACK TCP_THIN_DUPACK
|
||||
#define TCP_THIN_LINEAR_TIMEOUTS TCP_THIN_LINEAR_TIMEOUTS
|
||||
#define TCP_TIMESTAMP TCP_TIMESTAMP
|
||||
#define TCP_ULP TCP_ULP
|
||||
#define TCP_USER_TIMEOUT TCP_USER_TIMEOUT
|
||||
#define TCP_WINDOW_CLAMP TCP_WINDOW_CLAMP
|
||||
|
||||
#define __tmpcosmo_TCP_CC_INFO 8361104
|
||||
#define __tmpcosmo_TCP_CONGESTION 372467383
|
||||
#define __tmpcosmo_TCP_COOKIE_TRANSACTIONS 1651367691
|
||||
#define __tmpcosmo_TCP_CORK -1349156951
|
||||
#define __tmpcosmo_TCP_DEFER_ACCEPT -1542762903
|
||||
#define __tmpcosmo_TCP_FASTOPEN 684735969
|
||||
#define __tmpcosmo_TCP_FASTOPEN_CONNECT -955771783
|
||||
#define __tmpcosmo_TCP_INFO -1828641436
|
||||
#define __tmpcosmo_TCP_KEEPCNT -1493518283
|
||||
#define __tmpcosmo_TCP_KEEPIDLE 1644196464
|
||||
#define __tmpcosmo_TCP_KEEPINTVL -1302451218
|
||||
#define __tmpcosmo_TCP_LINGER2 2018829991
|
||||
#define __tmpcosmo_TCP_MAXSEG -597390935
|
||||
#define __tmpcosmo_TCP_MD5SIG 563016186
|
||||
#define __tmpcosmo_TCP_MD5SIG_MAXKEYLEN -133830736
|
||||
#define __tmpcosmo_TCP_NOTSENT_LOWAT -2088313237
|
||||
#define __tmpcosmo_TCP_QUEUE_SEQ 1778827934
|
||||
#define __tmpcosmo_TCP_QUICKACK 602576474
|
||||
#define __tmpcosmo_TCP_REPAIR 1790031809
|
||||
#define __tmpcosmo_TCP_REPAIR_OPTIONS 144244650
|
||||
#define __tmpcosmo_TCP_REPAIR_QUEUE 1799003915
|
||||
#define __tmpcosmo_TCP_SAVED_SYN 1886200148
|
||||
#define __tmpcosmo_TCP_SAVE_SYN 1349318664
|
||||
#define __tmpcosmo_TCP_SYNCNT 2092611841
|
||||
#define __tmpcosmo_TCP_THIN_DUPACK 1467229918
|
||||
#define __tmpcosmo_TCP_THIN_LINEAR_TIMEOUTS 690546238
|
||||
#define __tmpcosmo_TCP_TIMESTAMP 176258895
|
||||
#define __tmpcosmo_TCP_ULP 1811889822
|
||||
#define __tmpcosmo_TCP_USER_TIMEOUT -466589242
|
||||
#define __tmpcosmo_TCP_WINDOW_CLAMP -845861568
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define TCP_CC_INFO SYMBOLIC(TCP_CC_INFO)
|
||||
#define TCP_CONGESTION SYMBOLIC(TCP_CONGESTION)
|
||||
#define TCP_COOKIE_TRANSACTIONS SYMBOLIC(TCP_COOKIE_TRANSACTIONS)
|
||||
#define TCP_CORK SYMBOLIC(TCP_CORK)
|
||||
#define TCP_DEFER_ACCEPT SYMBOLIC(TCP_DEFER_ACCEPT)
|
||||
#define TCP_FASTOPEN SYMBOLIC(TCP_FASTOPEN)
|
||||
#define TCP_FASTOPEN_CONNECT SYMBOLIC(TCP_FASTOPEN_CONNECT)
|
||||
#define TCP_INFO SYMBOLIC(TCP_INFO)
|
||||
#define TCP_KEEPCNT SYMBOLIC(TCP_KEEPCNT)
|
||||
#define TCP_KEEPIDLE SYMBOLIC(TCP_KEEPIDLE)
|
||||
#define TCP_KEEPINTVL SYMBOLIC(TCP_KEEPINTVL)
|
||||
#define TCP_LINGER2 SYMBOLIC(TCP_LINGER2)
|
||||
#define TCP_MAXSEG SYMBOLIC(TCP_MAXSEG)
|
||||
#define TCP_MD5SIG SYMBOLIC(TCP_MD5SIG)
|
||||
#define TCP_MD5SIG_MAXKEYLEN SYMBOLIC(TCP_MD5SIG_MAXKEYLEN)
|
||||
#define TCP_NODELAY LITERALLY(1)
|
||||
#define TCP_NOTSENT_LOWAT SYMBOLIC(TCP_NOTSENT_LOWAT)
|
||||
#define TCP_QUEUE_SEQ SYMBOLIC(TCP_QUEUE_SEQ)
|
||||
#define TCP_QUICKACK SYMBOLIC(TCP_QUICKACK)
|
||||
#define TCP_REPAIR SYMBOLIC(TCP_REPAIR)
|
||||
#define TCP_REPAIR_OPTIONS SYMBOLIC(TCP_REPAIR_OPTIONS)
|
||||
#define TCP_REPAIR_QUEUE SYMBOLIC(TCP_REPAIR_QUEUE)
|
||||
#define TCP_SAVED_SYN SYMBOLIC(TCP_SAVED_SYN)
|
||||
#define TCP_SAVE_SYN SYMBOLIC(TCP_SAVE_SYN)
|
||||
#define TCP_SYNCNT SYMBOLIC(TCP_SYNCNT)
|
||||
#define TCP_THIN_DUPACK SYMBOLIC(TCP_THIN_DUPACK)
|
||||
#define TCP_THIN_LINEAR_TIMEOUTS SYMBOLIC(TCP_THIN_LINEAR_TIMEOUTS)
|
||||
#define TCP_TIMESTAMP SYMBOLIC(TCP_TIMESTAMP)
|
||||
#define TCP_ULP SYMBOLIC(TCP_ULP)
|
||||
#define TCP_USER_TIMEOUT SYMBOLIC(TCP_USER_TIMEOUT)
|
||||
#define TCP_WINDOW_CLAMP SYMBOLIC(TCP_WINDOW_CLAMP)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_TCP_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_TERMIOS_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_TERMIOS_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -181,183 +180,335 @@ extern const uint32_t XTABS;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define BRKINT LITERALLY(0x02)
|
||||
#define ICRNL LITERALLY(0x0100)
|
||||
#define IGNBRK LITERALLY(0x01)
|
||||
#define IGNCR LITERALLY(0x80)
|
||||
#define IGNPAR LITERALLY(0x04)
|
||||
#define IMAXBEL LITERALLY(0x2000)
|
||||
#define INLCR LITERALLY(0x40)
|
||||
#define INPCK LITERALLY(0x10)
|
||||
#define ISTRIP LITERALLY(0x20)
|
||||
#define IXANY LITERALLY(0x0800)
|
||||
#define OPOST LITERALLY(0x01)
|
||||
#define PARMRK LITERALLY(0x08)
|
||||
#define TIOCSTART SYMBOLIC(TIOCSTART)
|
||||
#define TIOCSTOP SYMBOLIC(TIOCSTOP)
|
||||
#define BRKINT 0x02
|
||||
#define ICRNL 0x0100
|
||||
#define IGNBRK 0x01
|
||||
#define IGNCR 0x80
|
||||
#define IGNPAR 0x04
|
||||
#define IMAXBEL 0x2000
|
||||
#define INLCR 0x40
|
||||
#define INPCK 0x10
|
||||
#define ISTRIP 0x20
|
||||
#define IXANY 0x0800
|
||||
#define OPOST 0x01
|
||||
#define PARMRK 0x08
|
||||
#define TIOCSTOP TIOCSTOP
|
||||
|
||||
#define NLDLY SYMBOLIC(NLDLY)
|
||||
#define NL0 LITERALLY(0)
|
||||
#define NL1 SYMBOLIC(NL1)
|
||||
#define NL2 SYMBOLIC(NL2)
|
||||
#define NL3 SYMBOLIC(NL3)
|
||||
#define CRDLY SYMBOLIC(CRDLY)
|
||||
#define CR0 LITERALLY(0)
|
||||
#define CR1 SYMBOLIC(CR1)
|
||||
#define CR2 SYMBOLIC(CR2)
|
||||
#define CR3 SYMBOLIC(CR3)
|
||||
#define TABDLY SYMBOLIC(TABDLY)
|
||||
#define TAB0 LITERALLY(0)
|
||||
#define TAB1 SYMBOLIC(TAB1)
|
||||
#define TAB2 SYMBOLIC(TAB2)
|
||||
#define TAB3 SYMBOLIC(TAB3)
|
||||
#define XTABS SYMBOLIC(XTABS)
|
||||
#define BSDLY SYMBOLIC(BSDLY)
|
||||
#define BS0 LITERALLY(0)
|
||||
#define BS1 SYMBOLIC(BS1)
|
||||
#define BS2 SYMBOLIC(BS2)
|
||||
#define VTDLY SYMBOLIC(VTDLY)
|
||||
#define VT0 LITERALLY(0)
|
||||
#define VT1 SYMBOLIC(VT1)
|
||||
#define VT2 SYMBOLIC(VT2)
|
||||
#define FFDLY SYMBOLIC(FFDLY)
|
||||
#define FF0 LITERALLY(0)
|
||||
#define FF1 SYMBOLIC(FF1)
|
||||
#define FF2 SYMBOLIC(FF2)
|
||||
#define NLDLY NLDLY
|
||||
#define NL0 0
|
||||
#define NL1 NL1
|
||||
#define NL2 NL2
|
||||
#define NL3 NL3
|
||||
#define CRDLY CRDLY
|
||||
#define CR0 0
|
||||
#define CR1 CR1
|
||||
#define CR2 CR2
|
||||
#define CR3 CR3
|
||||
#define TABDLY TABDLY
|
||||
#define TAB0 0
|
||||
#define TAB1 TAB1
|
||||
#define TAB2 TAB2
|
||||
#define TAB3 TAB3
|
||||
#define XTABS XTABS
|
||||
#define BSDLY BSDLY
|
||||
#define BS0 0
|
||||
#define BS1 BS1
|
||||
#define BS2 BS2
|
||||
#define VTDLY VTDLY
|
||||
#define VT0 0
|
||||
#define VT1 VT1
|
||||
#define VT2 VT2
|
||||
#define FFDLY FFDLY
|
||||
#define FF0 0
|
||||
#define FF1 FF1
|
||||
#define FF2 FF2
|
||||
|
||||
#define BUSY SYMBOLIC(BUSY)
|
||||
#define CBAUD SYMBOLIC(CBAUD)
|
||||
#define CBAUDEX SYMBOLIC(CBAUDEX)
|
||||
#define CIBAUD SYMBOLIC(CIBAUD)
|
||||
#define CLOCAL SYMBOLIC(CLOCAL)
|
||||
#define CMSPAR SYMBOLIC(CMSPAR)
|
||||
#define CREAD SYMBOLIC(CREAD)
|
||||
#define CS5 SYMBOLIC(CS5)
|
||||
#define CS6 SYMBOLIC(CS6)
|
||||
#define CS7 SYMBOLIC(CS7)
|
||||
#define CS8 SYMBOLIC(CS8)
|
||||
#define CSIZE SYMBOLIC(CSIZE)
|
||||
#define CSTOPB SYMBOLIC(CSTOPB)
|
||||
#define ECHO LITERALLY(8)
|
||||
#define ECHOCTL SYMBOLIC(ECHOCTL)
|
||||
#define ECHOE SYMBOLIC(ECHOE)
|
||||
#define ECHOK SYMBOLIC(ECHOK)
|
||||
#define ECHOKE SYMBOLIC(ECHOKE)
|
||||
#define ECHONL SYMBOLIC(ECHONL)
|
||||
#define ECHOPRT SYMBOLIC(ECHOPRT)
|
||||
#define ENDRUNDISC SYMBOLIC(ENDRUNDISC)
|
||||
#define EXTA SYMBOLIC(EXTA)
|
||||
#define EXTB SYMBOLIC(EXTB)
|
||||
#define EXTPROC SYMBOLIC(EXTPROC)
|
||||
#define FLUSHO SYMBOLIC(FLUSHO)
|
||||
#define H4DISC SYMBOLIC(H4DISC)
|
||||
#define HUPCL SYMBOLIC(HUPCL)
|
||||
#define ICANON SYMBOLIC(ICANON)
|
||||
#define IEXTEN SYMBOLIC(IEXTEN)
|
||||
#define ISIG SYMBOLIC(ISIG)
|
||||
#define IUCLC SYMBOLIC(IUCLC)
|
||||
#define IUTF8 SYMBOLIC(IUTF8)
|
||||
#define IXOFF SYMBOLIC(IXOFF)
|
||||
#define IXON SYMBOLIC(IXON)
|
||||
#define NCCS LITERALLY(20)
|
||||
#define NETGRAPHDISC SYMBOLIC(NETGRAPHDISC)
|
||||
#define NMEADISC SYMBOLIC(NMEADISC)
|
||||
#define NOFLSH SYMBOLIC(NOFLSH)
|
||||
#define OCRNL SYMBOLIC(OCRNL)
|
||||
#define OFDEL SYMBOLIC(OFDEL)
|
||||
#define OFILL SYMBOLIC(OFILL)
|
||||
#define OLCUC SYMBOLIC(OLCUC)
|
||||
#define ONLCR SYMBOLIC(ONLCR)
|
||||
#define ONLRET SYMBOLIC(ONLRET)
|
||||
#define ONOCR SYMBOLIC(ONOCR)
|
||||
#define PARENB SYMBOLIC(PARENB)
|
||||
#define PARODD SYMBOLIC(PARODD)
|
||||
#define PENDIN SYMBOLIC(PENDIN)
|
||||
#define PPPDISC SYMBOLIC(PPPDISC)
|
||||
#define SLIPDISC SYMBOLIC(SLIPDISC)
|
||||
#define STRIPDISC SYMBOLIC(STRIPDISC)
|
||||
#define TABLDISC SYMBOLIC(TABLDISC)
|
||||
#define TCFLSH SYMBOLIC(TCFLSH)
|
||||
#define TCFLSH SYMBOLIC(TCFLSH)
|
||||
#define TCGETS SYMBOLIC(TCGETS)
|
||||
#define TCIFLUSH SYMBOLIC(TCIFLUSH)
|
||||
#define TCIOFF SYMBOLIC(TCIOFF)
|
||||
#define TCIOFLUSH SYMBOLIC(TCIOFLUSH)
|
||||
#define TCION SYMBOLIC(TCION)
|
||||
#define TCOFLUSH SYMBOLIC(TCOFLUSH)
|
||||
#define TCOOFF SYMBOLIC(TCOOFF)
|
||||
#define TCOON SYMBOLIC(TCOON)
|
||||
#define TCSADRAIN LITERALLY(1)
|
||||
#define TCSAFLUSH LITERALLY(2)
|
||||
#define TCSANOW LITERALLY(0)
|
||||
#define TCSBRK SYMBOLIC(TCSBRK)
|
||||
#define TCSETS SYMBOLIC(TCSETS)
|
||||
#define TCSETSF SYMBOLIC(TCSETSF)
|
||||
#define TCSETSW SYMBOLIC(TCSETSW)
|
||||
#define TCXONC SYMBOLIC(TCXONC)
|
||||
#define TIOCCBRK SYMBOLIC(TIOCCBRK)
|
||||
#define TIOCCDTR SYMBOLIC(TIOCCDTR)
|
||||
#define TIOCCHKVERAUTH SYMBOLIC(TIOCCHKVERAUTH)
|
||||
#define TIOCCONS SYMBOLIC(TIOCCONS)
|
||||
#define TIOCEXT SYMBOLIC(TIOCEXT)
|
||||
#define TIOCFLAG_CLOCAL SYMBOLIC(TIOCFLAG_CLOCAL)
|
||||
#define TIOCFLAG_MDMBUF SYMBOLIC(TIOCFLAG_MDMBUF)
|
||||
#define TIOCFLAG_PPS SYMBOLIC(TIOCFLAG_PPS)
|
||||
#define TIOCFLAG_SOFTCAR SYMBOLIC(TIOCFLAG_SOFTCAR)
|
||||
#define TIOCFLUSH SYMBOLIC(TIOCFLUSH)
|
||||
#define TIOCGDRAINWAIT SYMBOLIC(TIOCGDRAINWAIT)
|
||||
#define TIOCGETD SYMBOLIC(TIOCGETD)
|
||||
#define TIOCGFLAGS SYMBOLIC(TIOCGFLAGS)
|
||||
#define TIOCGPGRP SYMBOLIC(TIOCGPGRP)
|
||||
#define TIOCGPTN SYMBOLIC(TIOCGPTN)
|
||||
#define TIOCGSID SYMBOLIC(TIOCGSID)
|
||||
#define TIOCGTSTAMP SYMBOLIC(TIOCGTSTAMP)
|
||||
#define TIOCGWINSZ SYMBOLIC(TIOCGWINSZ)
|
||||
#define TIOCNOTTY SYMBOLIC(TIOCNOTTY)
|
||||
#define TIOCNXCL SYMBOLIC(TIOCNXCL)
|
||||
#define TIOCOUTQ SYMBOLIC(TIOCOUTQ)
|
||||
#define TIOCPTMASTER SYMBOLIC(TIOCPTMASTER)
|
||||
#define TIOCREMOTE SYMBOLIC(TIOCREMOTE)
|
||||
#define TIOCSBRK SYMBOLIC(TIOCSBRK)
|
||||
#define TIOCSCTTY SYMBOLIC(TIOCSCTTY)
|
||||
#define TIOCSDRAINWAIT SYMBOLIC(TIOCSDRAINWAIT)
|
||||
#define TIOCSDTR SYMBOLIC(TIOCSDTR)
|
||||
#define TIOCSERGETLSR SYMBOLIC(TIOCSERGETLSR)
|
||||
#define TIOCSERGETMULTI SYMBOLIC(TIOCSERGETMULTI)
|
||||
#define TIOCSERSETMULTI SYMBOLIC(TIOCSERSETMULTI)
|
||||
#define TIOCSER_TEMT SYMBOLIC(TIOCSER_TEMT)
|
||||
#define TIOCSETD SYMBOLIC(TIOCSETD)
|
||||
#define TIOCSETVERAUTH SYMBOLIC(TIOCSETVERAUTH)
|
||||
#define TIOCSFLAGS SYMBOLIC(TIOCSFLAGS)
|
||||
#define TIOCSIG SYMBOLIC(TIOCSIG)
|
||||
#define TIOCSPGRP SYMBOLIC(TIOCSPGRP)
|
||||
#define TIOCSTART SYMBOLIC(TIOCSTART)
|
||||
#define TIOCSTAT SYMBOLIC(TIOCSTAT)
|
||||
#define TIOCSTI SYMBOLIC(TIOCSTI)
|
||||
#define TIOCSTSTAMP SYMBOLIC(TIOCSTSTAMP)
|
||||
#define TIOCSWINSZ SYMBOLIC(TIOCSWINSZ)
|
||||
#define TIOCTIMESTAMP SYMBOLIC(TIOCTIMESTAMP)
|
||||
#define TIOCUCNTL_CBRK SYMBOLIC(TIOCUCNTL_CBRK)
|
||||
#define TOSTOP SYMBOLIC(TOSTOP)
|
||||
#define TTYDISC SYMBOLIC(TTYDISC)
|
||||
#define VDISCARD SYMBOLIC(VDISCARD)
|
||||
#define VEOF SYMBOLIC(VEOF)
|
||||
#define VEOL SYMBOLIC(VEOL)
|
||||
#define VEOL2 SYMBOLIC(VEOL2)
|
||||
#define VERASE SYMBOLIC(VERASE)
|
||||
#define VERIFY SYMBOLIC(VERIFY)
|
||||
#define VINTR SYMBOLIC(VINTR)
|
||||
#define VKILL SYMBOLIC(VKILL)
|
||||
#define VLNEXT SYMBOLIC(VLNEXT)
|
||||
#define VMIN SYMBOLIC(VMIN)
|
||||
#define VQUIT SYMBOLIC(VQUIT)
|
||||
#define VREPRINT SYMBOLIC(VREPRINT)
|
||||
#define VSTART SYMBOLIC(VSTART)
|
||||
#define VSTOP SYMBOLIC(VSTOP)
|
||||
#define VSUSP SYMBOLIC(VSUSP)
|
||||
#define VSWTC SYMBOLIC(VSWTC)
|
||||
#define VTIME SYMBOLIC(VTIME)
|
||||
#define VWERASE SYMBOLIC(VWERASE)
|
||||
#define XCASE SYMBOLIC(XCASE)
|
||||
#define BUSY BUSY
|
||||
#define CBAUD CBAUD
|
||||
#define CBAUDEX CBAUDEX
|
||||
#define CIBAUD CIBAUD
|
||||
#define CLOCAL CLOCAL
|
||||
#define CMSPAR CMSPAR
|
||||
#define CREAD CREAD
|
||||
#define CS5 CS5
|
||||
#define CS6 CS6
|
||||
#define CS7 CS7
|
||||
#define CS8 CS8
|
||||
#define CSIZE CSIZE
|
||||
#define CSTOPB CSTOPB
|
||||
#define ECHO 8
|
||||
#define ECHOCTL ECHOCTL
|
||||
#define ECHOE ECHOE
|
||||
#define ECHOK ECHOK
|
||||
#define ECHOKE ECHOKE
|
||||
#define ECHONL ECHONL
|
||||
#define ECHOPRT ECHOPRT
|
||||
#define ENDRUNDISC ENDRUNDISC
|
||||
#define EXTA EXTA
|
||||
#define EXTB EXTB
|
||||
#define EXTPROC EXTPROC
|
||||
#define FLUSHO FLUSHO
|
||||
#define H4DISC H4DISC
|
||||
#define HUPCL HUPCL
|
||||
#define ICANON ICANON
|
||||
#define IEXTEN IEXTEN
|
||||
#define ISIG ISIG
|
||||
#define IUCLC IUCLC
|
||||
#define IUTF8 IUTF8
|
||||
#define IXOFF IXOFF
|
||||
#define IXON IXON
|
||||
#define NCCS 20
|
||||
#define NETGRAPHDISC NETGRAPHDISC
|
||||
#define NMEADISC NMEADISC
|
||||
#define NOFLSH NOFLSH
|
||||
#define OCRNL OCRNL
|
||||
#define OFDEL OFDEL
|
||||
#define OFILL OFILL
|
||||
#define OLCUC OLCUC
|
||||
#define ONLCR ONLCR
|
||||
#define ONLRET ONLRET
|
||||
#define ONOCR ONOCR
|
||||
#define PARENB PARENB
|
||||
#define PARODD PARODD
|
||||
#define PENDIN PENDIN
|
||||
#define PPPDISC PPPDISC
|
||||
#define SLIPDISC SLIPDISC
|
||||
#define STRIPDISC STRIPDISC
|
||||
#define TABLDISC TABLDISC
|
||||
#define TCFLSH TCFLSH
|
||||
#define TCGETS TCGETS
|
||||
#define TCIFLUSH TCIFLUSH
|
||||
#define TCIOFF TCIOFF
|
||||
#define TCIOFLUSH TCIOFLUSH
|
||||
#define TCION TCION
|
||||
#define TCOFLUSH TCOFLUSH
|
||||
#define TCOOFF TCOOFF
|
||||
#define TCOON TCOON
|
||||
#define TCSADRAIN 1
|
||||
#define TCSAFLUSH 2
|
||||
#define TCSANOW 0
|
||||
#define TCSBRK TCSBRK
|
||||
#define TCSETS TCSETS
|
||||
#define TCSETSF TCSETSF
|
||||
#define TCSETSW TCSETSW
|
||||
#define TCXONC TCXONC
|
||||
#define TIOCCBRK TIOCCBRK
|
||||
#define TIOCCDTR TIOCCDTR
|
||||
#define TIOCCHKVERAUTH TIOCCHKVERAUTH
|
||||
#define TIOCCONS TIOCCONS
|
||||
#define TIOCEXT TIOCEXT
|
||||
#define TIOCFLAG_CLOCAL TIOCFLAG_CLOCAL
|
||||
#define TIOCFLAG_MDMBUF TIOCFLAG_MDMBUF
|
||||
#define TIOCFLAG_PPS TIOCFLAG_PPS
|
||||
#define TIOCFLAG_SOFTCAR TIOCFLAG_SOFTCAR
|
||||
#define TIOCFLUSH TIOCFLUSH
|
||||
#define TIOCGDRAINWAIT TIOCGDRAINWAIT
|
||||
#define TIOCGETD TIOCGETD
|
||||
#define TIOCGFLAGS TIOCGFLAGS
|
||||
#define TIOCGPGRP TIOCGPGRP
|
||||
#define TIOCGPTN TIOCGPTN
|
||||
#define TIOCGSID TIOCGSID
|
||||
#define TIOCGTSTAMP TIOCGTSTAMP
|
||||
#define TIOCGWINSZ TIOCGWINSZ
|
||||
#define TIOCNOTTY TIOCNOTTY
|
||||
#define TIOCNXCL TIOCNXCL
|
||||
#define TIOCOUTQ TIOCOUTQ
|
||||
#define TIOCPTMASTER TIOCPTMASTER
|
||||
#define TIOCREMOTE TIOCREMOTE
|
||||
#define TIOCSBRK TIOCSBRK
|
||||
#define TIOCSCTTY TIOCSCTTY
|
||||
#define TIOCSDRAINWAIT TIOCSDRAINWAIT
|
||||
#define TIOCSDTR TIOCSDTR
|
||||
#define TIOCSERGETLSR TIOCSERGETLSR
|
||||
#define TIOCSERGETMULTI TIOCSERGETMULTI
|
||||
#define TIOCSERSETMULTI TIOCSERSETMULTI
|
||||
#define TIOCSER_TEMT TIOCSER_TEMT
|
||||
#define TIOCSETD TIOCSETD
|
||||
#define TIOCSETVERAUTH TIOCSETVERAUTH
|
||||
#define TIOCSFLAGS TIOCSFLAGS
|
||||
#define TIOCSIG TIOCSIG
|
||||
#define TIOCSPGRP TIOCSPGRP
|
||||
#define TIOCSTART TIOCSTART
|
||||
#define TIOCSTAT TIOCSTAT
|
||||
#define TIOCSTI TIOCSTI
|
||||
#define TIOCSTSTAMP TIOCSTSTAMP
|
||||
#define TIOCSWINSZ TIOCSWINSZ
|
||||
#define TIOCTIMESTAMP TIOCTIMESTAMP
|
||||
#define TIOCUCNTL_CBRK TIOCUCNTL_CBRK
|
||||
#define TOSTOP TOSTOP
|
||||
#define TTYDISC TTYDISC
|
||||
#define VDISCARD VDISCARD
|
||||
#define VEOF VEOF
|
||||
#define VEOL VEOL
|
||||
#define VEOL2 VEOL2
|
||||
#define VERASE VERASE
|
||||
#define VERIFY VERIFY
|
||||
#define VINTR VINTR
|
||||
#define VKILL VKILL
|
||||
#define VLNEXT VLNEXT
|
||||
#define VMIN VMIN
|
||||
#define VQUIT VQUIT
|
||||
#define VREPRINT VREPRINT
|
||||
#define VSTART VSTART
|
||||
#define VSTOP VSTOP
|
||||
#define VSUSP VSUSP
|
||||
#define VSWTC VSWTC
|
||||
#define VTIME VTIME
|
||||
#define VWERASE VWERASE
|
||||
#define XCASE XCASE
|
||||
|
||||
#define __tmpcosmo_TIOCSTOP -1017191481
|
||||
|
||||
#define __tmpcosmo_NLDLY 1319994273
|
||||
#define __tmpcosmo_NL1 -70287396
|
||||
#define __tmpcosmo_NL2 652191906
|
||||
#define __tmpcosmo_NL3 1513394829
|
||||
#define __tmpcosmo_CRDLY 2044628767
|
||||
#define __tmpcosmo_CR1 1115673592
|
||||
#define __tmpcosmo_CR2 1871515224
|
||||
#define __tmpcosmo_CR3 -1010651809
|
||||
#define __tmpcosmo_TABDLY -886090656
|
||||
#define __tmpcosmo_TAB1 778986470
|
||||
#define __tmpcosmo_TAB2 -382588940
|
||||
#define __tmpcosmo_TAB3 -238740052
|
||||
#define __tmpcosmo_XTABS 3851498
|
||||
#define __tmpcosmo_BSDLY 1798324922
|
||||
#define __tmpcosmo_BS1 -2123797836
|
||||
#define __tmpcosmo_BS2 -354341079
|
||||
#define __tmpcosmo_VTDLY -1916199946
|
||||
#define __tmpcosmo_VT1 159615710
|
||||
#define __tmpcosmo_VT2 -2135726260
|
||||
#define __tmpcosmo_FFDLY 1018442558
|
||||
#define __tmpcosmo_FF1 366192762
|
||||
#define __tmpcosmo_FF2 1064173224
|
||||
|
||||
#define __tmpcosmo_BUSY 1091122196
|
||||
#define __tmpcosmo_CBAUD 621840898
|
||||
#define __tmpcosmo_CBAUDEX 1684865431
|
||||
#define __tmpcosmo_CIBAUD 232332978
|
||||
#define __tmpcosmo_CLOCAL 819516838
|
||||
#define __tmpcosmo_CMSPAR -1110572378
|
||||
#define __tmpcosmo_CREAD -1620802775
|
||||
#define __tmpcosmo_CS5 -909937503
|
||||
#define __tmpcosmo_CS6 1486108550
|
||||
#define __tmpcosmo_CS7 2070161332
|
||||
#define __tmpcosmo_CS8 -894417336
|
||||
#define __tmpcosmo_CSIZE -2142503038
|
||||
#define __tmpcosmo_CSTOPB -1893740371
|
||||
#define __tmpcosmo_ECHOCTL 1839844219
|
||||
#define __tmpcosmo_ECHOE -462490559
|
||||
#define __tmpcosmo_ECHOK 2582183
|
||||
#define __tmpcosmo_ECHOKE 1807548346
|
||||
#define __tmpcosmo_ECHONL -1627629800
|
||||
#define __tmpcosmo_ECHOPRT 789779244
|
||||
#define __tmpcosmo_ENDRUNDISC 890493373
|
||||
#define __tmpcosmo_EXTA -1952310979
|
||||
#define __tmpcosmo_EXTB -1924899818
|
||||
#define __tmpcosmo_EXTPROC 1954282515
|
||||
#define __tmpcosmo_FLUSHO -1439777831
|
||||
#define __tmpcosmo_H4DISC -383446731
|
||||
#define __tmpcosmo_HUPCL -1762956935
|
||||
#define __tmpcosmo_ICANON 1391597225
|
||||
#define __tmpcosmo_IEXTEN -2017256995
|
||||
#define __tmpcosmo_ISIG 1460108174
|
||||
#define __tmpcosmo_IUCLC 1013808696
|
||||
#define __tmpcosmo_IUTF8 1988433768
|
||||
#define __tmpcosmo_IXOFF -206825490
|
||||
#define __tmpcosmo_IXON -1157774462
|
||||
#define __tmpcosmo_NETGRAPHDISC -99256515
|
||||
#define __tmpcosmo_NMEADISC -74984305
|
||||
#define __tmpcosmo_NOFLSH -1818319598
|
||||
#define __tmpcosmo_OCRNL -1553778506
|
||||
#define __tmpcosmo_OFDEL 424931285
|
||||
#define __tmpcosmo_OFILL -414167674
|
||||
#define __tmpcosmo_OLCUC 2114383293
|
||||
#define __tmpcosmo_ONLCR -1154324374
|
||||
#define __tmpcosmo_ONLRET -639724866
|
||||
#define __tmpcosmo_ONOCR -490882729
|
||||
#define __tmpcosmo_PARENB -1774689151
|
||||
#define __tmpcosmo_PARODD -404286749
|
||||
#define __tmpcosmo_PENDIN -619915085
|
||||
#define __tmpcosmo_PPPDISC -1392399884
|
||||
#define __tmpcosmo_SLIPDISC -183947027
|
||||
#define __tmpcosmo_STRIPDISC 2025122243
|
||||
#define __tmpcosmo_TABLDISC -1858378918
|
||||
#define __tmpcosmo_TCFLSH -243453721
|
||||
#define __tmpcosmo_TCGETS -916893397
|
||||
#define __tmpcosmo_TCIFLUSH 1056759293
|
||||
#define __tmpcosmo_TCIOFF -737116690
|
||||
#define __tmpcosmo_TCIOFLUSH -342999896
|
||||
#define __tmpcosmo_TCION 520326151
|
||||
#define __tmpcosmo_TCOFLUSH 659539281
|
||||
#define __tmpcosmo_TCOOFF 478400994
|
||||
#define __tmpcosmo_TCOON 1521058272
|
||||
#define __tmpcosmo_TCSBRK 1276777613
|
||||
#define __tmpcosmo_TCSETS 535983615
|
||||
#define __tmpcosmo_TCSETSF 659034961
|
||||
#define __tmpcosmo_TCSETSW 1654950622
|
||||
#define __tmpcosmo_TCXONC -647714748
|
||||
#define __tmpcosmo_TIOCCBRK 1839061556
|
||||
#define __tmpcosmo_TIOCCDTR -752068369
|
||||
#define __tmpcosmo_TIOCCHKVERAUTH -1183922440
|
||||
#define __tmpcosmo_TIOCCONS 1455144588
|
||||
#define __tmpcosmo_TIOCEXT 186515040
|
||||
#define __tmpcosmo_TIOCFLAG_CLOCAL 698005770
|
||||
#define __tmpcosmo_TIOCFLAG_MDMBUF 1422045049
|
||||
#define __tmpcosmo_TIOCFLAG_PPS -620931778
|
||||
#define __tmpcosmo_TIOCFLAG_SOFTCAR -140438205
|
||||
#define __tmpcosmo_TIOCFLUSH 516222339
|
||||
#define __tmpcosmo_TIOCGDRAINWAIT -842950172
|
||||
#define __tmpcosmo_TIOCGETD 470897144
|
||||
#define __tmpcosmo_TIOCGFLAGS 713359628
|
||||
#define __tmpcosmo_TIOCGPGRP 1020495911
|
||||
#define __tmpcosmo_TIOCGPTN 67701595
|
||||
#define __tmpcosmo_TIOCGSID -1924582947
|
||||
#define __tmpcosmo_TIOCGTSTAMP 1116108087
|
||||
#define __tmpcosmo_TIOCGWINSZ 965491756
|
||||
#define __tmpcosmo_TIOCNOTTY 1073131930
|
||||
#define __tmpcosmo_TIOCNXCL 1210582499
|
||||
#define __tmpcosmo_TIOCOUTQ 1063967309
|
||||
#define __tmpcosmo_TIOCPTMASTER -1722245149
|
||||
#define __tmpcosmo_TIOCREMOTE -478898903
|
||||
#define __tmpcosmo_TIOCSBRK -1827728950
|
||||
#define __tmpcosmo_TIOCSCTTY -1994241678
|
||||
#define __tmpcosmo_TIOCSDRAINWAIT 2088849044
|
||||
#define __tmpcosmo_TIOCSDTR -1218831027
|
||||
#define __tmpcosmo_TIOCSERGETLSR -196763909
|
||||
#define __tmpcosmo_TIOCSERGETMULTI -1904826952
|
||||
#define __tmpcosmo_TIOCSERSETMULTI -2096909859
|
||||
#define __tmpcosmo_TIOCSER_TEMT 762771473
|
||||
#define __tmpcosmo_TIOCSETD -860412918
|
||||
#define __tmpcosmo_TIOCSETVERAUTH -1550886356
|
||||
#define __tmpcosmo_TIOCSFLAGS 1899558086
|
||||
#define __tmpcosmo_TIOCSIG 975589334
|
||||
#define __tmpcosmo_TIOCSPGRP -1362234385
|
||||
#define __tmpcosmo_TIOCSTART -1106632595
|
||||
#define __tmpcosmo_TIOCSTAT -1240783913
|
||||
#define __tmpcosmo_TIOCSTI 1704247727
|
||||
#define __tmpcosmo_TIOCSTSTAMP 290377566
|
||||
#define __tmpcosmo_TIOCSWINSZ -273178782
|
||||
#define __tmpcosmo_TIOCTIMESTAMP -167408548
|
||||
#define __tmpcosmo_TIOCUCNTL_CBRK -1260429107
|
||||
#define __tmpcosmo_TOSTOP 1907739786
|
||||
#define __tmpcosmo_TTYDISC -1450700552
|
||||
#define __tmpcosmo_VDISCARD 1773966586
|
||||
#define __tmpcosmo_VEOF 1992016613
|
||||
#define __tmpcosmo_VEOL 1926565027
|
||||
#define __tmpcosmo_VEOL2 -1297272191
|
||||
#define __tmpcosmo_VERASE 864859287
|
||||
#define __tmpcosmo_VERIFY 1512705907
|
||||
#define __tmpcosmo_VINTR -973181253
|
||||
#define __tmpcosmo_VKILL 1764217477
|
||||
#define __tmpcosmo_VLNEXT -1045308606
|
||||
#define __tmpcosmo_VMIN 1479455781
|
||||
#define __tmpcosmo_VQUIT 853995221
|
||||
#define __tmpcosmo_VREPRINT 868062415
|
||||
#define __tmpcosmo_VSTART -245321985
|
||||
#define __tmpcosmo_VSTOP -1379951528
|
||||
#define __tmpcosmo_VSUSP -1054959499
|
||||
#define __tmpcosmo_VSWTC 1631975394
|
||||
#define __tmpcosmo_VTIME -942478376
|
||||
#define __tmpcosmo_VWERASE -908507167
|
||||
#define __tmpcosmo_XCASE -34176757
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_TERMIOS_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MOUNT_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MOUNT_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -13,10 +12,10 @@ extern const int MNT_BYFSID;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define MNT_FORCE SYMBOLIC(MNT_FORCE)
|
||||
#define MNT_DETACH SYMBOLIC(MNT_DETACH)
|
||||
#define MNT_EXPIRE SYMBOLIC(MNT_EXPIRE)
|
||||
#define UMOUNT_NOFOLLOW SYMBOLIC(UMOUNT_NOFOLLOW)
|
||||
#define MNT_BYFSID SYMBOLIC(MNT_BYFSID)
|
||||
#define MNT_FORCE MNT_FORCE
|
||||
#define MNT_DETACH MNT_DETACH
|
||||
#define MNT_EXPIRE MNT_EXPIRE
|
||||
#define UMOUNT_NOFOLLOW UMOUNT_NOFOLLOW
|
||||
#define MNT_BYFSID MNT_BYFSID
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MOUNT_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_UTIME_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_UTIME_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -10,7 +9,10 @@ extern const int UTIME_OMIT;
|
|||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define UTIME_NOW SYMBOLIC(UTIME_NOW)
|
||||
#define UTIME_OMIT SYMBOLIC(UTIME_OMIT)
|
||||
#define UTIME_NOW UTIME_NOW
|
||||
#define UTIME_OMIT UTIME_OMIT
|
||||
|
||||
#define __tmpcosmo_UTIME_NOW -1726174975
|
||||
#define __tmpcosmo_UTIME_OMIT 815598978
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_UTIME_H_ */
|
||||
|
|
|
@ -7,11 +7,13 @@ extern const int WNOHANG;
|
|||
extern const int WUNTRACED;
|
||||
extern const int WCONTINUED;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define WNOHANG 1
|
||||
#define WUNTRACED WUNTRACED
|
||||
#define WCONTINUED WCONTINUED
|
||||
|
||||
#define __tmpcosmo_WCONTINUED 936005225
|
||||
#define __tmpcosmo_WUNTRACED -1820879514
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_W_H_ */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_WAITID_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_WAITID_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -8,11 +7,14 @@ extern const int WEXITED;
|
|||
extern const int WSTOPPED;
|
||||
extern const int WNOWAIT;
|
||||
|
||||
#define WEXITED WEXITED
|
||||
#define WSTOPPED WSTOPPED
|
||||
#define WNOWAIT WNOWAIT
|
||||
|
||||
#define __tmpcosmo_WEXITED 1050022740
|
||||
#define __tmpcosmo_WSTOPPED 1487795159
|
||||
#define __tmpcosmo_WNOWAIT -1738934425
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define WEXITED SYMBOLIC(WEXITED)
|
||||
#define WSTOPPED SYMBOLIC(WSTOPPED)
|
||||
#define WNOWAIT SYMBOLIC(WNOWAIT)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_WAITID_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue