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/errfuns/edestaddrreq.S | #include "libc/macros.internal.h"
.text.unlikely
edestaddrreq:
#ifdef __x86_64__
.leafprologue
.profilable
mov EDESTADDRREQ(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EDESTADDRREQ
ldrsw x0,[x1,#:lo12:EDESTADDRREQ]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn edestaddrreq,globl,hidden
| 330 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/ebadfd.S | #include "libc/macros.internal.h"
.text.unlikely
ebadfd:
#ifdef __x86_64__
.leafprologue
.profilable
mov EBADFD(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EBADFD
ldrsw x0,[x1,#:lo12:EBADFD]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn ebadfd,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enoexec.S | #include "libc/macros.internal.h"
.text.unlikely
enoexec:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOEXEC(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOEXEC
ldrsw x0,[x1,#:lo12:ENOEXEC]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enoexec,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enoent.S | #include "libc/macros.internal.h"
.text.unlikely
enoent:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOENT(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOENT
ldrsw x0,[x1,#:lo12:ENOENT]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enoent,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/el3hlt.S | #include "libc/macros.internal.h"
.text.unlikely
el3hlt:
#ifdef __x86_64__
.leafprologue
.profilable
mov EL3HLT(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EL3HLT
ldrsw x0,[x1,#:lo12:EL3HLT]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn el3hlt,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/econnrefused.S | #include "libc/macros.internal.h"
.text.unlikely
econnrefused:
#ifdef __x86_64__
.leafprologue
.profilable
mov ECONNREFUSED(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ECONNREFUSED
ldrsw x0,[x1,#:lo12:ECONNREFUSED]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn econnrefused,globl,hidden
| 330 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enotsup.S | #include "libc/macros.internal.h"
.text.unlikely
enotsup:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOTSUP(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOTSUP
ldrsw x0,[x1,#:lo12:ENOTSUP]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enotsup,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/exfull.S | #include "libc/macros.internal.h"
.text.unlikely
exfull:
#ifdef __x86_64__
.leafprologue
.profilable
mov EXFULL(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EXFULL
ldrsw x0,[x1,#:lo12:EXFULL]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn exfull,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/eownerdead.S | #include "libc/macros.internal.h"
.text.unlikely
eownerdead:
#ifdef __x86_64__
.leafprologue
.profilable
mov EOWNERDEAD(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EOWNERDEAD
ldrsw x0,[x1,#:lo12:EOWNERDEAD]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn eownerdead,globl,hidden
| 320 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/el2nsync.S | #include "libc/macros.internal.h"
.text.unlikely
el2nsync:
#ifdef __x86_64__
.leafprologue
.profilable
mov EL2NSYNC(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EL2NSYNC
ldrsw x0,[x1,#:lo12:EL2NSYNC]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn el2nsync,globl,hidden
| 310 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/eaddrinuse.S | #include "libc/macros.internal.h"
.text.unlikely
eaddrinuse:
#ifdef __x86_64__
.leafprologue
.profilable
mov EADDRINUSE(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EADDRINUSE
ldrsw x0,[x1,#:lo12:EADDRINUSE]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn eaddrinuse,globl,hidden
| 320 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enospc.S | #include "libc/macros.internal.h"
.text.unlikely
enospc:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOSPC(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOSPC
ldrsw x0,[x1,#:lo12:ENOSPC]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enospc,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/elibscn.S | #include "libc/macros.internal.h"
.text.unlikely
elibscn:
#ifdef __x86_64__
.leafprologue
.profilable
mov ELIBSCN(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ELIBSCN
ldrsw x0,[x1,#:lo12:ELIBSCN]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn elibscn,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enxio.S | #include "libc/macros.internal.h"
.text.unlikely
enxio:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENXIO(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENXIO
ldrsw x0,[x1,#:lo12:ENXIO]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enxio,globl,hidden
| 295 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/einprogress.S | #include "libc/macros.internal.h"
.text.unlikely
einprogress:
#ifdef __x86_64__
.leafprologue
.profilable
mov EINPROGRESS(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EINPROGRESS
ldrsw x0,[x1,#:lo12:EINPROGRESS]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn einprogress,globl,hidden
| 325 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enotty.S | #include "libc/macros.internal.h"
.text.unlikely
enotty:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOTTY(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOTTY
ldrsw x0,[x1,#:lo12:ENOTTY]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enotty,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/estrpipe.S | #include "libc/macros.internal.h"
.text.unlikely
estrpipe:
#ifdef __x86_64__
.leafprologue
.profilable
mov ESTRPIPE(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ESTRPIPE
ldrsw x0,[x1,#:lo12:ESTRPIPE]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn estrpipe,globl,hidden
| 310 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enokey.S | #include "libc/macros.internal.h"
.text.unlikely
enokey:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOKEY(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOKEY
ldrsw x0,[x1,#:lo12:ENOKEY]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enokey,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enodata.S | #include "libc/macros.internal.h"
.text.unlikely
enodata:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENODATA(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENODATA
ldrsw x0,[x1,#:lo12:ENODATA]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enodata,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/eusers.S | #include "libc/macros.internal.h"
.text.unlikely
eusers:
#ifdef __x86_64__
.leafprologue
.profilable
mov EUSERS(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EUSERS
ldrsw x0,[x1,#:lo12:EUSERS]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn eusers,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enolink.S | #include "libc/macros.internal.h"
.text.unlikely
enolink:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOLINK(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOLINK
ldrsw x0,[x1,#:lo12:ENOLINK]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enolink,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enomedium.S | #include "libc/macros.internal.h"
.text.unlikely
enomedium:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOMEDIUM(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOMEDIUM
ldrsw x0,[x1,#:lo12:ENOMEDIUM]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enomedium,globl,hidden
| 315 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enotblk.S | #include "libc/macros.internal.h"
.text.unlikely
enotblk:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOTBLK(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOTBLK
ldrsw x0,[x1,#:lo12:ENOTBLK]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enotblk,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/elibexec.S | #include "libc/macros.internal.h"
.text.unlikely
elibexec:
#ifdef __x86_64__
.leafprologue
.profilable
mov ELIBEXEC(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ELIBEXEC
ldrsw x0,[x1,#:lo12:ELIBEXEC]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn elibexec,globl,hidden
| 310 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/eisconn.S | #include "libc/macros.internal.h"
.text.unlikely
eisconn:
#ifdef __x86_64__
.leafprologue
.profilable
mov EISCONN(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EISCONN
ldrsw x0,[x1,#:lo12:EISCONN]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn eisconn,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enopkg.S | #include "libc/macros.internal.h"
.text.unlikely
enopkg:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOPKG(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOPKG
ldrsw x0,[x1,#:lo12:ENOPKG]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enopkg,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enocsi.S | #include "libc/macros.internal.h"
.text.unlikely
enocsi:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOCSI(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOCSI
ldrsw x0,[x1,#:lo12:ENOCSI]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enocsi,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/etxtbsy.S | #include "libc/macros.internal.h"
.text.unlikely
etxtbsy:
#ifdef __x86_64__
.leafprologue
.profilable
mov ETXTBSY(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ETXTBSY
ldrsw x0,[x1,#:lo12:ETXTBSY]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn etxtbsy,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/ebade.S | #include "libc/macros.internal.h"
.text.unlikely
ebade:
#ifdef __x86_64__
.leafprologue
.profilable
mov EBADE(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EBADE
ldrsw x0,[x1,#:lo12:EBADE]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn ebade,globl,hidden
| 295 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/eshutdown.S | #include "libc/macros.internal.h"
.text.unlikely
eshutdown:
#ifdef __x86_64__
.leafprologue
.profilable
mov ESHUTDOWN(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ESHUTDOWN
ldrsw x0,[x1,#:lo12:ESHUTDOWN]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn eshutdown,globl,hidden
| 315 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enotdir.S | #include "libc/macros.internal.h"
.text.unlikely
enotdir:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOTDIR(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOTDIR
ldrsw x0,[x1,#:lo12:ENOTDIR]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enotdir,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/ebadslt.S | #include "libc/macros.internal.h"
.text.unlikely
ebadslt:
#ifdef __x86_64__
.leafprologue
.profilable
mov EBADSLT(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EBADSLT
ldrsw x0,[x1,#:lo12:EBADSLT]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn ebadslt,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/echrng.S | #include "libc/macros.internal.h"
.text.unlikely
echrng:
#ifdef __x86_64__
.leafprologue
.profilable
mov ECHRNG(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ECHRNG
ldrsw x0,[x1,#:lo12:ECHRNG]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn echrng,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/etoomanyrefs.S | #include "libc/macros.internal.h"
.text.unlikely
etoomanyrefs:
#ifdef __x86_64__
.leafprologue
.profilable
mov ETOOMANYREFS(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ETOOMANYREFS
ldrsw x0,[x1,#:lo12:ETOOMANYREFS]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn etoomanyrefs,globl,hidden
| 330 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/eremote.S | #include "libc/macros.internal.h"
.text.unlikely
eremote:
#ifdef __x86_64__
.leafprologue
.profilable
mov EREMOTE(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EREMOTE
ldrsw x0,[x1,#:lo12:EREMOTE]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn eremote,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/eafnosupport.S | #include "libc/macros.internal.h"
.text.unlikely
eafnosupport:
#ifdef __x86_64__
.leafprologue
.profilable
mov EAFNOSUPPORT(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EAFNOSUPPORT
ldrsw x0,[x1,#:lo12:EAFNOSUPPORT]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn eafnosupport,globl,hidden
| 330 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enametoolong.S | #include "libc/macros.internal.h"
.text.unlikely
enametoolong:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENAMETOOLONG(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENAMETOOLONG
ldrsw x0,[x1,#:lo12:ENAMETOOLONG]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enametoolong,globl,hidden
| 330 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/ehostdown.S | #include "libc/macros.internal.h"
.text.unlikely
ehostdown:
#ifdef __x86_64__
.leafprologue
.profilable
mov EHOSTDOWN(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EHOSTDOWN
ldrsw x0,[x1,#:lo12:EHOSTDOWN]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn ehostdown,globl,hidden
| 315 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/ehwpoison.S | #include "libc/macros.internal.h"
.text.unlikely
ehwpoison:
#ifdef __x86_64__
.leafprologue
.profilable
mov EHWPOISON(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EHWPOISON
ldrsw x0,[x1,#:lo12:EHWPOISON]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn ehwpoison,globl,hidden
| 315 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/enolck.S | #include "libc/macros.internal.h"
.text.unlikely
enolck:
#ifdef __x86_64__
.leafprologue
.profilable
mov ENOLCK(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ENOLCK
ldrsw x0,[x1,#:lo12:ENOLCK]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn enolck,globl,hidden
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/ekeyexpired.S | #include "libc/macros.internal.h"
.text.unlikely
ekeyexpired:
#ifdef __x86_64__
.leafprologue
.profilable
mov EKEYEXPIRED(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EKEYEXPIRED
ldrsw x0,[x1,#:lo12:EKEYEXPIRED]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn ekeyexpired,globl,hidden
| 325 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/errfuns/edotdot.S | #include "libc/macros.internal.h"
.text.unlikely
edotdot:
#ifdef __x86_64__
.leafprologue
.profilable
mov EDOTDOT(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,EDOTDOT
ldrsw x0,[x1,#:lo12:EDOTDOT]
b __errfun
#else
#error "unsupported architecture"
#endif
.endfn edotdot,globl,hidden
| 305 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/at.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_AT_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_AT_H_
#include "libc/runtime/symbolic.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/**
* @fileoverview AT_xxx constants for fcntl(), fopenat(), etc..
* @see libc/sysv/consts/auxv.h for getauxval() constants
*/
extern const int AT_FDCWD;
extern const int AT_SYMLINK_FOLLOW;
extern const int AT_SYMLINK_NOFOLLOW;
extern const int AT_REMOVEDIR;
extern const int AT_EACCESS;
extern const int AT_EMPTY_PATH;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#define AT_FDCWD SYMBOLIC(AT_FDCWD)
#define AT_SYMLINK_FOLLOW SYMBOLIC(AT_SYMLINK_FOLLOW)
#define AT_SYMLINK_NOFOLLOW SYMBOLIC(AT_SYMLINK_NOFOLLOW)
#define AT_REMOVEDIR SYMBOLIC(AT_REMOVEDIR)
#define AT_EACCESS SYMBOLIC(AT_EACCESS)
#define AT_EMPTY_PATH SYMBOLIC(AT_EMPTY_PATH)
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_AT_H_ */
| 940 | 30 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CS6.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,CS6,0b0000000000010000,0b0000000000010000,0b000000000100000000,0b000000000100000000,0b000000000100000000,0b0000000100000000,0b0000000100000000,0b0000000000010000
| 224 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPV6_MULTICAST_LOOP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ipv6,IPV6_MULTICAST_LOOP,19,19,11,11,11,11,11,11
| 103 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/UTIME_OMIT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon utime,UTIME_OMIT,0x3ffffffe,0x3ffffffe,0x3ffffffe,0x3ffffffe,-2,-1,0x3ffffffe,-1
| 135 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_UNIX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_UNIX,1,1,1,1,1,1,1,1
| 81 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPV6_HOPLIMIT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ipv6,IPV6_HOPLIMIT,52,52,0,0,47,47,47,21
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EISDIR.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,EISDIR,21,21,21,21,21,21,21,267
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCPTYGRANT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCPTYGRANT,0,0,0x20007454,0x20007454,0,0,0,0
| 109 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_GETOWN_EX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon fcntl,F_GETOWN_EX,0x10,0x10,-1,-1,-1,-1,-1,-1
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_NETBEUI.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_NETBEUI,13,13,0,0,0,0,0,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCGARP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCGARP,0x8954,0x8954,0,0,0,0,0,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_UNICAST_IF.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_UNICAST_IF,50,50,0,0,0,0,0,31
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/WEXITED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon waitid,WEXITED,4,4,4,4,0x10,0,32,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_capget.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_capget,0x007d,0x005a,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 119 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_mlockall.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_mlockall,0x0097,0x00e6,0x2000144,0x0144,0x0144,0x010f,0x0f2,0xfff
| 128 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_NFC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_NFC,39,39,0,0,0,0,0,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_getsid.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_getsid,0x007c,0x009c,0x2000136,0x0136,0x0136,0x00ff,0x11e,0xfff
| 126 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCDELRT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCDELRT,0x890c,0x890c,0,0,0,0,0,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_adjtimex.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_adjtimex,0x009f,0x00ab,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 121 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIGPIPE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sig,SIGPIPE,13,13,13,13,13,13,13,13
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_fanotify_init.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_fanotify_init,0x012c,0x0106,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 126 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SI_NOINFO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,SI_NOINFO,32767,32767,0x80000000,0x80000000,0,32767,32767,32767
| 125 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_PMTUDISC_OMIT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_PMTUDISC_OMIT,5,5,0,0,0,0,0,0
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/__NR_io_submit.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon nr,__NR_io_submit,0x00d1,0x0002,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
| 122 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SIOCDARP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sio,SIOCDARP,0x8953,0x8953,0,0,0,0,0,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SEND_DIAGNOSTIC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,SEND_DIAGNOSTIC,29,29,0,0,0,0,0,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IP_DROP_MEMBERSHIP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon ip,IP_DROP_MEMBERSHIP,36,36,13,13,13,13,13,6
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AT_PHNUM.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon auxv,AT_PHNUM,5,5,5,5,5,0,5,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FPE_FLTDIV.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,FPE_FLTDIV,3,3,1,1,3,3,3,3
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPPROTO_MH.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon iproto,IPPROTO_MH,135,135,-1,-1,135,-1,-1,-1
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/POLLNVAL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon poll,POLLNVAL,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x0004
| 110 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FALLOC_FL_INSERT_RANGE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,FALLOC_FL_INSERT_RANGE,0x20,0x20,-1,-1,-1,-1,-1,-1
| 110 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SOL_IPV6.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sol,SOL_IPV6,41,41,41,41,41,41,41,41
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/POLL_HUP.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sicode,POLL_HUP,6,6,6,6,6,6,6,6
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/POSIX_FADV_WILLNEED.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon compat,POSIX_FADV_WILLNEED,3,3,127,127,3,3,3,3
| 101 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ICRNL.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,ICRNL,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000
| 220 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/PF_LLC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon pf,PF_LLC,26,26,0,0,0,0,0,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/GRPQUOTA.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,GRPQUOTA,1,1,1,1,1,1,1,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/IPPROTO_IPV6.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon iproto,IPPROTO_IPV6,41,41,41,41,41,41,41,-1
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MSG_DONTROUTE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon msg,MSG_DONTROUTE,4,4,4,4,4,4,4,4
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/B1152000.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon baud,B1152000,0x1009,0x1009,1152000,1152000,1152000,1152000,1152000,1152000
| 130 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/DT_SOCK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon dt,DT_SOCK,12,12,12,12,12,12,12,12
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TIOCGETD.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon termios,TIOCGETD,0x5424,0x5424,0x4004741a,0x4004741a,0x4004741a,0x4004741a,0x4004741a,0
| 142 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/ex.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_EX_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_EX_H_
/**
* @fileoverview Eric Allman's exit() codes
*
* - Broadly supported style guideline;
* - Dating back to 1980 in 4.0BSD;
* - That won't be standardized.
*
*/
#define EX_CANTCREAT 73
#define EX_CONFIG 78
#define EX_DATAERR 65
#define EX_IOERR 74
#define EX_NOHOST 68
#define EX_NOINPUT 66
#define EX_NOPERM 77
#define EX_NOUSER 67
#define EX_OK 0
#define EX_OSERR 71
#define EX_OSFILE 72
#define EX_PROTOCOL 76
#define EX_SOFTWARE 70
#define EX_TEMPFAIL 75
#define EX_UNAVAILABLE 69
#define EX_USAGE 64
#define EX__BASE 64
#define EX__MAX 78
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_EX_H_ */
| 774 | 33 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/FALLOC_FL_PUNCH_HOLE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,FALLOC_FL_PUNCH_HOLE,0x02,0x02,-1,-1,-1,-1,-1,-1
| 108 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SCHED_FIFO.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon sched,SCHED_FIFO,1,1,127,127,1,127,1,127
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/TCP_USER_TIMEOUT.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon tcp,TCP_USER_TIMEOUT,18,18,0,0,0,0,0,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/L_SET.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,L_SET,0,0,0,0,0,0,0,0
| 81 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EPROTOTYPE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon errno,EPROTOTYPE,91,91,41,41,41,41,41,10041
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/CLOCK_REALTIME_FAST.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon clock,CLOCK_REALTIME_FAST,0,0,0,0,10,0,0,0
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/EL2NSYNC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon junkerr,EL2NSYNC,45,45,-1,-1,-1,-1,-1,-1
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/F_SETLKW64.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon compat,F_SETLKW64,7,7,9,9,13,9,9,7
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_ATMSVC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ATMSVC,20,20,0,0,0,0,0,0
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/MAP_SHARED_VALIDATE.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon mmap,MAP_SHARED_VALIDATE,3,3,1,1,1,1,1,1
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/BC_DIM_MAX.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon misc,BC_DIM_MAX,0x0800,0x0800,0x0800,0x0800,0x0800,0xffff,0xffff,0
| 121 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/SHM_UNLOCK.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon shm,SHM_UNLOCK,12,12,0,0,12,4,4,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/AF_RXRPC.S | #include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_RXRPC,33,33,0,0,0,0,0,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/sysv/consts/sa.h | #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SA_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SA_H_
#include "libc/runtime/symbolic.h"
#define SA_NOCLDSTOP SYMBOLIC(SA_NOCLDSTOP)
#define SA_NOCLDWAIT SYMBOLIC(SA_NOCLDWAIT)
#define SA_NODEFER SYMBOLIC(SA_NODEFER)
#define SA_NOMASK SYMBOLIC(SA_NOMASK)
#define SA_ONESHOT SYMBOLIC(SA_ONESHOT)
#define SA_ONSTACK SYMBOLIC(SA_ONSTACK)
#define SA_RESETHAND SYMBOLIC(SA_RESETHAND)
#define SA_RESTART SYMBOLIC(SA_RESTART)
#define SA_SIGINFO SYMBOLIC(SA_SIGINFO)
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const uint64_t SA_NOCLDSTOP;
extern const uint64_t SA_NOCLDWAIT;
extern const uint64_t SA_NODEFER;
extern const uint64_t SA_NOMASK;
extern const uint64_t SA_ONESHOT;
extern const uint64_t SA_ONSTACK;
extern const uint64_t SA_RESETHAND;
extern const uint64_t SA_RESTART;
extern const uint64_t SA_SIGINFO;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SA_H_ */
| 997 | 31 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.