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/MAP_SYNC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mmap,MAP_SYNC,0x00080000,0x00080000,0,0,0,0,0,0
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_SNDLOWAT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_SNDLOWAT,19,19,0x1003,0x1003,0x1003,0x1003,0x1003,0x1003
| 117 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MS_NOSUID.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MS_NOSUID,0x00000002,0x00000002,0x00000008,0x00000008,0x00000008,0x00000008,0x00000008,0x00000001
| 158 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FWRITE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fcntl,FWRITE,0,0,2,2,2,2,2,0
| 83 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_msync.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_msync,0x001a,0x00e3,0x2000041,0x0041,0x0041,0x0100,0x115,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EPOLLWAKEUP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon epoll,EPOLLWAKEUP,0x20000000,0x20000000,0x20000000,0x20000000,0x20000000,0x20000000,0x20000000,0x20000000
| 160 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_posix_spawn.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_posix_spawn,0xfff,0x0fff,0x20000f4,0x00f4,0xfff,0xfff,0xfff,0xfff
| 128 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/POSIX_MADV_NORMAL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon compat,POSIX_MADV_NORMAL,0,0,0,0,0,0,0,0
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MSG_EOF.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon msg,MSG_EOF,0x0200,0x0200,0x0100,0x0100,0x0100,0,0,0
| 107 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/LIO_WRITE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon lio,LIO_WRITE,127,127,2,2,1,127,1,127
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_MAX_MEMBERSHIPS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_MAX_MEMBERSHIPS,20,20,0x0fff,0x0fff,0x0fff,0x0fff,0x0fff,20
| 120 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPPROTO_MTP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon iproto,IPPROTO_MTP,92,92,92,92,92,-1,-1,-1
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EISNAM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon junkerr,EISNAM,120,120,-1,-1,-1,-1,-1,-1
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/RB_POWER_OFF.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon reboot,RB_POWER_OFF,0x4321fedc,0x4321fedc,0xffffffff,0xffffffff,0x4000,0x1000,0x808,8
| 140 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ENOTUNIQ.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon junkerr,ENOTUNIQ,76,76,-1,-1,-1,-1,-1,-1
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCDIFADDR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCDIFADDR,0x8936,0x8936,0x80206919,0x80206919,0x80206919,0x80206919,0x80206919,0
| 141 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/RLIMIT_SIGPENDING.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon rlimit,RLIMIT_SIGPENDING,11,11,127,127,127,127,127,127
| 109 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SHM_REMAP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon shm,SHM_REMAP,0x4000,0x4000,0,0,0,0,0,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/s.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_S_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_S_H_
#define S_IFIFO 0010000 /* pipe */
#define S_IFCHR 0020000 /* character device */
#define S_IFDIR 0040000 /* directory */
#define S_IFBLK 0060000 /* block device */
#define S_IFREG 0100000 /* regular file */
#define S_IFLNK 0120000 /* symbolic link */
#define S_IFSOCK 0140000 /* socket */
#define S_IFMT 0170000 /* mask of file types above */
#define S_ISVTX 0001000 /* THE STICKY BIT */
#define S_ISGID 0002000 /* the setgid bit */
#define S_ISUID 0004000 /* the setuid bit */
#define S_IXUSR 0000100 /* user --x; just use octal */
#define S_IWUSR 0000200 /* user -w-; just use octal */
#define S_IRUSR 0000400 /* user r--; just use octal */
#define S_IRWXU 0000700 /* user rwx; just use octal */
#define S_IXGRP 0000010 /* group --x; just use octal */
#define S_IWGRP 0000020 /* group -w-; just use octal */
#define S_IRGRP 0000040 /* group r--; just use octal */
#define S_IRWXG 0000070 /* group rwx; just use octal */
#define S_IXOTH 0000001 /* other --x; just use octal */
#define S_IWOTH 0000002 /* other -w-; just use octal */
#define S_IROTH 0000004 /* other r--; just use octal */
#define S_IRWXO 0000007 /* other rwx; just use octal */
#define S_IREAD 0000400 /* just use octal */
#define S_IEXEC 0000100 /* just use octal */
#define S_IWRITE 0000200 /* just use octal */
#define S_ISTXT 0001000 /* just use octal */
#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR)
#define S_ISCHR(mode) (((mode)&S_IFMT) == S_IFCHR)
#define S_ISBLK(mode) (((mode)&S_IFMT) == S_IFBLK)
#define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG)
#define S_ISFIFO(mode) (((mode)&S_IFMT) == S_IFIFO)
#define S_ISLNK(mode) (((mode)&S_IFMT) == S_IFLNK)
#define S_ISSOCK(mode) (((mode)&S_IFMT) == S_IFSOCK)
#define S_BLKSIZE 512
#define ALLPERMS (S_ISUID | S_ISGID | S_ISTXT | S_IRWXU | S_IRWXG | S_IRWXO)
#define DEFFILEMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_S_H_ */
| 2,046 | 46 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_capset.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_capset,0x007e,0x005b,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 119 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/POSIX_FADV_NOREUSE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fadv,POSIX_FADV_NOREUSE,5,5,127,127,5,127,5,127
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MADV_REMOVE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon madv,MADV_REMOVE,9,9,127,127,127,127,127,127
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/VTDLY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,VTDLY,0b0100000000000000,0b0100000000000000,0b010000000000000000,0b010000000000000000,0b010000000000000000,0,0,0b0100000000000000
| 192 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_GETPIPE_SZ.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fcntl,F_GETPIPE_SZ,0x0408,0x0408,-1,-1,-1,-1,-1,-1
| 105 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/DT_FIFO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon dt,DT_FIFO,1,1,1,1,1,1,1,1
| 81 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_fchownat.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_fchownat,0x0104,0x0036,0x20001d4,0x01d4,0x01eb,0x013b,0x1d0,0xfff
| 128 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FSETLOCKING_INTERNAL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,FSETLOCKING_INTERNAL,1,1,0,0,0,0,0,0
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_mq_timedsend.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_mq_timedsend,0x00f2,0x00b6,0xfff,0xfff,0xfff,0xfff,0x1b0,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPV6_RECVTCLASS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ipv6,IPV6_RECVTCLASS,66,66,35,35,57,57,57,40
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_sendto.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_sendto,0x002c,0x00ce,0x2000085,0x0085,0x0085,0x0085,0x085,0xfff
| 126 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCPTSNAME.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCPTSNAME,0,0,0,0,0,0,0x48087448,0
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_WANPIPE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_WANPIPE,25,25,0,0,0,0,0,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_THIN_DUPACK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_THIN_DUPACK,17,17,0,0,0,0,0,0
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_fstatfs.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_fstatfs,0x008a,0x002c,0x200015a,0x015a,0x022c,0x0040,0xfff,0xfff
| 127 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_mmap.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_mmap,0x0009,0x00de,0x20000c5,0x00c5,0x01dd,0x00c5,0x0c5,0xfff
| 124 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_process_vm_readv.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_process_vm_readv,0x0136,0x010e,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 129 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_chdir.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_chdir,0x0050,0x0031,0x200000c,0x000c,0x000c,0x000c,0x00c,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MS_RDONLY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MS_RDONLY,0x00000001,0x00000001,0x00000001,0x00000001,0x00000001,0x00000001,0x00000001,0x00000001
| 158 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CSTOPB.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,CSTOPB,0b0000000001000000,0b0000000001000000,0b000000010000000000,0b000000010000000000,0b000000010000000000,0b0000010000000000,0b0000010000000000,0b0000000001000000
| 227 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MS_MANDLOCK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MS_MANDLOCK,0x00000040,0x00000040,0,0,0,0,0,0
| 106 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ESOCKTNOSUPPORT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,ESOCKTNOSUPPORT,94,94,44,44,44,44,44,10044
| 103 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MS_DIRSYNC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MS_DIRSYNC,0x00000080,0x00000080,0,0,0,0,0,0
| 105 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/RLIMIT_FSIZE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon rlimit,RLIMIT_FSIZE,1,1,1,1,1,1,1,127
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/INET_ADDRSTRLEN.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,INET_ADDRSTRLEN,0x10,0x10,0x10,0x10,0x10,0x10,0x10,22
| 111 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/hwcap.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_HWCAP_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_HWCAP_H_
#ifdef __aarch64__
// Feature bits for getauxval(AT_HWCAP) on AARCH64 GNU/SystemD.
#define HWCAP_FP (1 << 0)
#define HWCAP_ASIMD (1 << 1)
#define HWCAP_EVTSTRM (1 << 2)
#define HWCAP_AES (1 << 3)
#define HWCAP_PMULL (1 << 4)
#define HWCAP_SHA1 (1 << 5)
#define HWCAP_SHA2 (1 << 6)
#define HWCAP_CRC32 (1 << 7)
#define HWCAP_ATOMICS (1 << 8)
#define HWCAP_FPHP (1 << 9)
#define HWCAP_ASIMDHP (1 << 10)
#define HWCAP_CPUID (1 << 11)
#define HWCAP_ASIMDRDM (1 << 12)
#define HWCAP_JSCVT (1 << 13)
#define HWCAP_FCMA (1 << 14)
#define HWCAP_LRCPC (1 << 15)
#define HWCAP_DCPOP (1 << 16)
#define HWCAP_SHA3 (1 << 17)
#define HWCAP_SM3 (1 << 18)
#define HWCAP_SM4 (1 << 19)
#define HWCAP_ASIMDDP (1 << 20)
#define HWCAP_SHA512 (1 << 21)
#define HWCAP_SVE (1 << 22)
#define HWCAP_ASIMDFHM (1 << 23)
#define HWCAP_DIT (1 << 24)
#define HWCAP_USCAT (1 << 25)
#define HWCAP_ILRCPC (1 << 26)
#define HWCAP_FLAGM (1 << 27)
#define HWCAP_SSBS (1 << 28)
#define HWCAP_SB (1 << 29)
#define HWCAP_PACA (1 << 30)
#define HWCAP_PACG (1UL << 31)
#define HWCAP2_DCPODP (1 << 0)
#define HWCAP2_SVE2 (1 << 1)
#define HWCAP2_SVEAES (1 << 2)
#define HWCAP2_SVEPMULL (1 << 3)
#define HWCAP2_SVEBITPERM (1 << 4)
#define HWCAP2_SVESHA3 (1 << 5)
#define HWCAP2_SVESM4 (1 << 6)
#define HWCAP2_FLAGM2 (1 << 7)
#define HWCAP2_FRINT (1 << 8)
#define HWCAP2_SVEI8MM (1 << 9)
#define HWCAP2_SVEF32MM (1 << 10)
#define HWCAP2_SVEF64MM (1 << 11)
#define HWCAP2_SVEBF16 (1 << 12)
#define HWCAP2_I8MM (1 << 13)
#define HWCAP2_BF16 (1 << 14)
#define HWCAP2_DGH (1 << 15)
#define HWCAP2_RNG (1 << 16)
#define HWCAP2_BTI (1 << 17)
#define HWCAP2_MTE (1 << 18)
#endif /* __aarch64__ */
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_HWCAP_H_ */
| 1,980 | 62 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/B75.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon baud,B75,2,2,75,75,75,75,75,75
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ELIBMAX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon junkerr,ELIBMAX,82,82,-1,-1,-1,-1,-1,-1
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IGNBRK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,IGNBRK,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001
| 221 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_OK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon access,F_OK,0,0,0,0,0,0,0,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/msync.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MSYNC_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MSYNC_H_
#include "libc/runtime/symbolic.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const int MS_SYNC;
extern const int MS_ASYNC;
extern const int MS_INVALIDATE;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#define MS_SYNC SYMBOLIC(MS_SYNC)
#define MS_ASYNC LITERALLY(1)
#define MS_INVALIDATE SYMBOLIC(MS_INVALIDATE)
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MSYNC_H_ */
| 518 | 19 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SCM_TIMESTAMPING.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon scm,SCM_TIMESTAMPING,37,37,0,0,0,0,0,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ICMP6_ROUTER_RENUMBERING.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon icmp6,ICMP6_ROUTER_RENUMBERING,138,138,138,138,138,138,138,0
| 115 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_openat.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_openat,0x0101,0x0038,0x20001cf,0x01cf,0x01f3,0x0141,0x1d4,0xfff
| 126 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/RB_HALT_SYSTEM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon reboot,RB_HALT_SYSTEM,0xcdef0123,0xcdef0123,8,8,8,8,8,16
| 111 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/NGROUPS_MAX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon limits,NGROUPS_MAX,65536,65536,16,16,1023,16,16,0
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MS_I_VERSION.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MS_I_VERSION,0x00800000,0x00800000,0,0,0,0,0,0
| 107 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SO_ACCEPTCONN.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon so,SO_ACCEPTCONN,30,30,2,2,2,2,2,2
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MADV_HUGEPAGE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon madv,MADV_HUGEPAGE,14,14,127,127,127,127,127,127
| 103 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ACCT_COMM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,ACCT_COMM,0x10,0x10,0,0,0,0,0,0
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EBADMACHO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,EBADMACHO,315,315,88,88,315,315,315,0
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PENDIN.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,PENDIN,0b0100000000000000,0b0100000000000000,536870912,536870912,536870912,536870912,536870912,0b0100000000000000
| 176 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MAP_HUGE_SHIFT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mmap,MAP_HUGE_SHIFT,26,26,0,0,0,0,0,0
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_APPLETALK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_APPLETALK,5,5,0x10,0x10,0x10,0x10,0x10,0x10
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCGIFINDEX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCGIFINDEX,0x8933,0x8933,0,0,0xc0206920,0,0,0
| 106 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_ASH.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ASH,18,18,0,0,0,0,0,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCSER_TEMT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCSER_TEMT,1,1,0,0,0,0,0,0
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ENOPOLICY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,ENOPOLICY,316,316,103,103,316,316,316,0
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_LINGER2.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_LINGER2,8,8,0,0,0,0,0,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIGSYS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sig,SIGSYS,31,31,12,12,12,12,12,31
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_semtimedop.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_semtimedop,0x00dc,0x00c0,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 123 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IGNPAR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,IGNPAR,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100
| 221 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_setregid.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_setregid,0x0072,0x008f,0x200007f,0x007f,0x007f,0x007f,0x07f,0xfff
| 128 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CKILL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,CKILL,21,21,21,21,21,21,21,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CEOT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,CEOT,4,4,4,4,4,4,4,0
| 80 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/UMOUNT_NOFOLLOW.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon unmount,UMOUNT_NOFOLLOW,8,8,0,0,0,0,0,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ETIMEDOUT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,ETIMEDOUT,110,110,60,60,60,60,60,1460
#ifdef __x86_64__
.yoink kDos2Errno.ETIMEDOUT
#endif
| 151 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_setresuid.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_setresuid,0x0075,0x0093,0xfff,0xfff,0x0137,0x011a,0xfff,0xfff
| 124 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MADV_RANDOM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon madv,MADV_RANDOM,1,1,1,1,1,1,1,1
| 87 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ENOMEM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,ENOMEM,12,12,12,12,12,12,12,14
#ifdef __x86_64__
.yoink kDos2Errno.ENOMEM
#endif
| 141 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_delete_module.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_delete_module,0x00b0,0x006a,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 126 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EMULTIHOP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,EMULTIHOP,72,72,95,95,90,0,94,0
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/GIO_FONT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon vid,GIO_FONT,0x4b60,0x4b60,0,0,0,0,0,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MLD_LISTENER_QUERY.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,MLD_LISTENER_QUERY,130,130,130,130,130,130,130,0
| 108 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CQUIT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,CQUIT,28,28,28,28,28,28,28,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MS_NODEV.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mount,MS_NODEV,0x00000004,0x00000004,0x00000010,0x00000010,0x00000010,0x00000010,0x00000010,0x00000004
| 157 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCOOFF.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TCOOFF,0,0,1,1,1,1,1,0
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/L_INCR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,L_INCR,1,1,1,1,1,1,1,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_SETOWN_EX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fcntl,F_SETOWN_EX,15,15,-1,-1,-1,-1,-1,-1
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/RLIMIT_RTPRIO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon rlimit,RLIMIT_RTPRIO,14,14,127,127,127,127,127,127
| 105 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_RETOPTS.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_RETOPTS,7,7,8,8,8,8,8,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TAB2.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TAB2,0b0001000000000000,0b0001000000000000,0b000000100000000000,0b000000100000000000,0b000000100000000000,0,0b000000100000000000,0b0001000000000000
| 210 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCIOFLUSH.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TCIOFLUSH,2,2,3,3,3,3,3,2
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_memfd_create.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_memfd_create,0x013f,0x0117,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/log.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_LOG_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_LOG_H_
#define LOG_MASK(pri) (1 << (pri))
#define LOG_UPTO(pri) ((1 << ((pri) + 1)) - 1)
#define LOG_EMERG 0
#define LOG_ALERT 1
#define LOG_CRIT 2
#define LOG_ERR 3
#define LOG_WARNING 4
#define LOG_NOTICE 5
#define LOG_INFO 6
#define LOG_DEBUG 7
#define LOG_KERN 0000
#define LOG_USER 0010
#define LOG_MAIL 0020
#define LOG_DAEMON 0030
#define LOG_AUTH 0040
#define LOG_SYSLOG 0050
#define LOG_LPR 0060
#define LOG_NEWS 0070
#define LOG_UUCP 0100
#define LOG_CRON 0110
#define LOG_AUTHPRIV 0120
#define LOG_FTP 0130
#define LOG_PID 1
#define LOG_CONS 2
#define LOG_ODELAY 4
#define LOG_NDELAY 8
#define LOG_NOWAIT 16
#define LOG_PERROR 32
#define LOG_LOCAL0 128
#define LOG_LOCAL1 136
#define LOG_LOCAL2 144
#define LOG_LOCAL3 152
#define LOG_LOCAL4 160
#define LOG_LOCAL5 168
#define LOG_LOCAL6 176
#define LOG_LOCAL7 184
#define LOG_NFACILITIES 24
#define LOG_FACMASK 0x03f8
#define LOG_FAC(p) ((LOG_FACMASK & (p)) >> 3)
#define LOG_PRIMASK 7
#define LOG_PRI(p) (LOG_PRIMASK & (p))
#define LOG_MAKEPRI(f, p) (((f) << 3) | (p))
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_LOG_H_ */
| 1,258 | 54 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/BUS_OBJERR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,BUS_OBJERR,3,3,3,3,3,3,3,3
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_fcntl.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_fcntl,0x0048,0x0019,0x200005c,0x005c,0x005c,0x005c,0x05c,0xfff
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_ROUTE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ROUTE,16,16,17,17,17,17,34,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EPOLLRDHUP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon epoll,EPOLLRDHUP,0x2000,0x2000,0x2000,0x2000,0x2000,0x2000,0x2000,0x2000
| 127 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CLOCK_MONOTONIC_COARSE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon clock,CLOCK_MONOTONIC_COARSE,6,6,1,6,12,3,3,1
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SA_NOCLDSTOP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sigact,SA_NOCLDSTOP,1,1,8,8,8,8,8,1
| 90 | 3 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.