path
stringlengths
14
112
content
stringlengths
0
6.32M
size
int64
0
6.32M
max_lines
int64
1
100k
repo_name
stringclasses
2 values
autogenerated
bool
1 class
cosmopolitan/libc/sysv/consts/sf.h
#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_ struct sf_hdtr { struct iovec *headers; int hdr_cnt; struct iovec *trailers; int trl_cnt; }; extern const int SF_MNOWAIT; extern const int SF_NODISKIO; extern const int SF_SYNC; 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_ */
611
26
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ELIBEXEC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon junkerr,ELIBEXEC,83,83,-1,-1,-1,-1,-1,-1
95
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_mremap.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_mremap,0x0019,0x00d8,0xfff,0xfff,0xfff,0xfff,0x19b,0xfff
119
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AF_BRIDGE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon af,AF_BRIDGE,7,7,0,0,0,0,0,0
83
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EIO.S
#include "libc/sysv/consts/syscon.internal.h" .syscon errno,EIO,5,5,5,5,5,5,5,1117
83
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/shm.h
#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) #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ extern const char *SHM_ANON; extern const int SHM_DEST; extern const int SHM_EXEC; extern const int SHM_HUGETLB; extern const int SHM_INFO; extern const int SHM_LOCK; extern const int SHM_LOCKED; extern const int SHM_NORESERVE; extern const int SHM_R; extern const int SHM_RDONLY; extern const int SHM_REMAP; extern const int SHM_RND; extern const int SHM_STAT; extern const int SHM_UNLOCK; extern const int SHM_W; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_ */
1,344
43
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/OCRNL.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,OCRNL,0b0000000000001000,0b0000000000001000,0b000000000000010000,0b000000000000010000,0b000000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000001000
226
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/B200.S
#include "libc/sysv/consts/syscon.internal.h" .syscon baud,B200,6,6,200,200,200,200,200,200
92
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/T_FMT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,T_FMT,0x02002a,0x02002a,3,3,3,2,2,0
95
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_lsetxattr.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_lsetxattr,0x00bd,0x0006,0xfff,0xfff,0xfff,0xfff,0x178,0xfff
122
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MSG_ERRQUEUE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon msg,MSG_ERRQUEUE,0x2000,0x2000,0,0,0,0,0,0x1000
102
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_seccomp.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_seccomp,0x013d,0x0115,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
120
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ip.h
#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_ extern const int IP_ADD_MEMBERSHIP; extern const int IP_ADD_SOURCE_MEMBERSHIP; extern const int IP_BIND_ADDRESS_NO_PORT; extern const int IP_BLOCK_SOURCE; extern const int IP_CHECKSUM; extern const int IP_DEFAULT_MULTICAST_LOOP; extern const int IP_DEFAULT_MULTICAST_TTL; extern const int IP_DROP_MEMBERSHIP; extern const int IP_DROP_SOURCE_MEMBERSHIP; extern const int IP_FREEBIND; extern const int IP_HDRINCL; extern const int IP_IPSEC_POLICY; extern const int IP_MAX_MEMBERSHIPS; extern const int IP_MINTTL; extern const int IP_MSFILTER; extern const int IP_MTU; extern const int IP_MTU_DISCOVER; extern const int IP_MULTICAST_ALL; extern const int IP_MULTICAST_IF; extern const int IP_MULTICAST_LOOP; extern const int IP_MULTICAST_TTL; extern const int IP_NODEFRAG; extern const int IP_OPTIONS; extern const int IP_ORIGDSTADDR; extern const int IP_PASSSEC; extern const int IP_PKTINFO; extern const int IP_PKTOPTIONS; extern const int IP_PMTUDISC; extern const int IP_PMTUDISC_DO; extern const int IP_PMTUDISC_DONT; extern const int IP_PMTUDISC_INTERFACE; extern const int IP_PMTUDISC_OMIT; extern const int IP_PMTUDISC_PROBE; extern const int IP_PMTUDISC_WANT; extern const int IP_RECVDSTADDR; extern const int IP_RECVERR; extern const int IP_RECVOPTS; extern const int IP_RECVORIGDSTADDR; extern const int IP_RECVRETOPTS; extern const int IP_RECVTOS; extern const int IP_RECVTTL; extern const int IP_RETOPTS; extern const int IP_ROUTER_ALERT; extern const int IP_TOS; extern const int IP_TRANSPARENT; extern const int IP_TTL; extern const int IP_UNBLOCK_SOURCE; extern const int IP_UNICAST_IF; extern const int IP_XFRM_POLICY; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IP_H_ */
4,843
111
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PTRACE_PEEKSIGINFO.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ptrace,PTRACE_PEEKSIGINFO,0x4209,0x4209,-1,-1,-1,-1,-1,-1
112
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_get_mempolicy.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_get_mempolicy,0x00ef,0x00ec,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
126
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/O_APPEND.S
#include "libc/sysv/consts/syscon.internal.h" .syscon open,O_APPEND,0x00000400,0x00000400,8,8,8,8,8,0x00000400
111
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/BUS_ADRERR.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sicode,BUS_ADRERR,2,2,2,2,2,2,2,2
88
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/itimer.h
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ITIMER_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_ITIMER_H_ #define ITIMER_REAL 0 #define ITIMER_VIRTUAL 1 #define ITIMER_PROF 2 #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_ITIMER_H_ */
226
9
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MAP_ANONYMOUS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mmap,MAP_ANONYMOUS,0x00000020,0x00000020,0x00001000,0x00001000,0x00001000,0x00001000,0x00001000,0x00000020
161
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIOCGIFDSTADDR.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sio,SIOCGIFDSTADDR,0x8917,0x8917,0xc0206922,0xc0206922,0xc0206922,0xc0206922,0xc0206922,0
144
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/FIFOTYPE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,FIFOTYPE,54,54,54,54,54,54,54,0
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IXON.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,IXON,0b0000010000000000,0b0000010000000000,0b0000001000000000,0b0000001000000000,0b0000001000000000,0b0000001000000000,0b0000001000000000,0b0000010000000000
219
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/O_SEQUENTIAL.S
#include "libc/sysv/consts/syscon.internal.h" .syscon open,O_SEQUENTIAL,0,0,0,0,0,0,0,0x40000000
97
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TIOCPTYGNAME.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,TIOCPTYGNAME,0,0,0x40807453,0x40807453,0,0,0,0
109
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TIOCTIMESTAMP.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,TIOCTIMESTAMP,0,0,0x40107459,0x40107459,0x40107459,0,0,0
119
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_bpf.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_bpf,0x0141,0x0118,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
116
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPV6_2292RTHDR.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ipv6,IPV6_2292RTHDR,5,5,24,24,0,0,0,0
92
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_munmap.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_munmap,0x000b,0x00d7,0x2000049,0x0049,0x0049,0x0049,0x049,0xfff
126
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MSG_CMSG_CLOEXEC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon msg,MSG_CMSG_CLOEXEC,0x40000000,0x40000000,0,0,0x040000,0x0800,0x0800,0
126
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MADV_DOFORK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon madv,MADV_DOFORK,11,11,127,127,127,127,127,127
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPV6_MINHOPCOUNT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ipv6,IPV6_MINHOPCOUNT,0,0,0,0,0,65,65,0
94
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PERSISTENT_RESERVE_OUT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,PERSISTENT_RESERVE_OUT,95,95,0,0,0,0,0,0
100
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/iff.h
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IFF_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_IFF_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ extern const int IFF_UP; extern const int IFF_ALLMULTI; extern const int IFF_AUTOMEDIA; extern const int IFF_BROADCAST; extern const int IFF_DEBUG; extern const int IFF_DYNAMIC; extern const int IFF_LOOPBACK; extern const int IFF_MASTER; extern const int IFF_MULTICAST; extern const int IFF_NOARP; extern const int IFF_NOTRAILERS; extern const int IFF_POINTOPOINT; extern const int IFF_PORTSEL; extern const int IFF_PROMISC; extern const int IFF_RUNNING; extern const int IFF_SLAVE; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #define IFF_UP 1 #define IFF_BROADCAST 2 #define IFF_DEBUG 4 #define IFF_LOOPBACK 8 #define IFF_ALLMULTI IFF_ALLMULTI #define IFF_AUTOMEDIA IFF_AUTOMEDIA #define IFF_DYNAMIC IFF_DYNAMIC #define IFF_MASTER IFF_MASTER #define IFF_MULTICAST IFF_MULTICAST #define IFF_NOARP IFF_NOARP #define IFF_NOTRAILERS IFF_NOTRAILERS #define IFF_POINTOPOINT IFF_POINTOPOINT #define IFF_PORTSEL IFF_PORTSEL #define IFF_PROMISC IFF_PROMISC #define IFF_RUNNING IFF_RUNNING #define IFF_SLAVE IFF_SLAVE #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IFF_H_ */
1,297
44
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPV6_LEAVE_GROUP.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ipv6,IPV6_LEAVE_GROUP,21,21,13,13,13,13,13,13
100
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TIOCGFLAGS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,TIOCGFLAGS,0,0,0,0,0,0x4004745d,0x4004745d,0
107
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/POLL_IN.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sicode,POLL_IN,1,1,1,1,1,1,1,1
85
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AF_NETROM.S
#include "libc/sysv/consts/syscon.internal.h" .syscon af,AF_NETROM,6,6,0,0,0,0,0,0
83
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TFD_CLOEXEC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,TFD_CLOEXEC,0x080000,0x080000,0,0,0,0,0,0
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PF_ROUTE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon pf,PF_ROUTE,0x10,0x10,17,17,17,17,17,0
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PTRACE_SETFPXREGS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ptrace,PTRACE_SETFPXREGS,19,19,-1,-1,-1,-1,-1,-1
103
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/CDISCARD.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,CDISCARD,15,15,15,15,15,15,15,0
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PTRACE_SETOPTIONS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ptrace,PTRACE_SETOPTIONS,0x4200,0x4200,-1,-1,-1,-1,-1,-1
111
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/F_SETSIG.S
#include "libc/sysv/consts/syscon.internal.h" .syscon fcntl,F_SETSIG,10,10,-1,-1,-1,-1,-1,-1
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SOL_ICMPV6.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sol,SOL_ICMPV6,58,58,58,58,58,58,58,-1
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TRAP_TRACE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sicode,TRAP_TRACE,2,2,2,2,2,2,2,2
88
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/rlimit.h
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIMIT_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIMIT_H_ #include "libc/runtime/symbolic.h" #define RLIMIT_AS SYMBOLIC(RLIMIT_AS) #define RLIMIT_CORE SYMBOLIC(RLIMIT_CORE) #define RLIMIT_CPU SYMBOLIC(RLIMIT_CPU) #define RLIMIT_DATA SYMBOLIC(RLIMIT_DATA) #define RLIMIT_FSIZE SYMBOLIC(RLIMIT_FSIZE) #define RLIMIT_LOCKS SYMBOLIC(RLIMIT_LOCKS) #define RLIMIT_MEMLOCK SYMBOLIC(RLIMIT_MEMLOCK) #define RLIMIT_MSGQUEUE SYMBOLIC(RLIMIT_MSGQUEUE) #define RLIMIT_NICE SYMBOLIC(RLIMIT_NICE) #define RLIMIT_NOFILE SYMBOLIC(RLIMIT_NOFILE) #define RLIMIT_NPROC SYMBOLIC(RLIMIT_NPROC) #define RLIMIT_NPTS SYMBOLIC(RLIMIT_NPTS) #define RLIMIT_RSS SYMBOLIC(RLIMIT_RSS) #define RLIMIT_RTPRIO SYMBOLIC(RLIMIT_RTPRIO) #define RLIMIT_RTTIME SYMBOLIC(RLIMIT_RTTIME) #define RLIMIT_SBSIZE SYMBOLIC(RLIMIT_SBSIZE) #define RLIMIT_SIGPENDING SYMBOLIC(RLIMIT_SIGPENDING) #define RLIMIT_STACK SYMBOLIC(RLIMIT_STACK) #define RLIMIT_SWAP SYMBOLIC(RLIMIT_SWAP) #define RLIMIT_VMEM SYMBOLIC(RLIMIT_VMEM) #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ extern const uint64_t RLIMIT_AS; extern const uint64_t RLIMIT_CORE; extern const uint64_t RLIMIT_CPU; extern const uint64_t RLIMIT_DATA; extern const uint64_t RLIMIT_FSIZE; extern const uint64_t RLIMIT_LOCKS; extern const uint64_t RLIMIT_MEMLOCK; extern const uint64_t RLIMIT_MSGQUEUE; extern const uint64_t RLIMIT_NICE; extern const uint64_t RLIMIT_NOFILE; extern const uint64_t RLIMIT_NPROC; extern const uint64_t RLIMIT_NPTS; extern const uint64_t RLIMIT_RSS; extern const uint64_t RLIMIT_RTPRIO; extern const uint64_t RLIMIT_RTTIME; extern const uint64_t RLIMIT_SBSIZE; extern const uint64_t RLIMIT_SIGPENDING; extern const uint64_t RLIMIT_STACK; extern const uint64_t RLIMIT_SWAP; extern const uint64_t RLIMIT_VMEM; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIMIT_H_ */
2,017
53
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_syslog.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_syslog,0x0067,0x0074,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
119
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MSG_WAITALL.S
#include "libc/sysv/consts/syscon.internal.h" .syscon msg,MSG_WAITALL,0x0100,0x0100,0x40,0x40,0x40,0x40,0x40,8
111
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/WNOHANG.S
#include "libc/sysv/consts/syscon.internal.h" .syscon waitpid,WNOHANG,1,1,1,1,1,1,1,1
86
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IP_ORIGDSTADDR.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ip,IP_ORIGDSTADDR,20,20,0,0,27,0,0,0
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/VEOL2.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,VEOL2,16+1,16+1,2,2,2,2,2,16
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/O_RDONLY.S
#include "libc/sysv/consts/syscon.internal.h" .syscon open,O_RDONLY,0,0,0,0,0,0,0,0
84
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TOWRITE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,TOWRITE,2,2,2,2,2,2,2,0
83
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SO_USELOOPBACK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon so,SO_USELOOPBACK,0,0,0x40,0x40,0x40,0x40,0x40,0x40
106
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_setfsgid.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_setfsgid,0x007b,0x0098,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
121
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MNT_DETACH.S
#include "libc/sysv/consts/syscon.internal.h" .syscon unmount,MNT_DETACH,2,2,0,0,0,0,0,0
89
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/so.h
#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_ extern const int LOCAL_PEERCRED; extern const int SO_ACCEPTCONN; extern const int SO_ATTACH_BPF; extern const int SO_ATTACH_FILTER; extern const int SO_ATTACH_REUSEPORT_CBPF; extern const int SO_ATTACH_REUSEPORT_EBPF; extern const int SO_BINDTODEVICE; extern const int SO_BPF_EXTENSIONS; extern const int SO_BROADCAST; extern const int SO_BSDCOMPAT; extern const int SO_BUSY_POLL; extern const int SO_CNX_ADVICE; extern const int SO_DEBUG; extern const int SO_DETACH_BPF; extern const int SO_DETACH_FILTER; extern const int SO_DOMAIN; extern const int SO_DONTROUTE; extern const int SO_ERROR; extern const int SO_EXCLUSIVEADDRUSE; extern const int SO_GET_FILTER; extern const int SO_INCOMING_CPU; extern const int SO_KEEPALIVE; extern const int SO_LINGER; extern const int SO_LOCK_FILTER; extern const int SO_MARK; extern const int SO_MAX_PACING_RATE; extern const int SO_NOFCS; extern const int SO_NO_CHECK; extern const int SO_OOBINLINE; extern const int SO_PASSCRED; extern const int SO_PASSSEC; extern const int SO_PEEK_OFF; extern const int SO_PEERCRED; extern const int SO_PEERNAME; extern const int SO_PEERSEC; extern const int SO_PRIORITY; extern const int SO_PROTOCOL; extern const int SO_RCVBUF; extern const int SO_RCVBUFFORCE; extern const int SO_RCVLOWAT; extern const int SO_RCVTIMEO; extern const int SO_REUSEADDR; extern const int SO_REUSEPORT; extern const int SO_RXQ_OVFL; extern const int SO_SECURITY_AUTHENTICATION; extern const int SO_SECURITY_ENCRYPTION_NETWORK; extern const int SO_SECURITY_ENCRYPTION_TRANSPORT; extern const int SO_SELECT_ERR_QUEUE; extern const int SO_SETFIB; extern const int SO_SNDBUF; extern const int SO_SNDBUFFORCE; extern const int SO_SNDLOWAT; extern const int SO_SNDTIMEO; extern const int SO_TIMESTAMP; extern const int SO_TIMESTAMPING; extern const int SO_TIMESTAMPNS; extern const int SO_TYPE; extern const int SO_USELOOPBACK; extern const int SO_WIFI_STATUS; 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_ */
5,608
134
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/B115200.S
#include "libc/sysv/consts/syscon.internal.h" .syscon baud,B115200,0x1002,0x1002,115200,115200,115200,115200,115200,115200
123
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_cpuset_setaffinity.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_cpuset_setaffinity,0xfff,0xfff,0xfff,0xfff,0x01e8,0xfff,0xfff,0xfff
130
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/O_SEARCH.S
#include "libc/sysv/consts/syscon.internal.h" .syscon open,O_SEARCH,0,0,0,0,0x00040000,0,0x00800000,0
102
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MNT_STRICTATIME.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mount,MNT_STRICTATIME,0x01000000,0x01000000,0x80000000,0x80000000,0,0,0,0
128
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ICMP6_DST_UNREACH_BEYONDSCOPE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon icmp6,ICMP6_DST_UNREACH_BEYONDSCOPE,2,2,2,2,2,2,2,2
106
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TIOCCDTR.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,TIOCCDTR,0,0,0x20007478,0x20007478,0x20007478,0x20007478,0x20007478,0
132
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EBADRPC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon errno,EBADRPC,300,300,72,72,72,72,72,1626
96
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AT_GID.S
#include "libc/sysv/consts/syscon.internal.h" .syscon auxv,AT_GID,13,13,13,13,0,0,2003,0
89
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_epoll_ctl.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_epoll_ctl,0x00e9,0x0015,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
122
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPV6_RTHDR_LOOSE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ipv6,IPV6_RTHDR_LOOSE,0,0,0,0,0,0,0,0
92
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/nrlinux.h
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_NRLINUX_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_NRLINUX_H_ #ifdef __x86_64__ #define __NR_linux_exit 0x003c #define __NR_linux_exit_group 0x00e7 #define __NR_linux_read 0x0000 #define __NR_linux_write 0x0001 #define __NR_linux_open 0x0002 #define __NR_linux_close 0x0003 #define __NR_linux_stat 0x0004 #define __NR_linux_fstat 0x0005 #define __NR_linux_lstat 0x0006 #define __NR_linux_poll 0x0007 #define __NR_linux_ppoll 0x010f #define __NR_linux_brk 0x000c #define __NR_linux_sigreturn 0x000f #define __NR_linux_lseek 0x0008 #define __NR_linux_mmap 0x0009 #define __NR_linux_msync 0x001a #define __NR_linux_mprotect 0x000a #define __NR_linux_munmap 0x000b #define __NR_linux_sigaction 0x000d #define __NR_linux_sigprocmask 0x000e #define __NR_linux_ioctl 0x0010 #define __NR_linux_pread 0x0011 #define __NR_linux_pwrite 0x0012 #define __NR_linux_readv 0x0013 #define __NR_linux_writev 0x0014 #define __NR_linux_access 0x0015 #define __NR_linux_pipe 0x0016 #define __NR_linux_select 0x0017 #define __NR_linux_pselect6 0x010e #define __NR_linux_sched_yield 0x0018 #define __NR_linux_mremap 0x0019 #define __NR_linux_mincore 0x001b #define __NR_linux_madvise 0x001c #define __NR_linux_shmget 0x001d #define __NR_linux_shmat 0x001e #define __NR_linux_shmctl 0x001f #define __NR_linux_dup 0x0020 #define __NR_linux_dup2 0x0021 #define __NR_linux_pause 0x0022 #define __NR_linux_nanosleep 0x0023 #define __NR_linux_getitimer 0x0024 #define __NR_linux_setitimer 0x0026 #define __NR_linux_alarm 0x0025 #define __NR_linux_getpid 0x0027 #define __NR_linux_sendfile 0x0028 #define __NR_linux_socket 0x0029 #define __NR_linux_connect 0x002a #define __NR_linux_accept 0x002b #define __NR_linux_sendto 0x002c #define __NR_linux_recvfrom 0x002d #define __NR_linux_sendmsg 0x002e #define __NR_linux_recvmsg 0x002f #define __NR_linux_shutdown 0x0030 #define __NR_linux_bind 0x0031 #define __NR_linux_listen 0x0032 #define __NR_linux_getsockname 0x0033 #define __NR_linux_getpeername 0x0034 #define __NR_linux_socketpair 0x0035 #define __NR_linux_setsockopt 0x0036 #define __NR_linux_getsockopt 0x0037 #define __NR_linux_fork 0x0039 #define __NR_linux_vfork 0x003a #define __NR_linux_execve 0x003b #define __NR_linux_wait4 0x003d #define __NR_linux_kill 0x003e #define __NR_linux_clone 0x0038 #define __NR_linux_tkill 0x00c8 #define __NR_linux_futex 0x00ca #define __NR_linux_set_robust_list 0x0111 #define __NR_linux_get_robust_list 0x0112 #define __NR_linux_uname 0x003f #define __NR_linux_semget 0x0040 #define __NR_linux_semop 0x0041 #define __NR_linux_semctl 0x0042 #define __NR_linux_shmdt 0x0043 #define __NR_linux_msgget 0x0044 #define __NR_linux_msgsnd 0x0045 #define __NR_linux_msgrcv 0x0046 #define __NR_linux_msgctl 0x0047 #define __NR_linux_fcntl 0x0048 #define __NR_linux_flock 0x0049 #define __NR_linux_fsync 0x004a #define __NR_linux_fdatasync 0x004b #define __NR_linux_truncate 0x004c #define __NR_linux_ftruncate 0x004d #define __NR_linux_getcwd 0x004f #define __NR_linux_chdir 0x0050 #define __NR_linux_fchdir 0x0051 #define __NR_linux_rename 0x0052 #define __NR_linux_mkdir 0x0053 #define __NR_linux_rmdir 0x0054 #define __NR_linux_creat 0x0055 #define __NR_linux_link 0x0056 #define __NR_linux_unlink 0x0057 #define __NR_linux_symlink 0x0058 #define __NR_linux_readlink 0x0059 #define __NR_linux_chmod 0x005a #define __NR_linux_fchmod 0x005b #define __NR_linux_chown 0x005c #define __NR_linux_fchown 0x005d #define __NR_linux_lchown 0x005e #define __NR_linux_umask 0x005f #define __NR_linux_gettimeofday 0x0060 #define __NR_linux_getrlimit 0x0061 #define __NR_linux_getrusage 0x0062 #define __NR_linux_sysinfo 0x0063 #define __NR_linux_times 0x0064 #define __NR_linux_ptrace 0x0065 #define __NR_linux_syslog 0x0067 #define __NR_linux_getuid 0x0066 #define __NR_linux_getgid 0x0068 #define __NR_linux_getppid 0x006e #define __NR_linux_getpgrp 0x006f #define __NR_linux_setsid 0x0070 #define __NR_linux_getsid 0x007c #define __NR_linux_getpgid 0x0079 #define __NR_linux_setpgid 0x006d #define __NR_linux_geteuid 0x006b #define __NR_linux_getegid 0x006c #define __NR_linux_getgroups 0x0073 #define __NR_linux_setgroups 0x0074 #define __NR_linux_setreuid 0x0071 #define __NR_linux_setregid 0x0072 #define __NR_linux_setuid 0x0069 #define __NR_linux_setgid 0x006a #define __NR_linux_setresuid 0x0075 #define __NR_linux_setresgid 0x0077 #define __NR_linux_getresuid 0x0076 #define __NR_linux_getresgid 0x0078 #define __NR_linux_sigpending 0x007f #define __NR_linux_sigsuspend 0x0082 #define __NR_linux_sigaltstack 0x0083 #define __NR_linux_mknod 0x0085 #define __NR_linux_mknodat 0x0103 #define __NR_linux_statfs 0x0089 #define __NR_linux_fstatfs 0x008a #define __NR_linux_getpriority 0x008c #define __NR_linux_setpriority 0x008d #define __NR_linux_mlock 0x0095 #define __NR_linux_munlock 0x0096 #define __NR_linux_mlockall 0x0097 #define __NR_linux_munlockall 0x0098 #define __NR_linux_setrlimit 0x00a0 #define __NR_linux_chroot 0x00a1 #define __NR_linux_sync 0x00a2 #define __NR_linux_acct 0x00a3 #define __NR_linux_settimeofday 0x00a4 #define __NR_linux_mount 0x00a5 #define __NR_linux_reboot 0x00a9 #define __NR_linux_quotactl 0x00b3 #define __NR_linux_setfsuid 0x007a #define __NR_linux_setfsgid 0x007b #define __NR_linux_capget 0x007d #define __NR_linux_capset 0x007e #define __NR_linux_sigtimedwait 0x0080 #define __NR_linux_sigqueueinfo 0x0081 #define __NR_linux_personality 0x0087 #define __NR_linux_ustat 0x0088 #define __NR_linux_sysfs 0x008b #define __NR_linux_sched_setparam 0x008e #define __NR_linux_sched_getparam 0x008f #define __NR_linux_sched_setscheduler 0x0090 #define __NR_linux_sched_getscheduler 0x0091 #define __NR_linux_sched_get_priority_max 0x0092 #define __NR_linux_sched_get_priority_min 0x0093 #define __NR_linux_sched_rr_get_interval 0x0094 #define __NR_linux_vhangup 0x0099 #define __NR_linux_modify_ldt 0x009a #define __NR_linux_pivot_root 0x009b #define __NR_linux__sysctl 0x009c #define __NR_linux_prctl 0x009d #define __NR_linux_arch_prctl 0x009e #define __NR_linux_adjtimex 0x009f #define __NR_linux_umount2 0x00a6 #define __NR_linux_swapon 0x00a7 #define __NR_linux_swapoff 0x00a8 #define __NR_linux_sethostname 0x00aa #define __NR_linux_setdomainname 0x00ab #define __NR_linux_iopl 0x00ac #define __NR_linux_ioperm 0x00ad #define __NR_linux_init_module 0x00af #define __NR_linux_delete_module 0x00b0 #define __NR_linux_gettid 0x00ba #define __NR_linux_readahead 0x00bb #define __NR_linux_setxattr 0x00bc #define __NR_linux_fsetxattr 0x00be #define __NR_linux_getxattr 0x00bf #define __NR_linux_fgetxattr 0x00c1 #define __NR_linux_listxattr 0x00c2 #define __NR_linux_flistxattr 0x00c4 #define __NR_linux_removexattr 0x00c5 #define __NR_linux_fremovexattr 0x00c7 #define __NR_linux_lsetxattr 0x00bd #define __NR_linux_lgetxattr 0x00c0 #define __NR_linux_llistxattr 0x00c3 #define __NR_linux_lremovexattr 0x00c6 #define __NR_linux_sched_setaffinity 0x00cb #define __NR_linux_sched_getaffinity 0x00cc #define __NR_linux_io_setup 0x00ce #define __NR_linux_io_destroy 0x00cf #define __NR_linux_io_getevents 0x00d0 #define __NR_linux_io_submit 0x00d1 #define __NR_linux_io_cancel 0x00d2 #define __NR_linux_lookup_dcookie 0x00d4 #define __NR_linux_epoll_create 0x00d5 #define __NR_linux_epoll_wait 0x00e8 #define __NR_linux_epoll_ctl 0x00e9 #define __NR_linux_getdents 0x00d9 #define __NR_linux_oldgetdents 0x004e #define __NR_linux_set_tid_address 0x00da #define __NR_linux_restart_syscall 0x00db #define __NR_linux_semtimedop 0x00dc #define __NR_linux_fadvise 0x00dd #define __NR_linux_timer_create 0x00de #define __NR_linux_timer_settime 0x00df #define __NR_linux_timer_gettime 0x00e0 #define __NR_linux_timer_getoverrun 0x00e1 #define __NR_linux_timer_delete 0x00e2 #define __NR_linux_clock_settime 0x00e3 #define __NR_linux_clock_gettime 0x00e4 #define __NR_linux_clock_getres 0x00e5 #define __NR_linux_clock_nanosleep 0x00e6 #define __NR_linux_tgkill 0x00ea #define __NR_linux_mbind 0x00ed #define __NR_linux_set_mempolicy 0x00ee #define __NR_linux_get_mempolicy 0x00ef #define __NR_linux_mq_open 0x00f0 #define __NR_linux_mq_unlink 0x00f1 #define __NR_linux_mq_timedsend 0x00f2 #define __NR_linux_mq_timedreceive 0x00f3 #define __NR_linux_mq_notify 0x00f4 #define __NR_linux_mq_getsetattr 0x00f5 #define __NR_linux_kexec_load 0x00f6 #define __NR_linux_waitid 0x00f7 #define __NR_linux_add_key 0x00f8 #define __NR_linux_request_key 0x00f9 #define __NR_linux_keyctl 0x00fa #define __NR_linux_ioprio_set 0x00fb #define __NR_linux_ioprio_get 0x00fc #define __NR_linux_inotify_init 0x00fd #define __NR_linux_inotify_add_watch 0x00fe #define __NR_linux_inotify_rm_watch 0x00ff #define __NR_linux_openat 0x0101 #define __NR_linux_mkdirat 0x0102 #define __NR_linux_fchownat 0x0104 #define __NR_linux_utime 0x0084 #define __NR_linux_utimes 0x00eb #define __NR_linux_futimesat 0x0105 #define __NR_linux_fstatat 0x0106 #define __NR_linux_unlinkat 0x0107 #define __NR_linux_renameat 0x0108 #define __NR_linux_linkat 0x0109 #define __NR_linux_symlinkat 0x010a #define __NR_linux_readlinkat 0x010b #define __NR_linux_fchmodat 0x010c #define __NR_linux_faccessat 0x010d #define __NR_linux_unshare 0x0110 #define __NR_linux_splice 0x0113 #define __NR_linux_tee 0x0114 #define __NR_linux_sync_file_range 0x0115 #define __NR_linux_vmsplice 0x0116 #define __NR_linux_migrate_pages 0x0100 #define __NR_linux_move_pages 0x0117 #define __NR_linux_preadv 0x0127 #define __NR_linux_pwritev 0x0128 #define __NR_linux_utimensat 0x0118 #define __NR_linux_fallocate 0x011d #define __NR_linux_accept4 0x0120 #define __NR_linux_dup3 0x0124 #define __NR_linux_pipe2 0x0125 #define __NR_linux_epoll_pwait 0x0119 #define __NR_linux_epoll_create1 0x0123 #define __NR_linux_perf_event_open 0x012a #define __NR_linux_inotify_init1 0x0126 #define __NR_linux_tgsigqueueinfo 0x0129 #define __NR_linux_signalfd 0x011a #define __NR_linux_signalfd4 0x0121 #define __NR_linux_eventfd 0x011c #define __NR_linux_eventfd2 0x0122 #define __NR_linux_timerfd_create 0x011b #define __NR_linux_timerfd_settime 0x011e #define __NR_linux_timerfd_gettime 0x011f #define __NR_linux_recvmmsg 0x012b #define __NR_linux_fanotify_init 0x012c #define __NR_linux_fanotify_mark 0x012d #define __NR_linux_prlimit 0x012e #define __NR_linux_name_to_handle_at 0x012f #define __NR_linux_open_by_handle_at 0x0130 #define __NR_linux_clock_adjtime 0x0131 #define __NR_linux_syncfs 0x0132 #define __NR_linux_sendmmsg 0x0133 #define __NR_linux_setns 0x0134 #define __NR_linux_getcpu 0x0135 #define __NR_linux_process_vm_readv 0x0136 #define __NR_linux_process_vm_writev 0x0137 #define __NR_linux_kcmp 0x0138 #define __NR_linux_finit_module 0x0139 #define __NR_linux_sched_setattr 0x013a #define __NR_linux_sched_getattr 0x013b #define __NR_linux_renameat2 0x013c #define __NR_linux_seccomp 0x013d #define __NR_linux_getrandom 0x013e #define __NR_linux_memfd_create 0x013f #define __NR_linux_kexec_file_load 0x0140 #define __NR_linux_bpf 0x0141 #define __NR_linux_execveat 0x0142 #define __NR_linux_userfaultfd 0x0143 #define __NR_linux_membarrier 0x0144 #define __NR_linux_mlock2 0x0145 #define __NR_linux_copy_file_range 0x0146 #define __NR_linux_preadv2 0x0147 #define __NR_linux_pwritev2 0x0148 #define __NR_linux_pkey_mprotect 0x0149 #define __NR_linux_pkey_alloc 0x014a #define __NR_linux_pkey_free 0x014b #define __NR_linux_statx 0x014c #define __NR_linux_io_pgetevents 0x014d #define __NR_linux_rseq 0x014e #define __NR_linux_pidfd_send_signal 0x01a8 #define __NR_linux_io_uring_setup 0x01a9 #define __NR_linux_io_uring_enter 0x01aa #define __NR_linux_io_uring_register 0x01ab #define __NR_linux_open_tree 0x01ac #define __NR_linux_move_mount 0x01ad #define __NR_linux_fsopen 0x01ae #define __NR_linux_fsconfig 0x01af #define __NR_linux_fsmount 0x01b0 #define __NR_linux_fspick 0x01b1 #define __NR_linux_pidfd_open 0x01b2 #define __NR_linux_clone3 0x01b3 #define __NR_linux_close_range 0x01b4 #define __NR_linux_openat2 0x01b5 #define __NR_linux_pidfd_getfd 0x01b6 #define __NR_linux_faccessat2 0x01b7 #define __NR_linux_process_madvise 0x01b8 #define __NR_linux_epoll_pwait2 0x01b9 #define __NR_linux_mount_setattr 0x01ba #define __NR_linux_quotactl_fd 0x01bb #define __NR_linux_landlock_create_ruleset 0x01bc #define __NR_linux_landlock_add_rule 0x01bd #define __NR_linux_landlock_restrict_self 0x01be #define __NR_linux_memfd_secret 0x01bf #define __NR_linux_process_mrelease 0x01c0 #define __NR_linux_futex_waitv 0x01c1 #define __NR_linux_set_mempolicy_home_node 0x01c2 #elif defined(__aarch64__) #define __NR_linux_exit 0x005d #define __NR_linux_exit_group 0x005e #define __NR_linux_read 0x003f #define __NR_linux_write 0x0040 #define __NR_linux_open 0x00b4 #define __NR_linux_close 0x0039 #define __NR_linux_stat 0x004f #define __NR_linux_fstat 0x0050 #define __NR_linux_ppoll 0x0049 #define __NR_linux_brk 0x00d6 #define __NR_linux_sigreturn 0x008b #define __NR_linux_lseek 0x003e #define __NR_linux_mmap 0x00de #define __NR_linux_msync 0x00e3 #define __NR_linux_mprotect 0x00e2 #define __NR_linux_munmap 0x00d7 #define __NR_linux_sigaction 0x0086 #define __NR_linux_sigprocmask 0x0087 #define __NR_linux_ioctl 0x001d #define __NR_linux_pread 0x0043 #define __NR_linux_pwrite 0x0044 #define __NR_linux_readv 0x0041 #define __NR_linux_writev 0x0042 #define __NR_linux_pselect6 0x0048 #define __NR_linux_sched_yield 0x007c #define __NR_linux_mremap 0x00d8 #define __NR_linux_mincore 0x00e8 #define __NR_linux_madvise 0x00e9 #define __NR_linux_shmget 0x00c2 #define __NR_linux_shmat 0x00c4 #define __NR_linux_shmctl 0x00c3 #define __NR_linux_dup 0x0017 #define __NR_linux_nanosleep 0x0065 #define __NR_linux_getitimer 0x0066 #define __NR_linux_setitimer 0x0067 #define __NR_linux_getpid 0x00ac #define __NR_linux_sendfile 0x0047 #define __NR_linux_socket 0x00c6 #define __NR_linux_connect 0x00cb #define __NR_linux_accept 0x00ca #define __NR_linux_sendto 0x00ce #define __NR_linux_recvfrom 0x00cf #define __NR_linux_sendmsg 0x00d3 #define __NR_linux_recvmsg 0x00d4 #define __NR_linux_shutdown 0x00d2 #define __NR_linux_bind 0x00c8 #define __NR_linux_listen 0x00c9 #define __NR_linux_getsockname 0x00cc #define __NR_linux_getpeername 0x00cd #define __NR_linux_socketpair 0x00c7 #define __NR_linux_setsockopt 0x00d0 #define __NR_linux_getsockopt 0x00d1 #define __NR_linux_execve 0x00dd #define __NR_linux_wait4 0x0104 #define __NR_linux_kill 0x0081 #define __NR_linux_clone 0x00dc #define __NR_linux_tkill 0x0082 #define __NR_linux_futex 0x0062 #define __NR_linux_set_robust_list 0x0063 #define __NR_linux_get_robust_list 0x0064 #define __NR_linux_uname 0x00a0 #define __NR_linux_semget 0x00be #define __NR_linux_semop 0x00c1 #define __NR_linux_semctl 0x00bf #define __NR_linux_shmdt 0x00c5 #define __NR_linux_msgget 0x00ba #define __NR_linux_msgsnd 0x00bd #define __NR_linux_msgrcv 0x00bc #define __NR_linux_msgctl 0x00bb #define __NR_linux_fcntl 0x0019 #define __NR_linux_flock 0x0020 #define __NR_linux_fsync 0x0052 #define __NR_linux_fdatasync 0x0053 #define __NR_linux_truncate 0x002d #define __NR_linux_ftruncate 0x002e #define __NR_linux_getcwd 0x0011 #define __NR_linux_chdir 0x0031 #define __NR_linux_fchdir 0x0032 #define __NR_linux_unlink 0x00b5 #define __NR_linux_fchmod 0x0034 #define __NR_linux_fchown 0x0037 #define __NR_linux_umask 0x00a6 #define __NR_linux_gettimeofday 0x00a9 #define __NR_linux_getrlimit 0x00a3 #define __NR_linux_getrusage 0x00a5 #define __NR_linux_sysinfo 0x00b3 #define __NR_linux_times 0x0099 #define __NR_linux_ptrace 0x0075 #define __NR_linux_syslog 0x0074 #define __NR_linux_getuid 0x00ae #define __NR_linux_getgid 0x00b0 #define __NR_linux_getppid 0x00ad #define __NR_linux_setsid 0x009d #define __NR_linux_getsid 0x009c #define __NR_linux_getpgid 0x009b #define __NR_linux_setpgid 0x009a #define __NR_linux_geteuid 0x00af #define __NR_linux_getegid 0x00b1 #define __NR_linux_getgroups 0x009e #define __NR_linux_setgroups 0x009f #define __NR_linux_setreuid 0x0091 #define __NR_linux_setregid 0x008f #define __NR_linux_setuid 0x0092 #define __NR_linux_setgid 0x0090 #define __NR_linux_setresuid 0x0093 #define __NR_linux_setresgid 0x0095 #define __NR_linux_getresuid 0x0094 #define __NR_linux_getresgid 0x0096 #define __NR_linux_sigpending 0x0088 #define __NR_linux_sigsuspend 0x0085 #define __NR_linux_sigaltstack 0x0084 #define __NR_linux_mknodat 0x0021 #define __NR_linux_statfs 0x002b #define __NR_linux_fstatfs 0x002c #define __NR_linux_getpriority 0x008d #define __NR_linux_setpriority 0x008c #define __NR_linux_mlock 0x00e4 #define __NR_linux_munlock 0x00e5 #define __NR_linux_mlockall 0x00e6 #define __NR_linux_munlockall 0x00e7 #define __NR_linux_setrlimit 0x00a4 #define __NR_linux_chroot 0x0033 #define __NR_linux_sync 0x0051 #define __NR_linux_acct 0x0059 #define __NR_linux_settimeofday 0x00aa #define __NR_linux_mount 0x0028 #define __NR_linux_reboot 0x008e #define __NR_linux_quotactl 0x003c #define __NR_linux_setfsuid 0x0097 #define __NR_linux_setfsgid 0x0098 #define __NR_linux_capget 0x005a #define __NR_linux_capset 0x005b #define __NR_linux_sigtimedwait 0x0089 #define __NR_linux_sigqueueinfo 0x008a #define __NR_linux_personality 0x005c #define __NR_linux_sched_setparam 0x0076 #define __NR_linux_sched_getparam 0x0079 #define __NR_linux_sched_setscheduler 0x0077 #define __NR_linux_sched_getscheduler 0x0078 #define __NR_linux_sched_get_priority_max 0x007d #define __NR_linux_sched_get_priority_min 0x007e #define __NR_linux_sched_rr_get_interval 0x007f #define __NR_linux_vhangup 0x003a #define __NR_linux_pivot_root 0x0029 #define __NR_linux_prctl 0x00a7 #define __NR_linux_adjtimex 0x00ab #define __NR_linux_umount2 0x0027 #define __NR_linux_swapon 0x00e0 #define __NR_linux_swapoff 0x00e1 #define __NR_linux_sethostname 0x00a1 #define __NR_linux_setdomainname 0x00a2 #define __NR_linux_init_module 0x0069 #define __NR_linux_delete_module 0x006a #define __NR_linux_gettid 0x00b2 #define __NR_linux_readahead 0x00d5 #define __NR_linux_setxattr 0x0005 #define __NR_linux_fsetxattr 0x0007 #define __NR_linux_getxattr 0x0008 #define __NR_linux_fgetxattr 0x000a #define __NR_linux_listxattr 0x000b #define __NR_linux_flistxattr 0x000d #define __NR_linux_removexattr 0x000e #define __NR_linux_fremovexattr 0x0010 #define __NR_linux_lsetxattr 0x0006 #define __NR_linux_lgetxattr 0x0009 #define __NR_linux_llistxattr 0x000c #define __NR_linux_lremovexattr 0x000f #define __NR_linux_sched_setaffinity 0x007a #define __NR_linux_sched_getaffinity 0x007b #define __NR_linux_io_setup 0x0000 #define __NR_linux_io_destroy 0x0001 #define __NR_linux_io_getevents 0x0004 #define __NR_linux_io_submit 0x0002 #define __NR_linux_io_cancel 0x0003 #define __NR_linux_lookup_dcookie 0x0012 #define __NR_linux_epoll_ctl 0x0015 #define __NR_linux_getdents 0x003d #define __NR_linux_set_tid_address 0x0060 #define __NR_linux_restart_syscall 0x0080 #define __NR_linux_semtimedop 0x00c0 #define __NR_linux_fadvise 0x00df #define __NR_linux_timer_create 0x006b #define __NR_linux_timer_settime 0x006e #define __NR_linux_timer_gettime 0x006c #define __NR_linux_timer_getoverrun 0x006d #define __NR_linux_timer_delete 0x006f #define __NR_linux_clock_settime 0x0070 #define __NR_linux_clock_gettime 0x0071 #define __NR_linux_clock_getres 0x0072 #define __NR_linux_clock_nanosleep 0x0073 #define __NR_linux_tgkill 0x0083 #define __NR_linux_mbind 0x00eb #define __NR_linux_set_mempolicy 0x00ed #define __NR_linux_get_mempolicy 0x00ec #define __NR_linux_mq_open 0x00b4 #define __NR_linux_mq_unlink 0x00b5 #define __NR_linux_mq_timedsend 0x00b6 #define __NR_linux_mq_timedreceive 0x00b7 #define __NR_linux_mq_notify 0x00b8 #define __NR_linux_mq_getsetattr 0x00b9 #define __NR_linux_kexec_load 0x0068 #define __NR_linux_waitid 0x005f #define __NR_linux_add_key 0x00d9 #define __NR_linux_request_key 0x00da #define __NR_linux_keyctl 0x00db #define __NR_linux_ioprio_set 0x001e #define __NR_linux_ioprio_get 0x001f #define __NR_linux_openat 0x0038 #define __NR_linux_mkdirat 0x0022 #define __NR_linux_fchownat 0x0036 #define __NR_linux_utime 0x0062 #define __NR_linux_utimes 0x0058 #define __NR_linux_fstatat 0x004f #define __NR_linux_unlinkat 0x0023 #define __NR_linux_renameat 0x0026 #define __NR_linux_linkat 0x0025 #define __NR_linux_symlinkat 0x0024 #define __NR_linux_readlinkat 0x004e #define __NR_linux_fchmodat 0x0035 #define __NR_linux_faccessat 0x0030 #define __NR_linux_unshare 0x0061 #define __NR_linux_splice 0x004c #define __NR_linux_tee 0x004d #define __NR_linux_sync_file_range 0x0054 #define __NR_linux_vmsplice 0x004b #define __NR_linux_migrate_pages 0x00ee #define __NR_linux_move_pages 0x00ef #define __NR_linux_preadv 0x0045 #define __NR_linux_pwritev 0x0046 #define __NR_linux_utimensat 0x0058 #define __NR_linux_fallocate 0x002f #define __NR_linux_accept4 0x00f2 #define __NR_linux_dup3 0x0018 #define __NR_linux_pipe2 0x003b #define __NR_linux_epoll_pwait 0x0016 #define __NR_linux_epoll_create1 0x0014 #define __NR_linux_perf_event_open 0x00f1 #define __NR_linux_inotify_init1 0x001a #define __NR_linux_tgsigqueueinfo 0x00f0 #define __NR_linux_signalfd4 0x004a #define __NR_linux_eventfd2 0x0013 #define __NR_linux_timerfd_create 0x0055 #define __NR_linux_timerfd_settime 0x0056 #define __NR_linux_timerfd_gettime 0x0057 #define __NR_linux_recvmmsg 0x00f3 #define __NR_linux_fanotify_init 0x0106 #define __NR_linux_fanotify_mark 0x0107 #define __NR_linux_prlimit 0x0105 #define __NR_linux_name_to_handle_at 0x0108 #define __NR_linux_open_by_handle_at 0x0109 #define __NR_linux_clock_adjtime 0x010a #define __NR_linux_syncfs 0x010b #define __NR_linux_sendmmsg 0x010d #define __NR_linux_setns 0x010c #define __NR_linux_getcpu 0x00a8 #define __NR_linux_process_vm_readv 0x010e #define __NR_linux_process_vm_writev 0x010f #define __NR_linux_kcmp 0x0110 #define __NR_linux_finit_module 0x0111 #define __NR_linux_sched_setattr 0x0112 #define __NR_linux_sched_getattr 0x0113 #define __NR_linux_renameat2 0x0114 #define __NR_linux_seccomp 0x0115 #define __NR_linux_getrandom 0x0116 #define __NR_linux_memfd_create 0x0117 #define __NR_linux_bpf 0x0118 #define __NR_linux_execveat 0x0119 #define __NR_linux_userfaultfd 0x011a #define __NR_linux_membarrier 0x011b #define __NR_linux_mlock2 0x011c #define __NR_linux_copy_file_range 0x011d #define __NR_linux_preadv2 0x011e #define __NR_linux_pwritev2 0x011f #define __NR_linux_pkey_mprotect 0x0120 #define __NR_linux_pkey_alloc 0x0121 #define __NR_linux_pkey_free 0x0122 #define __NR_linux_statx 0x0123 #define __NR_linux_io_pgetevents 0x0124 #define __NR_linux_rseq 0x0125 #define __NR_linux_kexec_file_load 0x0126 #define __NR_linux_pidfd_send_signal 0x01a8 #define __NR_linux_io_uring_setup 0x01a9 #define __NR_linux_io_uring_enter 0x01aa #define __NR_linux_io_uring_register 0x01ab #define __NR_linux_open_tree 0x01ac #define __NR_linux_move_mount 0x01ad #define __NR_linux_fsopen 0x01ae #define __NR_linux_fsconfig 0x01af #define __NR_linux_fsmount 0x01b0 #define __NR_linux_fspick 0x01b1 #define __NR_linux_pidfd_open 0x01b2 #define __NR_linux_clone3 0x01b3 #define __NR_linux_close_range 0x01b4 #define __NR_linux_openat2 0x01b5 #define __NR_linux_pidfd_getfd 0x01b6 #define __NR_linux_faccessat2 0x01b7 #define __NR_linux_process_madvise 0x01b8 #define __NR_linux_epoll_pwait2 0x01b9 #define __NR_linux_mount_setattr 0x01ba #define __NR_linux_landlock_create_ruleset 0x01bc #define __NR_linux_landlock_add_rule 0x01bd #define __NR_linux_landlock_restrict_self 0x01be #endif /* __x86_64__ */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_NRLINUX_H_ */
32,577
660
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPPROTO_COMP.S
#include "libc/sysv/consts/syscon.internal.h" .syscon iproto,IPPROTO_COMP,108,108,-1,-1,-1,-1,-1,-1
100
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_mkdir.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_mkdir,0x0053,0x0fff,0x2000088,0x0088,0x0088,0x0088,0x088,0xfff
125
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ipproto.h
#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_ extern const int IPPROTO_AH; extern const int IPPROTO_BEETPH; extern const int IPPROTO_COMP; extern const int IPPROTO_DCCP; extern const int IPPROTO_DSTOPTS; extern const int IPPROTO_EGP; extern const int IPPROTO_ENCAP; extern const int IPPROTO_ESP; extern const int IPPROTO_FRAGMENT; extern const int IPPROTO_GRE; extern const int IPPROTO_HOPOPTS; extern const int IPPROTO_ICMP; extern const int IPPROTO_ICMPV6; extern const int IPPROTO_IDP; extern const int IPPROTO_IGMP; extern const int IPPROTO_IP; extern const int IPPROTO_IPIP; extern const int IPPROTO_IPV6; extern const int IPPROTO_MAX; extern const int IPPROTO_MH; extern const int IPPROTO_MPLS; extern const int IPPROTO_MTP; extern const int IPPROTO_NONE; extern const int IPPROTO_PIM; extern const int IPPROTO_PUP; extern const int IPPROTO_RAW; extern const int IPPROTO_ROUTING; extern const int IPPROTO_RSVP; extern const int IPPROTO_SCTP; extern const int IPPROTO_TCP; extern const int IPPROTO_TP; extern const int IPPROTO_UDP; extern const int IPPROTO_UDPLITE; 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_ */
2,867
80
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ONLRET.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,ONLRET,0b0000000000100000,0b0000000000100000,0b000000000001000000,0b000000000001000000,0b000000000001000000,0b0000000010000000,0b0000000010000000,0b0000000000100000
227
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ENOSYS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon errno,ENOSYS,38,38,78,78,78,78,78,1 #ifdef __x86_64__ .yoink kDos2Errno.ENOSYS #endif
140
6
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIOCSIFLINK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sio,SIOCSIFLINK,0x8911,0x8911,0,0,0,0,0,0
96
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_get_robust_list.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_get_robust_list,0x0112,0x0064,0xfff,0xfff,0xfff,0xfff,0x0a8,0xfff
128
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IFF_PROMISC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon iff,IFF_PROMISC,0x100,0x100,0x100,0x100,0x100,0x100,0x100,0
114
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPV6_PMTUDISC_DO.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ipv6,IPV6_PMTUDISC_DO,2,2,0,0,0,0,0,0
92
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TIOCSETD.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,TIOCSETD,0x5423,0x5423,0x8004741b,0x8004741b,0x8004741b,0x8004741b,0x8004741b,0
142
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EKEYREJECTED.S
#include "libc/sysv/consts/syscon.internal.h" .syscon junkerr,EKEYREJECTED,129,129,-1,-1,-1,-1,-1,-1
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MAP_FIXED_NOREPLACE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mmap,MAP_FIXED_NOREPLACE,0x08000000,0x08000000,0x00004010,0x00004010,0x08000000,0x08000000,0x08000000,0x08000000
167
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ENETDOWN.S
#include "libc/sysv/consts/syscon.internal.h" .syscon errno,ENETDOWN,100,100,50,50,50,50,50,10050 #ifdef __x86_64__ .yoink kDos2Errno.ENETDOWN #endif
150
6
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MAP_POPULATE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mmap,MAP_POPULATE,0x00008000,0x00008000,0,0,0x00040000,0,0,0
115
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MSG_SYN.S
#include "libc/sysv/consts/syscon.internal.h" .syscon msg,MSG_SYN,0x0400,0x0400,0,0,0,0,0,0
92
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIGPOLL.S
#include "libc/sysv/consts/syscon.internal.h" .syscon compat,SIGPOLL,29,29,23,23,23,23,23,29
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PTRACE_EVENT_EXIT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ptrace,PTRACE_EVENT_EXIT,6,6,-1,-1,-1,-1,-1,-1
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ESHUTDOWN.S
#include "libc/sysv/consts/syscon.internal.h" .syscon errno,ESHUTDOWN,108,108,58,58,58,58,58,10058
99
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EXTA.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,EXTA,14,14,0x4b00,0x4b00,0x4b00,0x4b00,0x4b00,0
110
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIOCSIFMETRIC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sio,SIOCSIFMETRIC,0x891e,0x891e,0x80206918,0x80206918,0x80206918,0x80206918,0x80206918,0
143
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/RLIMIT_LOCKS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon rlimit,RLIMIT_LOCKS,10,10,127,127,127,127,127,127
104
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SA_SIGINFO.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sigact,SA_SIGINFO,4,4,64,64,64,64,64,4
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MAP_INHERIT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mmap,MAP_INHERIT,-1,-1,-1,-1,-1,-1,0x00000080,-1
103
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ENOTCONN.S
#include "libc/sysv/consts/syscon.internal.h" .syscon errno,ENOTCONN,107,107,57,57,57,57,57,10057
98
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/O_NOCTTY.S
#include "libc/sysv/consts/syscon.internal.h" .syscon open,O_NOCTTY,0x00000100,0x00000100,0x00020000,0x00020000,0x00008000,0x00008000,0x00008000,0
147
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_alarm.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_alarm,0x0025,0x0fff,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
118
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AF_APPLETALK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon af,AF_APPLETALK,5,5,0x10,0x10,0x10,0x10,0x10,0x10
104
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SO_ATTACH_BPF.S
#include "libc/sysv/consts/syscon.internal.h" .syscon so,SO_ATTACH_BPF,50,50,0,0,0,0,0,0
89
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ALG_SET_AEAD_ASSOCLEN.S
#include "libc/sysv/consts/syscon.internal.h" .syscon alg,ALG_SET_AEAD_ASSOCLEN,4,4,0,0,0,0,0,0
96
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AF_INET6.S
#include "libc/sysv/consts/syscon.internal.h" .syscon af,AF_INET6,10,10,30,30,28,24,24,23
90
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/BRKINT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,BRKINT,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010
221
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIGPROF.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sig,SIGPROF,27,27,27,27,27,27,27,27
90
3
jart/cosmopolitan
false