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/isystem/sys/mount.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_MOUNT_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_MOUNT_H_ #include "libc/calls/mount.h" #include "libc/sysv/consts/mount.h" #include "libc/sysv/consts/unmount.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_MOUNT_H_ */
250
7
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/select.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_SELECT_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_SELECT_H_ #include "libc/calls/weirdtypes.h" #include "libc/sock/select.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_SELECT_H_ */
214
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/ptrace.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_PTRACE_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_PTRACE_H_ #include "libc/calls/calls.h" #include "libc/sysv/consts/ptrace.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_PTRACE_H_ */
216
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/sendfile.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_SENDFILE_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_SENDFILE_H_ #include "libc/calls/weirdtypes.h" #include "libc/sock/sock.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_SENDFILE_H_ */
218
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/auxv.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_AUXV_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_AUXV_H_ #include "libc/runtime/runtime.h" #include "libc/sysv/consts/auxv.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_AUXV_H_ */
212
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/uio.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_UIO_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_UIO_H_ #include "libc/calls/calls.h" #include "libc/calls/struct/iovec.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_UIO_H_ */
207
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/types.h
#ifndef LIBC_ISYSTEM_SYS_TYPES_H_ #define LIBC_ISYSTEM_SYS_TYPES_H_ #include "libc/calls/makedev.h" #include "libc/calls/weirdtypes.h" #include "libc/thread/thread.h" #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #include "libc/calls/typedef/u.h" #include "libc/calls/weirdtypes.h" #include "libc/intrin/newbie.h" #i...
400
16
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/times.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_TIMES_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_TIMES_H_ #include "libc/calls/calls.h" #include "libc/calls/struct/tms.h" #include "libc/calls/weirdtypes.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_TIMES_H_ */
246
7
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/signal.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_SIGNAL_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_SIGNAL_H_ #include "libc/calls/calls.h" #include "libc/calls/struct/sigaction.h" #include "libc/calls/struct/siginfo.h" #include "libc/sysv/consts/sicode.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_SIGNAL_H_ */
296
8
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/wait.h
#ifndef LIBC_ISYSTEM_SYS_WAIT_H_ #define LIBC_ISYSTEM_SYS_WAIT_H_ #include "libc/calls/calls.h" #include "libc/calls/struct/siginfo.h" #include "libc/calls/weirdtypes.h" #include "libc/sysv/consts/w.h" #include "libc/sysv/consts/waitid.h" #endif
246
9
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/ttydefaults.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_TTYDEFAULTS_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_TTYDEFAULTS_H_ #include "libc/calls/ttydefaults.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_TTYDEFAULTS_H_ */
200
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/file.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_FILE_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_FILE_H_ #include "libc/calls/calls.h" #include "libc/calls/struct/flock.h" #include "libc/sysv/consts/l.h" #include "libc/sysv/consts/lock.h" #include "libc/sysv/consts/ok.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_FILE_H_ */
310
9
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/poll.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_POLL_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_POLL_H_ #include "libc/sock/sock.h" #include "libc/sysv/consts/poll.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_POLL_H_ */
206
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/stat.h
#ifndef LIBC_ISYSTEM_SYS_STAT_H_ #define LIBC_ISYSTEM_SYS_STAT_H_ #include "libc/calls/calls.h" #include "libc/calls/struct/stat.h" #include "libc/calls/struct/stat.macros.h" #include "libc/calls/struct/timespec.h" #include "libc/calls/weirdtypes.h" #include "libc/sysv/consts/s.h" #include "libc/sysv/consts/utime.h" #i...
353
12
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/reboot.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_REBOOT_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_REBOOT_H_ #include "libc/calls/calls.h" #include "libc/sysv/consts/reboot.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_REBOOT_H_ */
216
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/syscall.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYSCALL_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYSCALL_H_ #include "libc/calls/calls.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYSCALL_H_ */
170
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/statfs.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_ #include "libc/calls/struct/statfs.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_ */
187
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/un.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_UN_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_UN_H_ #include "libc/calls/weirdtypes.h" #include "libc/sock/sock.h" #include "libc/sock/struct/sockaddr.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_UN_H_ */
239
7
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/termios.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_TERMIOS_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_TERMIOS_H_ #include "libc/calls/termios.h" #include "libc/sysv/consts/termios.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_TERMIOS_H_ */
222
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/param.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_PARAM_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_PARAM_H_ #include "libc/intrin/newbie.h" #include "libc/calls/calls.h" #include "libc/calls/struct/rlimit.h" #include "libc/calls/struct/rusage.h" #include "libc/calls/sysparam.h" #include "libc/calls/weirdtypes.h" #include "libc/limit...
558
16
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/vfs.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_VFS_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_VFS_H_ #include "libc/calls/struct/statfs.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_VFS_H_ */
178
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/errno.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_ERRNO_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_ERRNO_H_ #include "libc/errno.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_ERRNO_H_ */
170
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/utsname.h
#ifndef LIBC_ISYSTEM_SYS_UTSNAME_H_ #define LIBC_ISYSTEM_SYS_UTSNAME_H_ #include "libc/calls/struct/utsname.h" #endif
118
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/fcntl.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_FCNTL_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_FCNTL_H_ #include "libc/calls/calls.h" #include "libc/sysv/consts/at.h" #include "libc/sysv/consts/dn.h" #include "libc/sysv/consts/f.h" #include "third_party/musl/lockf.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_FCNTL_H_ */
310
9
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/socket.h
#ifndef LIBC_ISYSTEM_SYS_SOCKET_H_ #define LIBC_ISYSTEM_SYS_SOCKET_H_ #include "libc/calls/weirdtypes.h" #include "libc/sock/sock.h" #include "libc/sock/struct/cmsghdr.h" #include "libc/sock/struct/linger.h" #include "libc/sock/struct/msghdr.h" #include "libc/sock/struct/sockaddr.h" #include "libc/sysv/consts/af.h" #in...
599
19
jart/cosmopolitan
false
cosmopolitan/libc/isystem/sys/time.h
#ifndef LIBC_ISYSTEM_SYS_TIME_H_ #define LIBC_ISYSTEM_SYS_TIME_H_ #include "libc/calls/struct/itimerval.h" #include "libc/calls/struct/timeval.h" #include "libc/calls/weirdtypes.h" #include "libc/sock/select.h" #include "libc/sysv/consts/clock.h" #include "libc/sysv/consts/itimer.h" #include "libc/time/struct/timezone....
358
12
jart/cosmopolitan
false
cosmopolitan/libc/isystem/linux/limits.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_LINUX_LIMITS_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_LINUX_LIMITS_H_ #include "libc/sysv/consts/limits.h" #define NR_OPEN 1024 #define XATTR_NAME_MAX 255 #define XATTR_SIZE_MAX 65536 #define XATTR_LIST_MAX 65536 #define RTSIG_MAX 32 #endif /* COSMOPOLITAN_LIBC_ISYSTEM_LINUX_...
333
12
jart/cosmopolitan
false
cosmopolitan/libc/isystem/linux/xattr.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_ #include "libc/calls/xattr.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_ */
176
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/linux/futex.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_LINUX_FUTEX_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_LINUX_FUTEX_H_ #include "libc/sysv/consts/futex.h" #include "libc/sysv/consts/nr.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_LINUX_FUTEX_H_ */
221
6
jart/cosmopolitan
false
cosmopolitan/libc/isystem/linux/types.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_LINUX_TYPES_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_LINUX_TYPES_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ typedef uint16_t __u16; typedef uint32_t __u32; typedef uint64_t __u64; typedef __u16 __le16; typedef __u16 __be16; typedef __u32 __le32; typedef __u32 __be32; ...
717
26
jart/cosmopolitan
false
cosmopolitan/libc/isystem/net/if.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_ #include "libc/sock/struct/ifconf.h" #include "libc/sock/struct/ifreq.h" #include "libc/sysv/consts/iff.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_ */
244
7
jart/cosmopolitan
false
cosmopolitan/libc/isystem/netinet/udp.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_NETINET_UDP_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_NETINET_UDP_H_ #include "libc/sysv/consts/sol.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_NETINET_UDP_H_ */
186
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/netinet/tcp.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_NETINET_TCP_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_NETINET_TCP_H_ #include "libc/sysv/consts/sol.h" #include "libc/sysv/consts/tcp.h" #include "libc/sysv/consts/tcpopt.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_NETINET_TCP_H_ */
257
7
jart/cosmopolitan
false
cosmopolitan/libc/isystem/netinet/ip.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_NETINET_IP_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_NETINET_IP_H_ #endif /* COSMOPOLITAN_LIBC_ISYSTEM_NETINET_IP_H_ */
150
5
jart/cosmopolitan
false
cosmopolitan/libc/isystem/netinet/in.h
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_NETINET_IN_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_NETINET_IN_H_ #include "libc/calls/weirdtypes.h" #include "libc/sock/sock.h" #include "libc/sock/struct/ip_mreq.h" #include "libc/sock/struct/sockaddr.h" #include "libc/sock/struct/sockaddr6.h" #include "libc/sysv/consts/inaddr.h" #includ...
649
18
jart/cosmopolitan
false
cosmopolitan/libc/integral/lp64arg.inc
/* variadic arguments for chibicc */ /* <sync libc/runtime/valist.c> */ struct __va_list { uint32_t gp_offset; uint32_t fp_offset; void *overflow_arg_area; void *reg_save_area; }; /* </sync libc/runtime/valist.c> */ void *__va_arg(struct __va_list *, size_t, unsigned, unsigned); #define __GNUC_VA_LIST 1 #def...
775
29
jart/cosmopolitan
false
cosmopolitan/libc/integral/c.inc
#if __GNUC__ + 0 < 2 #define __attribute__(x) #endif #ifndef __cplusplus #define COSMOPOLITAN_C_START_ #define COSMOPOLITAN_C_END_ #define COSMOPOLITAN_CXX_START_ #define COSMOPOLITAN_CXX_END_ #define COSMOPOLITAN_CXX_USING_ #endif #ifndef __ia16__ #define __far #endif #if !defined(__GNUC__) && __cplusplus + 0 >= 20...
25,521
868
jart/cosmopolitan
false
cosmopolitan/libc/integral/llp64.inc
#define __INT8_MAX__ 0x7f #define __UINT8_MAX__ 0xff #define __INT16_MAX__ 0x7fff #define __UINT16_MAX__ 0xffff #define __SHRT_MAX__ 0x7fff #define __INT_MAX__ 0x7fffffff #define __INT32_MAX__ 0x7fffffff #define __UINT32_MAX__ 0xffffffffu #define __INT64_MAX__ 0x7fffffffffffffffl #define __UINT64_MA...
2,586
77
jart/cosmopolitan
false
cosmopolitan/libc/integral/normalize.inc
#define __COSMOPOLITAN__ 1 #ifndef __COUNTER__ #define __COUNTER__ __LINE__ #endif #if __GNUC__ + 0 < 2 #undef __GNUC__ #elif defined(__GNUC__) && defined(SWIG) /* lool */ #undef __GNUC__ #elif defined(__GNUC__) && defined(__NVCC__) /* lool */ #undef __GNUC__ #elif !defined(__GNUC__) && defined(__APPLE__) /* modesty ...
2,788
108
jart/cosmopolitan
false
cosmopolitan/libc/integral/lp64.inc
#define __INT8_MAX__ 0x7f #define __UINT8_MAX__ 0xff #define __INT16_MAX__ 0x7fff #define __UINT16_MAX__ 0xffff #define __SHRT_MAX__ 0x7fff #define __INT_MAX__ 0x7fffffff #define __INT32_MAX__ 0x7fffffff #define __UINT32_MAX__ 0xffffffffu #define __INT64_MAX__ 0x7fffffffffffffffl #define __UINT64_MA...
2,523
72
jart/cosmopolitan
false
cosmopolitan/libc/integral/cxx.inc
#define COSMOPOLITAN_CXX_START_ namespace cosmo { #define COSMOPOLITAN_CXX_END_ } #define COSMOPOLITAN_CXX_USING_ using namespace cosmo; #define COSMOPOLITAN_C_START_ extern "C" { #define COSMOPOLITAN_C_END_ } #if !defined(__builtin_types_compatible_p) && !__has_builtin(types_compatible_p) #if 0 /* todo jart w...
1,070
35
jart/cosmopolitan
false
cosmopolitan/libc/integral/cxxtypescompat.inc
#define NAME __cxx_types_compatible #define QUALIFIED(Q1, Q2) \ template <class _T, class _U> \ struct NAME<_T Q1, _U Q2> : NAME<_T, _U> {} template <class, class> struct NAME { enum { _value = 0 }; }; template <class _T> struct NAME<_T, _T> { enum { _value = 1 }; }; template <class _T, size_t N> struc...
796
40
jart/cosmopolitan
false
cosmopolitan/libc/sysv/restorert.S
/*-*- 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│ ╞═════════════════════════════════════════════════â•...
2,404
42
jart/cosmopolitan
false
cosmopolitan/libc/sysv/macros.internal.h
#ifndef COSMOPOLITAN_LIBC_SYSV_MACROS_H_ #define COSMOPOLITAN_LIBC_SYSV_MACROS_H_ #include "libc/macros.internal.h" #ifdef __ASSEMBLER__ /* clang-format off */ /** * @fileoverview System Five jump slot generator. * * We need to pass a magic number to the SYSCALL instruction in %rax. * That's only possible to do in...
2,212
91
jart/cosmopolitan
false
cosmopolitan/libc/sysv/errno.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,274
34
jart/cosmopolitan
false
cosmopolitan/libc/sysv/errno_location.greg.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,082
29
jart/cosmopolitan
false
cosmopolitan/libc/sysv/sysv.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ PKGS += LIBC_SYSV LIBC_SYSV_LIBS = $(foreach x,$(LIBC_SYSV_ARTIFACTS),$($(x)_A)) LIBC_SYSV_ARCHIVES = $(foreach x,$(LIB...
6,543
164
jart/cosmopolitan
false
cosmopolitan/libc/sysv/consts.sh
/*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
231,695
2,387
jart/cosmopolitan
false
cosmopolitan/libc/sysv/errfun2.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
1,956
28
jart/cosmopolitan
false
cosmopolitan/libc/sysv/systemfive.S
/*-*- 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│ ╞═════════════════════════════════════════════════â•...
18,077
459
jart/cosmopolitan
false
cosmopolitan/libc/sysv/syscall.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,407
85
jart/cosmopolitan
false
cosmopolitan/libc/sysv/syslib.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
1,930
26
jart/cosmopolitan
false
cosmopolitan/libc/sysv/errfuns.h
#ifndef COSMOPOLITAN_LIBC_SYSV_ERRFUNS_H_ #define COSMOPOLITAN_LIBC_SYSV_ERRFUNS_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) /** * @fileoverview Optimized error return paths. * * Saying this: * * return einval(); * * Instead of this: * * errno = EINVAL; * return -1; * * Allows the compiler to gene...
11,539
300
jart/cosmopolitan
false
cosmopolitan/libc/sysv/hostos.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
1,930
26
jart/cosmopolitan
false
cosmopolitan/libc/sysv/sysret.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,079
32
jart/cosmopolitan
false
cosmopolitan/libc/sysv/errfuns.sh
/*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
4,985
153
jart/cosmopolitan
false
cosmopolitan/libc/sysv/README.md
SYNOPSIS System Five Import Libraries OVERVIEW Bell System Five is the umbrella term we use to describe Linux, FreeBSD, OpenBSD, and Mac OS X which all have nearly-identical application binary interfaces that stood the test of time, having definitions nearly the same as those of AT&T back in the 1980's. ...
1,041
25
jart/cosmopolitan
false
cosmopolitan/libc/sysv/describeos.greg.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,325
39
jart/cosmopolitan
false
cosmopolitan/libc/sysv/syscon.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,573
89
jart/cosmopolitan
false
cosmopolitan/libc/sysv/strace.greg.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,683
45
jart/cosmopolitan
false
cosmopolitan/libc/sysv/errfun.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,038
29
jart/cosmopolitan
false
cosmopolitan/libc/sysv/syscalls.sh
/*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
53,888
802
jart/cosmopolitan
false
cosmopolitan/libc/sysv/gen.sh
/*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,666
109
jart/cosmopolitan
false
cosmopolitan/libc/sysv/dos2errno.sh
/*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
5,178
101
jart/cosmopolitan
false
cosmopolitan/libc/sysv/syscount.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,594
57
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_fchflags.S
#include "libc/sysv/macros.internal.h" .scall sys_fchflags,0x0230230232023fff,4095,35,globl
92
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_aio_error.S
#include "libc/sysv/macros.internal.h" .scall sys_aio_error,0x190fff13d213dfff,4095,317,globl
94
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_getppid.S
#include "libc/sysv/macros.internal.h" .scall sys_getppid,0xfff027027202706e,173,39,globl,hidden
97
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_inotify_add_watch.S
#include "libc/sysv/macros.internal.h" .scall sys_inotify_add_watch,0xfffffffffffff0fe,4095,4095,globl
103
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_io_destroy.S
#include "libc/sysv/macros.internal.h" .scall sys_io_destroy,0xfffffffffffff0cf,1,4095,globl
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_ktimer_create.S
#include "libc/sysv/macros.internal.h" .scall sys_ktimer_create,0xffffff0ebfffffff,4095,4095,globl
99
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_signalfd.S
#include "libc/sysv/macros.internal.h" .scall sys_signalfd,0xfffffffffffff11a,4095,4095,globl
94
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_recvmmsg.S
#include "libc/sysv/macros.internal.h" .scall sys_recvmmsg,0x1dbffffffffff12b,243,4095,globl
93
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_tgkill.S
#include "libc/sysv/macros.internal.h" .scall sys_tgkill,0xffffff1e1ffff0ea,131,4095,globl,hidden
98
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/__sys_openat.S
#include "libc/sysv/macros.internal.h" .scall __sys_openat,0x9d49419f329cf901,56,463,globl,hidden
98
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_semctl.S
#include "libc/sysv/macros.internal.h" .scall sys_semctl,0xfff1271fe20fe042,191,254,globl
90
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_futex_waitv.S
#include "libc/sysv/macros.internal.h" .scall sys_futex_waitv,0xfffffffffffff1c1,4095,4095,globl
97
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_sysfs.S
#include "libc/sysv/macros.internal.h" .scall sys_sysfs,0xfffffffffffff08b,4095,4095,globl
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_clone.S
#include "libc/sysv/macros.internal.h" .scall sys_clone,0x11fffffffffff038,220,4095,globl,hidden
97
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_sendmsg.S
#include "libc/sysv/macros.internal.h" .scall sys_sendmsg,0x81c81c81c281c82e,211,28,globl,hidden
97
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/__sys_openat_nc.S
#include "libc/sysv/macros.internal.h" .scall __sys_openat_nc,0x1d41411f321d0101,56,464,globl,hidden
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_nfssvc.S
#include "libc/sysv/macros.internal.h" .scall sys_nfssvc,0x09b09b09b209bfff,4095,155,globl
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_chdir.S
#include "libc/sysv/macros.internal.h" .scall sys_chdir,0x00c00c00c200c050,49,12,globl,hidden
94
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_aio_waitcomplete.S
#include "libc/sysv/macros.internal.h" .scall sys_aio_waitcomplete,0xffffff167fffffff,4095,4095,globl
102
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_delete_module.S
#include "libc/sysv/macros.internal.h" .scall sys_delete_module,0xfffffffffffff0b0,106,4095,globl
98
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_kexec_file_load.S
#include "libc/sysv/macros.internal.h" .scall sys_kexec_file_load,0xfffffffffffff140,4095,4095,globl
101
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_msgctl.S
#include "libc/sysv/macros.internal.h" .scall sys_msgctl,0x1bc1291ff2102047,187,258,globl
90
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_mincore.S
#include "libc/sysv/macros.internal.h" .scall sys_mincore,0x04e04e04e204e01b,232,78,globl,hidden
97
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_sem_unlink.S
#include "libc/sysv/macros.internal.h" .scall sys_sem_unlink,0x0f9fff196210efff,4095,270,globl
95
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_quotactl_fd.S
#include "libc/sysv/macros.internal.h" .scall sys_quotactl_fd,0xfffffffffffff1bb,4095,4095,globl
97
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_tgsigqueueinfo.S
#include "libc/sysv/macros.internal.h" .scall sys_tgsigqueueinfo,0xfffffffffffff129,240,4095,globl
99
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_mlock.S
#include "libc/sysv/macros.internal.h" .scall sys_mlock,0x0cb0cb0cb20cb095,228,203,globl
89
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_mkfifo.S
#include "libc/sysv/macros.internal.h" .scall sys_mkfifo,0x0840840842084fff,4095,132,globl,hidden
98
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_mknodat.S
#include "libc/sysv/macros.internal.h" .scall sys_mknodat,0x1cc14022fffff103,33,4095,globl
91
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_aio_cancel.S
#include "libc/sysv/macros.internal.h" .scall sys_aio_cancel,0x18ffff13c213cfff,4095,316,globl
95
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_fpathconf.S
#include "libc/sysv/macros.internal.h" .scall sys_fpathconf,0x0c00c00c020c0fff,4095,192,globl
94
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_clock_settime.S
#include "libc/sysv/macros.internal.h" .scall sys_clock_settime,0x1ac0580e9ffff0e3,112,4095,globl
98
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/__sys_mremap.S
#include "libc/sysv/macros.internal.h" .scall __sys_mremap,0x19bffffffffff019,216,4095,globl,hidden
100
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_kexec_load.S
#include "libc/sysv/macros.internal.h" .scall sys_kexec_load,0xfffffffffffff0f6,104,4095,globl
95
3
jart/cosmopolitan
false
cosmopolitan/libc/sysv/calls/sys_capget.S
#include "libc/sysv/macros.internal.h" .scall sys_capget,0xfffffffffffff07d,90,4095,globl
90
3
jart/cosmopolitan
false