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/ST_RELATIME.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon statfs,ST_RELATIME,0x1000,0x1000,0,0,0,0,0x00020000,0
| 108 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCGIFHWADDR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCGIFHWADDR,0x8927,0x8927,0,0,0,0,0,0
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PTRACE_POKEUSER.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ptrace,PTRACE_POKEUSER,6,6,6,6,-1,-1,-1,-1
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCPKT_START.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pty,TIOCPKT_START,8,8,8,8,8,8,8,8
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/f.h | #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_
extern const int F_BARRIERFSYNC;
extern const int F_DUPFD;
extern const int F_DUPFD_CLOEXEC;
extern const int F_FULLFSYNC;
extern const int F_GETFD;
extern const int F_GETFL;
extern const int F_GETLEASE;
extern const int F_GETLK64;
extern const int F_GETLK;
extern const int F_GETNOSIGPIPE;
extern const int F_GETOWN;
extern const int F_GETPATH;
extern const int F_GETPIPE_SZ;
extern const int F_GETSIG;
extern const int F_LOCK;
extern const int F_MAXFD;
extern const int F_NOCACHE;
extern const int F_NOTIFY;
extern const int F_OFD_GETLK;
extern const int F_OFD_SETLK;
extern const int F_OFD_SETLKW;
extern const int F_RDLCK;
extern const int F_SETFD;
extern const int F_SETFL;
extern const int F_SETLEASE;
extern const int F_SETLK64;
extern const int F_SETLK;
extern const int F_SETLKW64;
extern const int F_SETLKW;
extern const int F_SETNOSIGPIPE;
extern const int F_SETOWN;
extern const int F_SETPIPE_SZ;
extern const int F_SETSIG;
extern const int F_UNLCK;
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_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)
/* 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) */
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_F_H_ */
| 2,818 | 85 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPV6_UNICAST_HOPS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ipv6,IPV6_UNICAST_HOPS,0x10,0x10,4,4,4,4,4,4
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_mprotect.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_mprotect,0x000a,0x00e2,0x200004a,0x004a,0x004a,0x004a,0x04a,0xfff
| 128 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SS_ONSTACK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ss,SS_ONSTACK,1,1,1,1,1,1,1,1
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPV6_ADD_MEMBERSHIP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ipv6,IPV6_ADD_MEMBERSHIP,20,20,0,0,0,0,0,12
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_sched_setscheduler.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_sched_setscheduler,0x0090,0x0077,0xfff,0xfff,0x0149,0xfff,0xfff,0xfff
| 132 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AT_PHDR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon auxv,AT_PHDR,3,3,3,3,3,0,3,0
| 83 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_keyctl.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_keyctl,0x00fa,0x00db,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 119 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCM_RTS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon modem,TIOCM_RTS,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100
| 222 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/msg.h | #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_
extern const int MSG_BATCH;
extern const int MSG_BCAST;
extern const int MSG_CMSG_CLOEXEC;
extern const int MSG_CONFIRM;
extern const int MSG_CTRUNC;
extern const int MSG_DONTROUTE;
extern const int MSG_DONTWAIT;
extern const int MSG_EOF;
extern const int MSG_EOR;
extern const int MSG_ERRQUEUE;
extern const int MSG_EXCEPT;
extern const int MSG_FASTOPEN;
extern const int MSG_FIN;
extern const int MSG_INFO;
extern const int MSG_MCAST;
extern const int MSG_MORE;
extern const int MSG_NOERROR;
extern const int MSG_NOSIGNAL;
extern const int MSG_NOTIFICATION;
extern const int MSG_OOB;
extern const int MSG_PARITY_ERROR;
extern const int MSG_PEEK;
extern const int MSG_PROXY;
extern const int MSG_RST;
extern const int MSG_STAT;
extern const int MSG_SYN;
extern const int MSG_TRUNC;
extern const int MSG_WAITALL;
extern const int MSG_WAITFORONE;
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_ */
| 2,469 | 71 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/RLIMIT_VMEM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon compat,RLIMIT_VMEM,9,9,5,5,10,127,10,127
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ENOTEMPTY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,ENOTEMPTY,39,39,66,66,66,66,66,145
#ifdef __x86_64__
.yoink kDos2Errno.ENOTEMPTY
#endif
| 148 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FF0.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,FF0,0b0000000000000000,0b0000000000000000,0b000000000000000000,0b000000000000000000,0b000000000000000000,0,0,0b0000000000000000
| 190 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_write.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_write,0x0001,0x0040,0x2000004,0x0004,0x0004,0x0004,0x004,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_PASSSEC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_PASSSEC,34,34,0,0,0,0,0,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIGSTOP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sig,SIGSTOP,19,19,17,17,17,17,17,19
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EBADEXEC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,EBADEXEC,312,312,85,85,312,312,312,192
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_rmdir.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_rmdir,0x0054,0x0fff,0x2000089,0x0089,0x0089,0x0089,0x089,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_statx.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_statx,0x014c,0x0123,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 118 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_truncate.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_truncate,0x004c,0x002d,0x20000c8,0x00c8,0x01df,0x00c8,0x0c8,0xfff
| 128 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MCAST_EXCLUDE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,MCAST_EXCLUDE,0,0,2,2,2,0,0,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_fdatasync.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_fdatasync,0x004b,0x0053,0x20000bb,0x00bb,0x0226,0x005f,0x0f1,0xfff
| 129 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CLOCK_SECOND.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon clock,CLOCK_SECOND,127,127,127,127,13,127,127,127
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_LOCAL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_LOCAL,1,1,1,1,1,1,1,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/madv.h | #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_
extern const unsigned MADV_DODUMP;
extern const unsigned MADV_DOFORK;
extern const unsigned MADV_DONTDUMP;
extern const unsigned MADV_DONTFORK;
extern const unsigned MADV_DONTNEED;
extern const unsigned MADV_FREE;
extern const unsigned MADV_HUGEPAGE;
extern const unsigned MADV_HWPOISON;
extern const unsigned MADV_MERGEABLE;
extern const unsigned MADV_NOHUGEPAGE;
extern const unsigned MADV_NORMAL;
extern const unsigned MADV_RANDOM;
extern const unsigned MADV_REMOVE;
extern const unsigned MADV_SEQUENTIAL;
extern const unsigned MADV_UNMERGEABLE;
extern const unsigned MADV_WILLNEED;
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,628 | 46 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCPKT_STOP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pty,TIOCPKT_STOP,4,4,4,4,4,4,4,4
| 87 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPV6_PMTUDISC_INTERFACE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ipv6,IPV6_PMTUDISC_INTERFACE,4,4,0,0,0,0,0,0
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_SECURITY_AUTHENTICATION.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_SECURITY_AUTHENTICATION,22,22,0,0,0,0,0,0
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCGIFMAP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCGIFMAP,0x8970,0x8970,0,0,0,0,0,0
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_GETNOSIGPIPE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fcntl3,F_GETNOSIGPIPE,-1,-1,74,74,-1,-1,13,-1
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IEXTEN.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,IEXTEN,0b1000000000000000,0b1000000000000000,0b0000010000000000,0b0000010000000000,0b0000010000000000,0b0000010000000000,0b0000010000000000,0b1000000000000000
| 221 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/inaddr.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_INADDR_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_INADDR_H_
/**
* @fileoverview Well-known Internet addresses.
* These need to be hard-coded as little-endian, so htonl() is needed.
*/
#define INADDR_ANY 0x00000000u /* 0.0.0.0 */
#define INADDR_BROADCAST 0xFFFFFFFFu /* 255.255.255.255 */
#define INADDR_NONE 0xFFFFFFFFu /* 255.255.255.255 */
#define INADDR_LOOPBACK 0x7F000001u /* 127.0.0.1 */
#define INADDR_TESTNET1 0xC0000200u /* 192.0.2.0/24 (RFC5737§3) */
#define INADDR_TESTNET2 0xC6336400u /* 198.51.100.0/24 */
#define INADDR_TESTNET3 0xCB007100u /* 203.0.113.0/24 */
#define INADDR_ALLHOSTS_GROUP 0xE0000001u
#define INADDR_ALLRTRS_GROUP 0xE0000002u
#define INADDR_MAX_LOCAL_GROUP 0xE00000FFu
#define INADDR_UNSPEC_GROUP 0xE0000000u
#define IN_LOOPBACKNET 127
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_INADDR_H_ */
| 888 | 25 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/LNKTYPE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,LNKTYPE,49,49,49,49,49,49,49,0
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_DETACH_FILTER.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_DETACH_FILTER,27,27,0,0,0,0,0,0
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_posix_fallocate.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_posix_fallocate,0xfff,0xfff,0xfff,0xfff,0x0212,0xfff,0x1df,0xfff
| 127 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EPROGUNAVAIL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,EPROGUNAVAIL,302,302,74,74,74,74,74,329
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SOL_AAL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sol,SOL_AAL,265,265,-1,-1,-1,-1,-1,-1
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIGILL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sig,SIGILL,4,4,4,4,4,4,4,4
| 81 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCOON.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TCOON,1,1,2,2,2,2,2,1
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EBADRQC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon junkerr,EBADRQC,56,56,-1,-1,-1,-1,-1,-1
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCGSID.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCGSID,0x5429,0x5429,0x40047463,0x40047463,0x40047463,0x40047463,0x40047463,0
| 142 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EMPTY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,EMPTY,0,0,0,0,0,0,0,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/RLIMIT_NOFILE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon rlimit,RLIMIT_NOFILE,7,7,8,8,8,8,8,127
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIGKILL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sig,SIGKILL,9,9,9,9,9,9,9,9
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CLONE_VM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon clone,CLONE_VM,0x00000100,0x00000100,0x00000100,0x00000100,0x00000100,0x00000100,0x00000100,0x00000100
| 157 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MREMAP_FIXED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mremap,MREMAP_FIXED,2,2,2,2,2,2,2,2
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PROT_NONE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mprot,PROT_NONE,0,0,0,0,0,0,0,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ICMP6_TIME_EXCEEDED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon icmp6,ICMP6_TIME_EXCEEDED,3,3,3,3,3,3,3,0
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ACCT_BYTEORDER.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,ACCT_BYTEORDER,0,0,0,0,0,0,0,0
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_msgctl.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_msgctl,0x0047,0x00bb,0x2000102,0x0102,0x01ff,0x0129,0x1bc,0xfff
| 126 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ENAMETOOLONG.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,ENAMETOOLONG,36,36,63,63,63,63,63,10063
#ifdef __x86_64__
.yoink kDos2Errno.ENAMETOOLONG
#endif
| 156 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SCM_RIGHTS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon scm,SCM_RIGHTS,1,1,1,1,1,1,1,1
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EKEYREVOKED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon junkerr,EKEYREVOKED,128,128,-1,-1,-1,-1,-1,-1
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_SETNOSIGPIPE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fcntl3,F_SETNOSIGPIPE,-1,-1,73,73,-1,-1,14,-1
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/STRIPDISC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,STRIPDISC,0,0,0,0,0,0x6,0x6,0
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ICMP6_INFOMSG_MASK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon icmp6,ICMP6_INFOMSG_MASK,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80
| 119 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MS_SILENT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MS_SILENT,0x00008000,0x00008000,0,0,0,0,0,0
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SPLICE_F_MOVE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon splice,SPLICE_F_MOVE,1,1,0,0,0,0,0,0
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/Q_QUOTAOFF.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,Q_QUOTAOFF,0x800003,0x800003,0x0200,0x0200,0x0200,0x0200,0x0200,0
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_preadv.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_preadv,0x0127,0x0045,0xfff,0xfff,0x0121,0x010b,0x121,0xfff
| 121 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SOCK_NONBLOCK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sock,SOCK_NONBLOCK,0x0800,0x0800,0x0800,0x0800,0x20000000,0x4000,0x20000000,0x00000800
| 141 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SHM_NORESERVE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon shm,SHM_NORESERVE,0x1000,0x1000,0,0,0,0,0,0
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_setdomainname.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_setdomainname,0x00ab,0x00a2,0xfff,0xfff,0x00a3,0xfff,0xfff,0xfff
| 127 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/LINK_MAX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon limits,LINK_MAX,127,127,32767,32767,32767,32767,32767,64
| 111 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCREMOTE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCREMOTE,0,0,0x80047469,0x80047469,0,0x80047469,0x80047469,0
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/BUS_OOMERR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,BUS_OOMERR,-1,-1,-1,-1,100,-1,-1,-1
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SA_NOCLDWAIT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sigact,SA_NOCLDWAIT,2,2,32,32,32,32,32,2
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/B134.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon baud,B134,4,4,134,134,134,134,134,134
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CTIME.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,CTIME,0,0,0,0,0,0,0,0
| 81 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FPE_INTDIV.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,FPE_INTDIV,1,1,7,7,2,1,1,1
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_sigqueueinfo.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_sigqueueinfo,0x0081,0x008a,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/POSIX_FADV_SEQUENTIAL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon compat,POSIX_FADV_SEQUENTIAL,2,2,127,127,2,2,2,2
| 103 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_INCOMING_CPU.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_INCOMING_CPU,49,49,0,0,0,0,0,0
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_SNDBUF.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_SNDBUF,7,7,0x1001,0x1001,0x1001,0x1001,0x1001,0x1001
| 113 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SYNC_FILE_RANGE_WRITE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,SYNC_FILE_RANGE_WRITE,2,2,0,0,0,0,0,0
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SCM_TIMESTAMPNS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon scm,SCM_TIMESTAMPNS,35,35,0,0,0,0,0,0
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_RXRPC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_RXRPC,33,33,0,0,0,0,0,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_sched_getparam.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_sched_getparam,0x008f,0x0079,0xfff,0xfff,0x0148,0xfff,0xfff,0xfff
| 128 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIGTHR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sig,SIGTHR,32,32,7,7,32,32,33,32
| 87 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EUSERS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,EUSERS,87,87,68,68,68,68,68,10068
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IFF_NOARP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon iff,IFF_NOARP,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80
| 108 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_MAX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_MAX,42,42,40,40,42,36,36,35
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EXPR_NEST_MAX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,EXPR_NEST_MAX,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0
| 110 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_DETACH_BPF.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_DETACH_BPF,27,27,0,0,0,0,0,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MAP_EXECUTABLE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon compat,MAP_EXECUTABLE,0x00001000,0x00001000,0,0,0,0,0,0
| 110 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ENOPKG.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon junkerr,ENOPKG,65,65,-1,-1,-1,-1,-1,-1
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CLD_DUMPED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,CLD_DUMPED,3,3,3,3,3,3,3,3
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PIO_VFONT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon vid,PIO_VFONT,0,0,0,0,0x84086346,0,0,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AT_PAGESZ.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon auxv,AT_PAGESZ,6,6,6,6,6,0,6,0
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPPROTO_SCTP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon iproto,IPPROTO_SCTP,132,132,132,132,132,-1,-1,-1
| 103 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FBIOGET_VSCREENINFO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon vid,FBIOGET_VSCREENINFO,0x4600,0x4600,0,0,0,0,0,0
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SOL_DECNET.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sol,SOL_DECNET,261,261,-1,-1,-1,-1,-1,-1
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PTRACE_POKETEXT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ptrace,PTRACE_POKETEXT,4,4,4,4,4,4,-1,-1
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/futex.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FUTEX_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_FUTEX_H_
#include "libc/runtime/symbolic.h"
#define FUTEX_WAIT SYMBOLIC(FUTEX_WAIT)
#define FUTEX_WAKE SYMBOLIC(FUTEX_WAKE)
#define FUTEX_REQUEUE SYMBOLIC(FUTEX_REQUEUE)
#define FUTEX_PRIVATE_FLAG 128
#define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
#define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG)
#define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG)
#define FUTEX_WAIT_BITSET 9
#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 /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FUTEX_H_ */
| 887 | 28 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SARMAG.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,SARMAG,8,8,8,8,8,8,8,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP6F_RESERVED_MASK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,IP6F_RESERVED_MASK,0x0600,0x0600,0x0600,0x0600,0x0600,0x0600,0x0600,0x0600
| 134 | 3 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.