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/poll.h
#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_ extern const int16_t POLLERR; extern const int16_t POLLHUP; extern const int16_t POLLIN; extern const int16_t POLLNVAL; extern const int16_t POLLOUT; extern const int16_t POLLPRI; extern const int16_t POLLRDBAND; extern const int16_t POLLRDHUP; extern const int16_t POLLRDNORM; extern const int16_t POLLWRBAND; extern const int16_t POLLWRNORM; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_POLL_H_ */
1,098
36
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_symlink.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_symlink,0x0058,0x0fff,0x2000039,0x0039,0x0039,0x0039,0x039,0xfff
127
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IFF_SLAVE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon iff,IFF_SLAVE,0x0800,0x0800,0,0,0,0,0,0
94
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/CLOCK_THREAD_CPUTIME_ID.S
#include "libc/sysv/consts/syscon.internal.h" .syscon clock,CLOCK_THREAD_CPUTIME_ID,3,3,127,16,14,4,0x20000000,127
115
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PF_ASH.S
#include "libc/sysv/consts/syscon.internal.h" .syscon pf,PF_ASH,18,18,0,0,0,0,0,0
82
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/F_OFD_SETLKW.S
#include "libc/sysv/consts/syscon.internal.h" .syscon fcntl,F_OFD_SETLKW,38,38,-1,-1,-1,-1,-1,-1
97
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ETXTBSY.S
#include "libc/sysv/consts/syscon.internal.h" .syscon errno,ETXTBSY,26,26,26,26,26,26,26,148
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIGEV_SIGNAL.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,SIGEV_SIGNAL,0,0,1,1,1,0,1,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/T_FMT_AMPM.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,T_FMT_AMPM,0x02002b,0x02002b,4,4,4,3,3,0
100
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/NMEADISC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,NMEADISC,0,0,0,0,0,0x7,0x7,0
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SFD_CLOEXEC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,SFD_CLOEXEC,0x080000,0x080000,0,0,0,0,0,0
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PF_CAIF.S
#include "libc/sysv/consts/syscon.internal.h" .syscon pf,PF_CAIF,37,37,0,0,0,0,0,0
83
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_inotify_init.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_inotify_init,0x00fd,0x0fff,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
125
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TIOCSFLAGS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,TIOCSFLAGS,0,0,0,0,0,0x8004745c,0x8004745c,0
107
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/sicode.h
#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_ extern const int32_t SI_USER; extern const int32_t SI_QUEUE; extern const int32_t SI_TIMER; extern const int32_t SI_MESGQ; extern const int32_t SI_ASYNCIO; extern const int32_t SI_TKILL; extern const int32_t SI_ASYNCNL; extern const int32_t SI_KERNEL; extern const int32_t SI_NOINFO; extern const int32_t CLD_EXITED; extern const int32_t CLD_KILLED; extern const int32_t CLD_DUMPED; extern const int32_t CLD_TRAPPED; extern const int32_t CLD_STOPPED; extern const int32_t CLD_CONTINUED; extern const int32_t TRAP_BRKPT; extern const int32_t TRAP_TRACE; extern const int32_t SEGV_MAPERR; extern const int32_t SEGV_ACCERR; extern const int32_t SEGV_PKUERR; extern const int32_t FPE_INTDIV; extern const int32_t FPE_INTOVF; extern const int32_t FPE_FLTDIV; extern const int32_t FPE_FLTOVF; extern const int32_t FPE_FLTUND; extern const int32_t FPE_FLTRES; extern const int32_t FPE_FLTINV; extern const int32_t FPE_FLTSUB; extern const int32_t ILL_ILLOPC; extern const int32_t ILL_ILLOPN; extern const int32_t ILL_ILLADR; extern const int32_t ILL_ILLTRP; extern const int32_t ILL_PRVOPC; extern const int32_t ILL_PRVREG; extern const int32_t ILL_COPROC; extern const int32_t ILL_BADSTK; extern const int32_t BUS_ADRALN; extern const int32_t BUS_ADRERR; extern const int32_t BUS_OBJERR; extern const int32_t BUS_MCEERR_AR; extern const int32_t BUS_MCEERR_AO; extern const int32_t BUS_OOMERR; extern const int32_t POLL_IN; extern const int32_t POLL_OUT; extern const int32_t POLL_MSG; extern const int32_t POLL_ERR; extern const int32_t POLL_PRI; extern const int32_t POLL_HUP; extern const int32_t SYS_SECCOMP; extern const int32_t SYS_USER_DISPATCH; 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_ */
4,038
114
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPPROTO_ROUTING.S
#include "libc/sysv/consts/syscon.internal.h" .syscon iproto,IPPROTO_ROUTING,43,43,43,43,43,43,43,-1
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_setitimer.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_setitimer,0x0026,0x0067,0x2000053,0x0053,0x0053,0x0045,0x1a9,0xfff
129
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_shutdown.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_shutdown,0x0030,0x00d2,0x2000086,0x0086,0x0086,0x0086,0x086,0xfff
128
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/NL0.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,NL0,0b0000000000000000,0b0000000000000000,0b000000000000000000,0b000000000000000000,0b000000000000000000,0,0b000000000000000000,0b0000000000000000
209
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_getresuid.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_getresuid,0x0076,0x0094,0xfff,0xfff,0x0168,0x0119,0xfff,0xfff
124
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PRIO_MIN.S
#include "libc/sysv/consts/syscon.internal.h" .syscon prio,PRIO_MIN,-20,-20,-20,-20,-20,-20,-20,-20
100
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ICMP6_DST_UNREACH_NOPORT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon icmp6,ICMP6_DST_UNREACH_NOPORT,4,4,4,4,4,4,4,4
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ERFKILL.S
#include "libc/sysv/consts/syscon.internal.h" .syscon junkerr,ERFKILL,132,132,-1,-1,-1,-1,-1,-1
96
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIOCDELDLCI.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sio,SIOCDELDLCI,0x8981,0x8981,0,0,0,0,0,0
96
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SO_BSDCOMPAT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon so,SO_BSDCOMPAT,14,14,0,0,0,0,0,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EWOULDBLOCK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon compat,EWOULDBLOCK,11,11,35,35,35,35,35,10035 #ifdef __x86_64__ .yoink kDos2Errno.EWOULDBLOCK #endif
155
6
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/mfd.h
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MFD_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_MFD_H_ #define MFD_CLOEXEC 1 #define MFD_ALLOW_SEALING 2 #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MFD_H_ */
198
8
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SHM_RND.S
#include "libc/sysv/consts/syscon.internal.h" .syscon shm,SHM_RND,0x2000,0x2000,0x2000,0x2000,0x2000,0x2000,0x2000,0
117
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_pipe.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_pipe,0x0016,0x0fff,0x200002a,0x002a,0x021e,0x0107,0x02a,0xfff
124
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SO_RCVBUF.S
#include "libc/sysv/consts/syscon.internal.h" .syscon so,SO_RCVBUF,8,8,0x1002,0x1002,0x1002,0x1002,0x1002,0x1002
113
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/FFDLY.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,FFDLY,0b1000000000000000,0b1000000000000000,0b000100000000000000,0b000100000000000000,0b000100000000000000,0,0,0b1000000000000000
192
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SA_ONESHOT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon compat,SA_ONESHOT,0x80000000,0x80000000,4,4,4,4,4,0x80000000
115
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/_ARG_MAX.S
#include "libc/sysv/consts/syscon.internal.h" .syscon limits,_ARG_MAX,128*1024,128*1024,1024*1024,1024*1024,512*1024,512*1024,256*1024,32767*2
143
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ST_MANDLOCK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon statfs,ST_MANDLOCK,0x0040,0x0040,0,0,0,0,0,0
99
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SOCK_SEQPACKET.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sock,SOCK_SEQPACKET,5,5,5,5,5,5,5,5
90
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MS_BIND.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mount,MS_BIND,0x00001000,0x00001000,0,0,0,0,0,0
102
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ERANGE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon errno,ERANGE,34,34,34,34,34,34,34,6604
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EL2HLT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon junkerr,EL2HLT,51,51,-1,-1,-1,-1,-1,-1
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EPOLLONESHOT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon epoll,EPOLLONESHOT,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000
161
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/CONTTYPE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,CONTTYPE,55,55,55,55,55,55,55,0
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SOL_ALG.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sol,SOL_ALG,279,279,-1,-1,-1,-1,-1,-1
92
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/XTABS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,XTABS,0b0001100000000000,0b0001100000000000,0b000000110000000000,0b000000110000000000,0b000000110000000000,0,0b000000110000000000,0b0001100000000000
211
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_personality.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_personality,0x0087,0x005c,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
124
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/close.h
#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_ extern const unsigned int CLOSE_RANGE_UNSHARE; 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) #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOSE_H_ */
522
17
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/UDP_ENCAP_ESPINUDP_NON_IKE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,UDP_ENCAP_ESPINUDP_NON_IKE,1,1,0,0,1,0,0,0
102
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_socketpair.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_socketpair,0x0035,0x00c7,0x2000087,0x0087,0x0087,0x0087,0x087,0xfff
130
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_iopl.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_iopl,0x00ac,0x0fff,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
117
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIGCHLD.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sig,SIGCHLD,17,17,20,20,20,20,20,17
90
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/PRIO_PROCESS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon prio,PRIO_PROCESS,0,0,0,0,0,0,0,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ILL_BADSTK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sicode,ILL_BADSTK,8,8,8,8,8,8,8,8
88
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MAP_GROWSDOWN.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mmap,MAP_GROWSDOWN,0x00000100,0x00000100,0,0,0,0,0,0
107
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_times.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_times,0x0064,0x0099,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
118
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AT_OSRELDATE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon auxv,AT_OSRELDATE,0,0,0,0,18,0,0,0
89
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/map.h
#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_ extern const int MAP_32BIT; extern const int MAP_ANON; extern const int MAP_ANONYMOUS; extern const int MAP_CONCEAL; extern const int MAP_DENYWRITE; extern const int MAP_EXECUTABLE; extern const int MAP_FILE; extern const int MAP_FIXED; extern const int MAP_FIXED_NOREPLACE; extern const int MAP_HASSEMAPHORE; extern const int MAP_HUGETLB; extern const int MAP_HUGE_MASK; extern const int MAP_HUGE_SHIFT; extern const int MAP_INHERIT; extern const int MAP_LOCKED; extern const int MAP_NONBLOCK; extern const int MAP_NORESERVE; extern const int MAP_NOSYNC; extern const int MAP_POPULATE; extern const int MAP_PRIVATE; extern const int MAP_SHARED; extern const int MAP_SHARED_VALIDATE; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #define MAP_FILE 0 #define MAP_SHARED 1 #define MAP_PRIVATE 2 #define MAP_STACK 6 #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_ANON MAP_ANONYMOUS #define MAP_NOCORE MAP_CONCEAL #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MAP_H_ */
2,073
62
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TCSANOW.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,TCSANOW,0,0,0,0,0,0,0,0
86
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/reboot.h
#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; 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,146
35
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IP_PMTUDISC_DONT.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ip,IP_PMTUDISC_DONT,0,0,0,0,0,0,0,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_semctl.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_semctl,0x0042,0x00bf,0x20000fe,0x00fe,0x01fe,0x0127,0xfff,0xfff
126
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MNT_UPDATE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mount,MNT_UPDATE,0x00000020,0x00000020,0x00010000,0x00010000,0x00010000,0x00010000,0x00010000,0x00000020
159
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AT_FLAGS.S
#include "libc/sysv/consts/syscon.internal.h" .syscon auxv,AT_FLAGS,8,8,0,0,8,0,8,0
84
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_getitimer.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_getitimer,0x0024,0x0066,0x2000056,0x0056,0x0056,0x0046,0x1aa,0xfff
129
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EPOLLERR.S
#include "libc/sysv/consts/syscon.internal.h" .syscon epoll,EPOLLERR,8,8,8,8,8,8,8,8
85
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIG_UNBLOCK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,SIG_UNBLOCK,1,1,2,2,2,2,2,1
87
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/RLIMIT_MSGQUEUE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon rlimit,RLIMIT_MSGQUEUE,12,12,127,127,127,127,127,127
107
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EADV.S
#include "libc/sysv/consts/syscon.internal.h" .syscon junkerr,EADV,68,68,-1,-1,-1,-1,-1,-1
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/pr.h
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PR_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_PR_H_ #define PR_GET_SECCOMP 21 #define PR_SET_SECCOMP 22 #define SECCOMP_MODE_DISABLED 0 #define SECCOMP_MODE_STRICT 1 #define SECCOMP_MODE_FILTER 2 #define PR_CAPBSET_READ 23 #define PR_CAPBSET_DROP 24 #define PR_SET_NO_NEW_PRIVS 38 #define PR_GET_NO_NEW_PRIVS 39 #define PR_SET_NAME 15 #define PR_GET_NAME 16 #define PR_GET_TSC 25 #define PR_SET_TSC 26 #define PR_TSC_ENABLE 1 #define PR_TSC_SIGSEGV 2 #define PR_GET_FPEXC 11 #define PR_SET_FPEXC 12 #define PR_FP_EXC_SW_ENABLE 0x80 #define PR_FP_EXC_DIV 0x010000 #define PR_FP_EXC_OVF 0x020000 #define PR_FP_EXC_UND 0x040000 #define PR_FP_EXC_RES 0x080000 #define PR_FP_EXC_INV 0x100000 #define PR_FP_EXC_DISABLED 0 #define PR_FP_EXC_NONRECOV 1 #define PR_FP_EXC_ASYNC 2 #define PR_FP_EXC_PRECISE 3 #define PR_MCE_KILL_CLEAR 0 #define PR_MCE_KILL_LATE 0 #define PR_SPEC_NOT_AFFECTED 0 #define PR_SPEC_STORE_BYPASS 0 #define PR_CAP_AMBIENT_IS_SET 1 #define PR_FPEMU_NOPRINT 1 #define PR_MCE_KILL_EARLY 1 #define PR_MCE_KILL_SET 1 #define PR_SET_MM_START_CODE 1 #define PR_SET_PDEATHSIG 1 #define PR_SPEC_PRCTL 1 #define PR_CAP_AMBIENT_RAISE 2 #define PR_FPEMU_SIGFPE 2 #define PR_GET_PDEATHSIG 2 #define PR_MCE_KILL_DEFAULT 2 #define PR_SET_MM_END_CODE 2 #define PR_SPEC_ENABLE 2 #define PR_CAP_AMBIENT_LOWER 3 #define PR_GET_DUMPABLE 3 #define PR_SET_MM_START_DATA 3 #define PR_CAP_AMBIENT_CLEAR_ALL 4 #define PR_SET_DUMPABLE 4 #define PR_SET_MM_END_DATA 4 #define PR_SPEC_DISABLE 4 #define PR_SET_MM_START_STACK 5 #define PR_SET_MM_START_BRK 6 #define PR_GET_KEEPCAPS 7 #define PR_SET_MM_BRK 7 #define PR_SET_KEEPCAPS 8 #define PR_SET_MM_ARG_START 8 #define PR_SPEC_FORCE_DISABLE 8 #define PR_GET_FPEMU 9 #define PR_SET_MM_ARG_END 9 #define PR_SET_FPEMU 10 #define PR_SET_MM_ENV_START 10 #define PR_GET_FPEXC 11 #define PR_SET_MM_ENV_END 11 #define PR_SET_FPEXC 12 #define PR_SET_MM_AUXV 12 #define PR_SET_MM_EXE_FILE 13 #define PR_SET_MM_MAP 14 #define PR_SET_MM_MAP_SIZE 15 #define PR_GET_TSC 25 #define PR_SET_TSC 26 #define PR_GET_SECUREBITS 27 #define PR_SET_SECUREBITS 28 #define PR_SET_TIMERSLACK 29 #define PR_GET_TIMERSLACK 30 #define PR_TASK_PERF_EVENTS_DISABLE 31 #define PR_TASK_PERF_EVENTS_ENABLE 0x20 #define PR_MCE_KILL 33 #define PR_MCE_KILL_GET 34 #define PR_SET_MM 35 #define PR_SET_CHILD_SUBREAPER 36 #define PR_GET_CHILD_SUBREAPER 37 #define PR_GET_TID_ADDRESS 40 #define PR_SET_THP_DISABLE 41 #define PR_GET_THP_DISABLE 42 #define PR_MPX_ENABLE_MANAGEMENT 43 #define PR_MPX_DISABLE_MANAGEMENT 44 #define PR_CAP_AMBIENT 47 #define PR_GET_SPECULATION_CTRL 52 #define PR_SET_SPECULATION_CTRL 53 #define PR_SET_PTRACER 0x59616d61 #define PR_SET_PTRACER_ANY -1 #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PR_H_ */
3,483
104
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/MS_SLAVE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon mount,MS_SLAVE,0x00080000,0x00080000,0,0,0,0,0,0
103
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/POSIX_FADV_RANDOM.S
#include "libc/sysv/consts/syscon.internal.h" .syscon compat,POSIX_FADV_RANDOM,1,1,127,127,1,1,1,1
99
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIOCSIFMEM.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sio,SIOCSIFMEM,0x8920,0x8920,0,0,0,0,0,0
95
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPV6_PATHMTU.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ipv6,IPV6_PATHMTU,61,61,0,0,44,44,44,0
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ECHRNG.S
#include "libc/sysv/consts/syscon.internal.h" .syscon junkerr,ECHRNG,44,44,-1,-1,-1,-1,-1,-1
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ENOTNAM.S
#include "libc/sysv/consts/syscon.internal.h" .syscon junkerr,ENOTNAM,118,118,-1,-1,-1,-1,-1,-1
96
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AF_PHONET.S
#include "libc/sysv/consts/syscon.internal.h" .syscon af,AF_PHONET,35,35,0,0,0,0,0,0
85
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/VERASE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,VERASE,2+1,2+1,3,3,3,3,3,2
89
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TCP_KEEPIDLE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon tcp,TCP_KEEPIDLE,4,4,0,0,0x100,0,3,0
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/RLIMIT_SBSIZE.S
#include "libc/sysv/consts/syscon.internal.h" .syscon rlimit,RLIMIT_SBSIZE,127,127,127,127,9,127,127,127
105
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/kern.h
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_KERN_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_KERN_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define KERN_SOH "\001" #define KERN_SOH_ASCII '\001' #define KERN_EMERG KERN_SOH "0" #define KERN_ALERT KERN_SOH "1" #define KERN_CRIT KERN_SOH "2" #define KERN_ERR KERN_SOH "3" #define KERN_WARNING KERN_SOH "4" #define KERN_NOTICE KERN_SOH "5" #define KERN_INFO KERN_SOH "6" #define KERN_DEBUG KERN_SOH "7" #define KERN_DEFAULT "" #define KERN_CONT KERN_SOH "c" COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_KERN_H_ */
682
22
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SYS_SECCOMP.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sicode,SYS_SECCOMP,1,1,-1,-1,-1,-1,-1,-1
95
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/F_DUPFD_CLOEXEC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon fcntl,F_DUPFD_CLOEXEC,0x0406,0x0406,67,67,17,10,12,0x0406
112
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ECHOK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,ECHOK,0b0000000000100000,0b0000000000100000,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000100000
220
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_mount.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_mount,0x00a5,0x0028,0x20000a7,0x00a7,0x0015,0x0015,0x19a,0xfff
125
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/B1800.S
#include "libc/sysv/consts/syscon.internal.h" .syscon baud,B1800,10,10,1800,1800,1800,1800,1800,1800
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TCION.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,TCION,3,3,4,4,4,4,4,3
84
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_acct.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_acct,0x00a3,0x0059,0x2000033,0x0033,0x0033,0x0033,0x033,0xfff
124
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/fan.h
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FAN_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_FAN_H_ #define FAN_CLASS_NOTIF 0 #define FAN_ACCESS 1 #define FAN_ACCESS_PERM 0x020000 #define FAN_ALLOW 1 #define FAN_ALL_CLASS_BITS 12 #define FAN_ALL_EVENTS 59 #define FAN_ALL_INIT_FLAGS 63 #define FAN_ALL_MARK_FLAGS 255 #define FAN_ALL_OUTGOING_EVENTS 0x03403b #define FAN_ALL_PERM_EVENTS 0x030000 #define FAN_CLASS_CONTENT 4 #define FAN_CLASS_PRE_CONTENT 8 #define FAN_CLOEXEC 1 #define FAN_CLOSE 24 #define FAN_CLOSE_NOWRITE 0x10 #define FAN_CLOSE_WRITE 8 #define FAN_DENY 2 #define FAN_EVENT_METADATA_LEN 24 #define FAN_EVENT_ON_CHILD 0x08000000 #define FAN_MARK_ADD 1 #define FAN_MARK_DONT_FOLLOW 4 #define FAN_MARK_FLUSH 0x80 #define FAN_MARK_IGNORED_MASK 0x20 #define FAN_MARK_IGNORED_SURV_MODIFY 0x40 #define FAN_MARK_MOUNT 0x10 #define FAN_MARK_ONLYDIR 8 #define FAN_MARK_REMOVE 2 #define FAN_MODIFY 2 #define FAN_NOFD -1 #define FAN_NONBLOCK 2 #define FAN_ONDIR 0x40000000 #define FAN_OPEN 0x20 #define FAN_OPEN_PERM 0x010000 #define FAN_Q_OVERFLOW 0x4000 #define FAN_UNLIMITED_MARKS 0x20 #define FAN_UNLIMITED_QUEUE 0x10 #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FAN_H_ */
1,629
42
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/EPOLLHUP.S
#include "libc/sysv/consts/syscon.internal.h" .syscon epoll,EPOLLHUP,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10
109
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/ST_NOATIME.S
#include "libc/sysv/consts/syscon.internal.h" .syscon statfs,ST_NOATIME,0x0040,0x0040,0x10000000,0x10000000,0x10000000,0x00008000,0x04000000,0
143
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIGEV_THREAD.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,SIGEV_THREAD,2,2,3,3,2,0,2,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AF_TIPC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon af,AF_TIPC,30,30,0,0,0,0,0,0
83
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/__NR_chroot.S
#include "libc/sysv/consts/syscon.internal.h" .syscon nr,__NR_chroot,0x00a1,0x0033,0x200003d,0x003d,0x003d,0x003d,0x03d,0xfff
126
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SOL_KCM.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sol,SOL_KCM,281,281,-1,-1,-1,-1,-1,-1
92
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TGEXEC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,TGEXEC,8,8,8,8,8,8,8,0
82
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/IPV6_RECVERR.S
#include "libc/sysv/consts/syscon.internal.h" .syscon ipv6,IPV6_RECVERR,25,25,0,0,0,0,0,75
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AT_UID.S
#include "libc/sysv/consts/syscon.internal.h" .syscon auxv,AT_UID,11,11,11,11,0,0,2001,0
89
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIOCGIFCONF.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sio,SIOCGIFCONF,0x8912,0x8912,0xc00c6924,0xc00c6924,0xc0106924,0xc0106924,0xc0106924,0
141
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/CBAUDEX.S
#include "libc/sysv/consts/syscon.internal.h" .syscon termios,CBAUDEX,0x1000,0x1000,0,0,0,0,0,0
96
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/SIOCGIFMETRIC.S
#include "libc/sysv/consts/syscon.internal.h" .syscon sio,SIOCGIFMETRIC,0x891d,0x891d,0xc0206917,0xc0206917,0xc0206917,0xc0206917,0xc0206917,0
143
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AT_CLKTCK.S
#include "libc/sysv/consts/syscon.internal.h" .syscon auxv,AT_CLKTCK,17,17,0,0,0,0,0,0
87
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/TSGID.S
#include "libc/sysv/consts/syscon.internal.h" .syscon misc,TSGID,0x0400,0x0400,0x0400,0x0400,0x0400,0x0400,0x0400,0
116
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts/AT_EXECPATH.S
#include "libc/sysv/consts/syscon.internal.h" .syscon auxv,AT_EXECPATH,31,31,31,31,15,999,2014,31
98
3
jart/cosmopolitan
false