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/FUTEX_REQUEUE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon futex,FUTEX_REQUEUE,3,3,0,0,0,3,0,0
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MSG_MORE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon msg,MSG_MORE,0x8000,0x8000,0,0,0,0,0,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MS_ACTIVE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MS_ACTIVE,0x40000000,0x40000000,0,0,0,0,0,0
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCGPGRP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCGPGRP,0x8904,0x8904,0x40047309,0x40047309,0x40047309,0x40047309,0x40047309,0
| 139 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ENETUNREACH.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,ENETUNREACH,101,101,51,51,51,51,51,10051
#ifdef __x86_64__
.yoink kDos2Errno.ENETUNREACH
#endif
| 156 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCGRARP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCGRARP,0x8961,0x8961,0,0,0,0,0,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCFLAG_PPS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCFLAG_PPS,0,0,0,0,0,0x10,0x10,0
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MSG_OOB.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon msg,MSG_OOB,1,1,1,1,1,1,1,1
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_mlock2.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_mlock2,0x0145,0x011c,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 119 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCGTSTAMP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCGTSTAMP,0,0,0,0,0,0x4010745b,0x4010745b,0
| 108 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCSERSETMULTI.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCSERSETMULTI,0x545b,0x545b,0,0,0,0,0,0
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/auxv.h | #ifndef COSMOPOLITAN_LIBC_CALLS_AUXV_H_
#define COSMOPOLITAN_LIBC_CALLS_AUXV_H_
#include "libc/runtime/symbolic.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const unsigned long AT_BASE;
extern const unsigned long AT_BASE_PLATFORM;
extern const unsigned long AT_CANARY;
extern const unsigned long AT_CANARYLEN;
extern const unsigned long AT_CLKTCK;
extern const unsigned long AT_DCACHEBSIZE;
extern const unsigned long AT_EGID;
extern const unsigned long AT_EHDRFLAGS;
extern const unsigned long AT_ENTRY;
extern const unsigned long AT_EUID;
extern const unsigned long AT_EXECFD;
extern const unsigned long AT_EXECFN;
extern const unsigned long AT_EXECPATH;
extern const unsigned long AT_FLAGS;
extern const unsigned long AT_GID;
extern const unsigned long AT_HWCAP2;
extern const unsigned long AT_HWCAP;
extern const unsigned long AT_ICACHEBSIZE;
extern const unsigned long AT_MINSIGSTKSZ;
extern const unsigned long AT_NCPUS;
extern const unsigned long AT_NOTELF;
extern const unsigned long AT_NO_AUTOMOUNT;
extern const unsigned long AT_OSRELDATE;
extern const unsigned long AT_PAGESIZES;
extern const unsigned long AT_PAGESIZESLEN;
extern const unsigned long AT_PAGESZ;
extern const unsigned long AT_PHDR;
extern const unsigned long AT_PHENT;
extern const unsigned long AT_PHNUM;
extern const unsigned long AT_PLATFORM;
extern const unsigned long AT_RANDOM;
extern const unsigned long AT_SECURE;
extern const unsigned long AT_STACKBASE;
extern const unsigned long AT_STACKPROT;
extern const unsigned long AT_SYSINFO_EHDR;
extern const unsigned long AT_TIMEKEEP;
extern const unsigned long AT_UCACHEBSIZE;
extern const unsigned long AT_UID;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#define AT_BASE SYMBOLIC(AT_BASE)
#define AT_BASE_PLATFORM SYMBOLIC(AT_BASE_PLATFORM)
#define AT_CANARY SYMBOLIC(AT_CANARY)
#define AT_CANARYLEN SYMBOLIC(AT_CANARYLEN)
#define AT_CLKTCK SYMBOLIC(AT_CLKTCK)
#define AT_DCACHEBSIZE SYMBOLIC(AT_DCACHEBSIZE)
#define AT_EGID SYMBOLIC(AT_EGID)
#define AT_EHDRFLAGS SYMBOLIC(AT_EHDRFLAGS)
#define AT_ENTRY SYMBOLIC(AT_ENTRY)
#define AT_EUID SYMBOLIC(AT_EUID)
#define AT_EXECFD SYMBOLIC(AT_EXECFD)
#define AT_EXECFN SYMBOLIC(AT_EXECFN)
#define AT_EXECPATH SYMBOLIC(AT_EXECPATH)
#define AT_FLAGS SYMBOLIC(AT_FLAGS)
#define AT_GID SYMBOLIC(AT_GID)
#define AT_HWCAP SYMBOLIC(AT_HWCAP)
#define AT_HWCAP2 SYMBOLIC(AT_HWCAP2)
#define AT_ICACHEBSIZE SYMBOLIC(AT_ICACHEBSIZE)
#define AT_MINSIGSTKSZ SYMBOLIC(AT_MINSIGSTKSZ)
#define AT_NCPUS SYMBOLIC(AT_NCPUS)
#define AT_NOTELF SYMBOLIC(AT_NOTELF)
#define AT_NO_AUTOMOUNT SYMBOLIC(AT_NO_AUTOMOUNT)
#define AT_OSRELDATE SYMBOLIC(AT_OSRELDATE)
#define AT_PAGESIZES SYMBOLIC(AT_PAGESIZES)
#define AT_PAGESIZESLEN SYMBOLIC(AT_PAGESIZESLEN)
#define AT_PAGESZ SYMBOLIC(AT_PAGESZ)
#define AT_PHDR SYMBOLIC(AT_PHDR)
#define AT_PHENT SYMBOLIC(AT_PHENT)
#define AT_PHNUM SYMBOLIC(AT_PHNUM)
#define AT_PLATFORM SYMBOLIC(AT_PLATFORM)
#define AT_RANDOM SYMBOLIC(AT_RANDOM)
#define AT_SECURE SYMBOLIC(AT_SECURE)
#define AT_STACKBASE SYMBOLIC(AT_STACKBASE)
#define AT_STACKPROT SYMBOLIC(AT_STACKPROT)
#define AT_SYSINFO_EHDR SYMBOLIC(AT_SYSINFO_EHDR)
#define AT_TIMEKEEP SYMBOLIC(AT_TIMEKEEP)
#define AT_UCACHEBSIZE SYMBOLIC(AT_UCACHEBSIZE)
#define AT_UID SYMBOLIC(AT_UID)
#endif /* COSMOPOLITAN_LIBC_CALLS_AUXV_H_ */
| 3,543 | 89 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FIOCLEX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ioctl,FIOCLEX,0x5451,0x5451,0x20006601,0x20006601,0x20006601,0x20006601,0x20006601,0x5451
| 144 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPV6_2292DSTOPTS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ipv6,IPV6_2292DSTOPTS,4,4,23,23,0,0,0,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SCHED_IDLE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sched,SCHED_IDLE,5,5,127,127,2,127,0,127
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CLD_TRAPPED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,CLD_TRAPPED,4,4,4,4,4,4,4,4
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/Q_SETQUOTA.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,Q_SETQUOTA,0x800008,0x800008,0x0400,0x0400,0x0800,0x0400,0x0400,0
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_CC_INFO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_CC_INFO,26,26,0,0,0,0,0,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_INFO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_INFO,11,11,0,0,0x20,0,9,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_FASTOPEN_CONNECT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_FASTOPEN_CONNECT,30,30,0,0,0,0,0,0
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EINVAL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,EINVAL,22,22,22,22,22,22,22,87
#ifdef __x86_64__
.yoink kDos2Errno.EINVAL
#endif
| 141 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AT_PHENT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon auxv,AT_PHENT,4,4,4,4,4,0,4,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_LOCAL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_LOCAL,1,1,1,1,1,1,1,1
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PIO_FONTRESET.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon vid,PIO_FONTRESET,0x4b6d,0x4b6d,0,0,0x20006348,0,0,0
| 107 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_EXCLUSIVEADDRUSE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_EXCLUSIVEADDRUSE,0,0,0,0,0,0,0,0xfffffffb
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/pty.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_PTY_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_PTY_H_
#include "libc/runtime/symbolic.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const int TIOCPKT;
extern const int TIOCPKT_DATA;
extern const int TIOCPKT_DOSTOP;
extern const int TIOCPKT_FLUSHREAD;
extern const int TIOCPKT_FLUSHWRITE;
extern const int TIOCPKT_IOCTL;
extern const int TIOCPKT_NOSTOP;
extern const int TIOCPKT_START;
extern const int TIOCPKT_STOP;
extern const int TIOCSPTLCK;
extern const int PTMGET;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#define TIOCPKT SYMBOLIC(TIOCPKT)
#define TIOCSPTLCK SYMBOLIC(TIOCSPTLCK)
#define PTMGET SYMBOLIC(PTMGET)
#define TIOCPKT_DATA LITERALLY(0x00)
#define TIOCPKT_DOSTOP LITERALLY(0x01)
#define TIOCPKT_FLUSHREAD LITERALLY(0x02)
#define TIOCPKT_FLUSHWRITE LITERALLY(0x04)
#define TIOCPKT_IOCTL LITERALLY(0x08)
#define TIOCPKT_NOSTOP LITERALLY(0x10)
#define TIOCPKT_START LITERALLY(0x20)
#define TIOCPKT_STOP LITERALLY(0x40)
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PTY_H_ */
| 1,132 | 35 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TVERSLEN.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,TVERSLEN,2,2,2,2,2,2,2,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCSIFSLAVE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCSIFSLAVE,0x8930,0x8930,0,0,0,0,0,0
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_COOKIE_TRANSACTIONS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_COOKIE_TRANSACTIONS,15,15,0,0,0,0,0,0
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_renameat2.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_renameat2,0x013c,0x0114,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 122 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CLOSE_RANGE_UNSHARE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon close,CLOSE_RANGE_UNSHARE,2,2,-1,-1,-1,-1,-1,-1
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_ECONET.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_ECONET,19,19,0,0,0,0,0,0
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_CORK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_CORK,3,3,4,4,4,16,4,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/syscon.internal.h | /*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-â
âvi: set et ft=asm ts=8 sw=8 fenc=utf-8 :viâ
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¡
â Copyright 2020 Justine Alexandra Roberts Tunney â
â â
â Permission to use, copy, modify, and/or distribute this software for â
â any purpose with or without fee is hereby granted, provided that the â
â above copyright notice and this permission notice appear in all copies. â
â â
â THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL â
â WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED â
â WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE â
â AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL â
â DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR â
â PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER â
â TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR â
â PERFORMANCE OF THIS SOFTWARE. â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ*/
#include "libc/dce.h"
#include "libc/macros.internal.h"
// clang-format off
#ifdef __x86_64__
.yoink _init_systemfive
#endif
.macro .syscon group:req name:req linux:req linux_aarch64:req xnu:req xnu_aarch64:req freebsd:req openbsd:req netbsd:req windows:req
.section .piro.bss.sort.syscon.2.\group\().\name,"aw",@nobits
.balign 8
\name: .quad 0
.endobj \name,globl
.previous
#if SupportsLinux() || SupportsMetal()
.section .sort.rodata.syscon.linux.2.\group\().\name,"a",@progbits
#ifdef __aarch64__
.uleb128 \linux_aarch64
#else
.uleb128 \linux
#endif
.previous
#endif
#if SupportsXnu()
.section .sort.rodata.syscon.xnu.2.\group\().\name,"a",@progbits
#ifdef __aarch64__
.uleb128 \xnu_aarch64
#else
.uleb128 \xnu
#endif
.previous
#endif
#if SupportsFreebsd()
.section .sort.rodata.syscon.freebsd.2.\group\().\name,"a",@progbits
.uleb128 \freebsd
.previous
#endif
#if SupportsOpenbsd()
.section .sort.rodata.syscon.openbsd.2.\group\().\name,"a",@progbits
.uleb128 \openbsd
.previous
#endif
#if SupportsNetbsd()
.section .sort.rodata.syscon.netbsd.2.\group\().\name,"a",@progbits
.uleb128 \netbsd
.previous
#endif
#if SupportsWindows()
.section .sort.rodata.syscon.windows.2.\group\().\name,"a",@progbits
.uleb128 \windows
.previous
#endif
.endm
| 3,115 | 80 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ENOTTY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,ENOTTY,25,25,25,25,25,25,25,1118
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ICANON.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,ICANON,0b0000000000000010,0b0000000000000010,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000000000010
| 221 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IFF_DEBUG.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon iff,IFF_DEBUG,4,4,4,4,4,4,4,4
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/COMMAND_TERMINATED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,COMMAND_TERMINATED,17,17,0,0,0,0,0,0
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_setrlimit.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_setrlimit,0x00a0,0x00a4,0x20000c3,0x00c3,0x00c3,0x00c3,0x0c3,0xfff
| 129 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_futex.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_futex,0x00ca,0x0062,0xfff,0xfff,0x1c6,0x0053,0x0a6,0xfff
| 119 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/XCASE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,XCASE,0b0000000000000100,0b0000000000000100,0,0,0,16777216,0,0b0000000000000100
| 142 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ST_IMMUTABLE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon statfs,ST_IMMUTABLE,0x0200,0x0200,0,0,0,0,0,0
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ICMP6_TIME_EXCEED_REASSEMBLY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon icmp6,ICMP6_TIME_EXCEED_REASSEMBLY,1,1,1,1,1,1,1,1
| 105 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_HDRINCL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_HDRINCL,3,3,2,2,2,2,2,2
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/NO_SENSE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,NO_SENSE,0,0,0,0,0,0,0,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EUCLEAN.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon junkerr,EUCLEAN,117,117,-1,-1,-1,-1,-1,-1
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPPROTO_DCCP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon iproto,IPPROTO_DCCP,33,33,-1,-1,-1,-1,-1,-1
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/icmp6.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ICMP6_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_ICMP6_H_
#include "libc/runtime/symbolic.h"
#define ICMP6_DST_UNREACH SYMBOLIC(ICMP6_DST_UNREACH)
#define ICMP6_DST_UNREACH_ADDR SYMBOLIC(ICMP6_DST_UNREACH_ADDR)
#define ICMP6_DST_UNREACH_ADMIN SYMBOLIC(ICMP6_DST_UNREACH_ADMIN)
#define ICMP6_DST_UNREACH_BEYONDSCOPE SYMBOLIC(ICMP6_DST_UNREACH_BEYONDSCOPE)
#define ICMP6_DST_UNREACH_NOPORT SYMBOLIC(ICMP6_DST_UNREACH_NOPORT)
#define ICMP6_DST_UNREACH_NOROUTE SYMBOLIC(ICMP6_DST_UNREACH_NOROUTE)
#define ICMP6_ECHO_REPLY SYMBOLIC(ICMP6_ECHO_REPLY)
#define ICMP6_ECHO_REQUEST SYMBOLIC(ICMP6_ECHO_REQUEST)
#define ICMP6_FILTER SYMBOLIC(ICMP6_FILTER)
#define ICMP6_INFOMSG_MASK SYMBOLIC(ICMP6_INFOMSG_MASK)
#define ICMP6_PACKET_TOO_BIG SYMBOLIC(ICMP6_PACKET_TOO_BIG)
#define ICMP6_PARAMPROB_HEADER SYMBOLIC(ICMP6_PARAMPROB_HEADER)
#define ICMP6_PARAMPROB_NEXTHEADER SYMBOLIC(ICMP6_PARAMPROB_NEXTHEADER)
#define ICMP6_PARAMPROB_OPTION SYMBOLIC(ICMP6_PARAMPROB_OPTION)
#define ICMP6_PARAM_PROB SYMBOLIC(ICMP6_PARAM_PROB)
#define ICMP6_ROUTER_RENUMBERING SYMBOLIC(ICMP6_ROUTER_RENUMBERING)
#define ICMP6_RR_FLAGS_FORCEAPPLY SYMBOLIC(ICMP6_RR_FLAGS_FORCEAPPLY)
#define ICMP6_RR_FLAGS_PREVDONE SYMBOLIC(ICMP6_RR_FLAGS_PREVDONE)
#define ICMP6_RR_FLAGS_REQRESULT SYMBOLIC(ICMP6_RR_FLAGS_REQRESULT)
#define ICMP6_RR_FLAGS_SPECSITE SYMBOLIC(ICMP6_RR_FLAGS_SPECSITE)
#define ICMP6_RR_FLAGS_TEST SYMBOLIC(ICMP6_RR_FLAGS_TEST)
#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME \
SYMBOLIC(ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME)
#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME \
SYMBOLIC(ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME)
#define ICMP6_RR_PCOUSE_RAFLAGS_AUTO SYMBOLIC(ICMP6_RR_PCOUSE_RAFLAGS_AUTO)
#define ICMP6_RR_PCOUSE_RAFLAGS_ONLINK SYMBOLIC(ICMP6_RR_PCOUSE_RAFLAGS_ONLINK)
#define ICMP6_RR_RESULT_FLAGS_FORBIDDEN \
SYMBOLIC(ICMP6_RR_RESULT_FLAGS_FORBIDDEN)
#define ICMP6_RR_RESULT_FLAGS_OOB SYMBOLIC(ICMP6_RR_RESULT_FLAGS_OOB)
#define ICMP6_TIME_EXCEEDED SYMBOLIC(ICMP6_TIME_EXCEEDED)
#define ICMP6_TIME_EXCEED_REASSEMBLY SYMBOLIC(ICMP6_TIME_EXCEED_REASSEMBLY)
#define ICMP6_TIME_EXCEED_TRANSIT SYMBOLIC(ICMP6_TIME_EXCEED_TRANSIT)
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const uint8_t ICMP6_DST_UNREACH;
extern const uint8_t ICMP6_DST_UNREACH_ADDR;
extern const uint8_t ICMP6_DST_UNREACH_ADMIN;
extern const uint8_t ICMP6_DST_UNREACH_BEYONDSCOPE;
extern const uint8_t ICMP6_DST_UNREACH_NOPORT;
extern const uint8_t ICMP6_DST_UNREACH_NOROUTE;
extern const uint8_t ICMP6_ECHO_REPLY;
extern const uint8_t ICMP6_ECHO_REQUEST;
extern const uint8_t ICMP6_FILTER;
extern const uint8_t ICMP6_INFOMSG_MASK;
extern const uint8_t ICMP6_PACKET_TOO_BIG;
extern const uint8_t ICMP6_PARAMPROB_HEADER;
extern const uint8_t ICMP6_PARAMPROB_NEXTHEADER;
extern const uint8_t ICMP6_PARAMPROB_OPTION;
extern const uint8_t ICMP6_PARAM_PROB;
extern const uint8_t ICMP6_ROUTER_RENUMBERING;
extern const uint8_t ICMP6_RR_FLAGS_FORCEAPPLY;
extern const uint8_t ICMP6_RR_FLAGS_PREVDONE;
extern const uint8_t ICMP6_RR_FLAGS_REQRESULT;
extern const uint8_t ICMP6_RR_FLAGS_SPECSITE;
extern const uint8_t ICMP6_RR_FLAGS_TEST;
extern const uint8_t ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME;
extern const uint8_t ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME;
extern const uint8_t ICMP6_RR_PCOUSE_RAFLAGS_AUTO;
extern const uint8_t ICMP6_RR_PCOUSE_RAFLAGS_ONLINK;
extern const uint8_t ICMP6_RR_RESULT_FLAGS_FORBIDDEN;
extern const uint8_t ICMP6_RR_RESULT_FLAGS_OOB;
extern const uint8_t ICMP6_TIME_EXCEEDED;
extern const uint8_t ICMP6_TIME_EXCEED_REASSEMBLY;
extern const uint8_t ICMP6_TIME_EXCEED_TRANSIT;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_ICMP6_H_ */
| 3,708 | 76 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MNT_NOATIME.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MNT_NOATIME,0x00000400,0x00000400,0x10000000,0x10000000,0x10000000,0x00008000,0x04000000,0x00000400
| 160 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_FREEBIND.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_FREEBIND,15,15,0,0,0,0,0,0
| 87 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_DEFAULT_MULTICAST_TTL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_DEFAULT_MULTICAST_TTL,1,1,1,1,1,1,1,1
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_ADD_SOURCE_MEMBERSHIP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_ADD_SOURCE_MEMBERSHIP,39,39,70,70,70,0,0,15
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CS8.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,CS8,0b0000000000110000,0b0000000000110000,0b000000001100000000,0b000000001100000000,0b000000001100000000,0b0000001100000000,0b0000001100000000,0b0000000000110000
| 224 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EPOLLEXCLUSIVE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon epoll,EPOLLEXCLUSIVE,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000
| 163 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EXTB.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,EXTB,15,15,0x9600,0x9600,0x9600,0x9600,0x9600,0
| 110 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_getdents.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_getdents,0x00d9,0x003d,0xfff,0xfff,0x0110,0x0063,0x186,0xfff
| 123 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_BINDTODEVICE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_BINDTODEVICE,25,25,0,0,0,0,0,0
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_LOCK_FILTER.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_LOCK_FILTER,44,44,0,0,0,0,0,0
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCSIFFLAGS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCSIFFLAGS,0x8914,0x8914,0x80206910,0x80206910,0x80206910,0x80206910,0x80206910,0
| 142 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_CHECKSUM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_CHECKSUM,23,23,0,0,0,0,0,0
| 87 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ILL_PRVOPC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,ILL_PRVOPC,5,5,3,3,5,5,5,5
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FALLOC_FL_COLLAPSE_RANGE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,FALLOC_FL_COLLAPSE_RANGE,0x08,0x08,-1,-1,-1,-1,-1,-1
| 112 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPPROTO_TCP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon iproto,IPPROTO_TCP,6,6,6,6,6,6,6,6
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_modify_ldt.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_modify_ldt,0x009a,0x0fff,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 123 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/th.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_TH_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_TH_H_
#define TH_FIN 1
#define TH_SYN 2
#define TH_RST 4
#define TH_PUSH 8
#define TH_URG 32
#define TH_ACK 16
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_TH_H_ */
| 249 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/RLIMIT_MEMLOCK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon rlimit,RLIMIT_MEMLOCK,8,8,6,6,6,6,6,127
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PTRACE_GETSIGINFO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ptrace,PTRACE_GETSIGINFO,0x4202,0x4202,-1,-1,-1,-1,-1,-1
| 111 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCSPGRP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCSPGRP,0x5410,0x5410,0x80047476,0x80047476,0x80047476,0x80047476,0x80047476,0
| 143 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_ALG.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ALG,38,38,0,0,0,0,0,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_prlimit.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_prlimit,0x012e,0x0105,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 120 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon icmp6,ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0
| 130 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SI_QUEUE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,SI_QUEUE,-1,-1,0x010002,0x010002,0x010002,-2,-1,-1
| 112 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_killpg.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_killpg,0xfff,0x0fff,0xfff,0xfff,0x0092,0xfff,0xfff,0xfff
| 119 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/LIO_WAIT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon lio,LIO_WAIT,127,127,2,2,1,127,1,127
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_SECURITY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_SECURITY,14,14,0,0,0,0,0,0
| 87 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ST_APPEND.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon statfs,ST_APPEND,0x0100,0x0100,0,0,0,0,0,0
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_GETFD.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fcntl2,F_GETFD,1,1,1,1,1,1,1,1
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EXTPROC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,EXTPROC,65536,65536,0b0000100000000000,0b0000100000000000,0b0000100000000000,0b0000100000000000,0b0000100000000000,65536
| 183 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/BSDLY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,BSDLY,0b0010000000000000,0b0010000000000000,0b001000000000000000,0b001000000000000000,0b001000000000000000,0,0,0b0010000000000000
| 192 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_swapoff.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_swapoff,0x00a8,0x00e1,0xfff,0xfff,0x01a8,0xfff,0xfff,0xfff
| 121 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_IB.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_IB,27,27,0,0,0,0,0,0
| 81 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCSDTR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCSDTR,0,0,0x20007479,0x20007479,0x20007479,0x20007479,0x20007479,0
| 132 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_process_vm_writev.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_process_vm_writev,0x0137,0x010f,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 130 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AT_BASE_PLATFORM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon auxv,AT_BASE_PLATFORM,24,24,0,0,0,0,0,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AT_EGID.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon auxv,AT_EGID,14,14,14,14,0,0,2002,0
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_mknod.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_mknod,0x0085,0x0fff,0x200000e,0x000e,0x000e,0x000e,0x1c2,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPV6_RECVDSTOPTS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ipv6,IPV6_RECVDSTOPTS,58,58,0,0,40,40,40,0
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_REPAIR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_REPAIR,19,19,0,0,0,0,0,0
| 87 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_splice.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_splice,0x0113,0x004c,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 119 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_SETPIPE_SZ.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fcntl,F_SETPIPE_SZ,0x0407,0x0407,-1,-1,-1,-1,-1,-1
| 105 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/B1200.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon baud,B1200,9,9,1200,1200,1200,1200,1200,1200
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FBIOPUT_VSCREENINFO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon vid,FBIOPUT_VSCREENINFO,0x4601,0x4601,0,0,0,0,0,0
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CONTINUE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,CONTINUE,3,3,3,3,3,3,3,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_io_cancel.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_io_cancel,0x00d2,0x0003,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 122 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/_SEM_SEMUN_UNDEFINED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,_SEM_SEMUN_UNDEFINED,1,1,0,0,0,0,0,0
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SA_RESTART.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sigact,SA_RESTART,0x10000000,0x10000000,2,2,2,2,2,0x10000000
| 115 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_PPPOX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_PPPOX,24,24,0,0,0,0,0,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_fanotify_mark.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_fanotify_mark,0x012d,0x0107,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 126 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCSTI.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCSTI,0x5412,0x5412,0x80017472,0x80017472,0x80017472,0,0,0
| 123 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCGIFNAME.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCGIFNAME,0x8910,0x8910,0,0,0,0,0,0
| 96 | 3 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.