cosmopolitan/libc/calls
Justine Tunney 3f26dfbb31
Share file offset across execve() on Windows
This is a breaking change. It defines the new environment variable named
_COSMO_FDS_V2 which is used for inheriting non-stdio file descriptors on
execve() or posix_spawn(). No effort has been spent thus far integrating
with the older variable. If a new binary launches the older ones or vice
versa they'll only be able to pass stdin / stdout / stderr to each other
therefore it's important that you upgrade all your cosmo binaries if you
depend on this functionality. You'll be glad you did because inheritance
of file descriptors is more aligned with the POSIX standard than before.
2024-08-03 17:48:00 -07:00
..
struct Improve multithreading 2024-07-21 14:40:45 -07:00
typedef Reduce header complexity 2023-11-28 14:39:42 -08:00
_ptsname.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
abort.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
access.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
assertfail.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
blockcancel.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
BUILD.mk Avoid legacy instruction penalties on x86 2024-07-31 01:02:38 -07:00
cachestat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
cachestat.h Reduce header complexity 2023-11-28 14:39:42 -08:00
calls.h Remove mkfifo() prototype 2024-07-29 07:42:54 -07:00
cfmakeraw.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cfspeed.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
chdir-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
chdir.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
checkcancel.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
checksignal.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
chmod.c Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
chown.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
chroot.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
clktck.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
clock_getres.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
clock_gettime-mono.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
clock_gettime-nt.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
clock_gettime-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
clock_gettime-xnu.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
clock_gettime.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
clock_nanosleep-cosmo.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
clock_nanosleep-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
clock_nanosleep-openbsd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
clock_nanosleep-sys.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
clock_nanosleep-xnu.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
clock_nanosleep.c Give up on making clock_nanosleep() precise 2024-02-24 10:17:47 -08:00
clock_settime.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
close-nt.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
close.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
close_range.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
closefrom.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
commandv.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
copy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
copy_file_range.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
cp.internal.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
CPU_AND.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
CPU_COUNT.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
CPU_COUNT_S.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
CPU_EQUAL.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
CPU_OR.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
CPU_XOR.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
CPU_ZERO.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
creat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
createfileflags.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createfileflags.internal.h Make improvements 2023-10-15 16:45:00 -07:00
createpipename.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
dl_iterate_phdr.c Add <link.h> for absl 2023-12-08 20:04:10 -08:00
dup-nt.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
dup.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
dup2.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
dup3-sysv.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
dup3.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
eaccess.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
euidaccess.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
faccessat-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
faccessat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fadvise-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fadvise.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fchdir-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fchdir.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fchmod-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fchmod.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fchmodat-linux.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
fchmodat-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fchmodat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fchown.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fchownat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fcntl-nt.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
fcntl-sysv.c Delete ASAN 2024-06-22 05:45:49 -07:00
fcntl.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fdatasync-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fdatasync.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fdexists.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fileexists.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
finddebugbinary.c Update Musl Libc code 2024-07-30 22:51:29 -07:00
fixenotdir.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fixupnewfd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
flock-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
flock.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fstat-metal.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fstat-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fstat-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fstat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fstatat-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fstatat-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fstatat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fstatfs-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fstatfs.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
fstatvfs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fsync-fake.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fsync.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ftok.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ftruncate-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ftruncate.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
futimens.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
futimes.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
futimesat.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
getcontext.inc Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
getcontext.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
getcpu.c Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
getcpucount.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
getcwd.greg.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getdomainname-linux.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getdomainname.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getdtablesize.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getegid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
geteuid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getgroups.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
gethostname-bsd.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
gethostname-linux.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gethostname-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gethostname.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
gethoststxtpath.c Fix bugs with DNS library on Windows 2024-01-03 17:39:57 -08:00
getloadavg-nt.c Revert "Make spin locks go faster" 2024-07-25 22:24:32 -07:00
getloadavg.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getntsyspath.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
getpgid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getpgrp.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getppid-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getppid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getprocaddressmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getprogramexecutablename.greg.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getprotocolstxtpath.c Fix bugs with DNS library on Windows 2024-01-03 17:39:57 -08:00
getrandom-metal.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getrandom.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getresgid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getresuid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getrlimit.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getservicestxtpath.c Fix bugs with DNS library on Windows 2024-01-03 17:39:57 -08:00
getsid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getsystemdirectorypath.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
gettimeofday.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
getuid-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getuid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
grantpt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
groups.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
internal.h Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ioctl.c Fix some static analysis issues 2024-07-27 09:16:54 -07:00
ipc.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
isapemagic.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
isatty-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
isatty.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ischardev.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
isdirectory-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
isdirectory.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
isexecutable.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
islinux.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
isptmaster.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isqemu.c Make improvements 2024-01-29 16:31:58 -08:00
isregularfile-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
isregularfile.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
issetugid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
issymlink-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
issymlink.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
kemptyfd.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
kntsystemdirectory.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kntwindowsdirectory.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
landlock.h Reduce header complexity 2023-11-28 14:39:42 -08:00
landlock_add_rule.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
landlock_create_ruleset.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
landlock_restrict_self.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
lchmod.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lchown.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
link.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
linkat-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
linkat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
lseek-nt.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
lseek.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
lstat.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
lutimes.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
madvise-nt.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
madvise.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
major.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
makedev.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
makedev.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
makedirs.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
memfd_create.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
metaflock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
metalfile.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
metalfile.internal.h Work towards zipos / open(argv[0]) on metal (#667) 2022-11-06 00:29:47 -07:00
metalfile_init.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
mincore.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
minor.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mkdir.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mkdirat-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mkdirat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
mkdtemp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mknod.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
mkntcmdline.c Support shebang on Windows 2024-05-20 22:11:42 -07:00
mkntenvblock.c Fix some static analysis issues 2024-07-27 09:16:54 -07:00
mkntpath.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
mkntpathat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
mkostemp.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
mkostemps.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
mkstemp.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
mkstemps.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
mktemp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mlock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mount.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mount.h Reduce header complexity 2023-11-28 14:39:42 -08:00
mungentpath.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
munlock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
nanosleep.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
netbsdtramp.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
nosync.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ntaccesscheck.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ntreturn.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ntsetprivilege.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ntspawn.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
open-nt.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
open.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
openat-metal.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
openat-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
openat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
openatemp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
openbsd.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
openpty.c Delete ASAN 2024-06-22 05:45:49 -07:00
park.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
parsepromises.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pause-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pause.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
perror.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pipe-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pipe-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pipe.c Release Cosmopolitan v3.6.0 2024-07-23 03:28:19 -07:00
pipe2-sysv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pipe2.c Release Cosmopolitan v3.6.0 2024-07-23 03:28:19 -07:00
pivot_root.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
pledge-linux.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
pledge.c Remove __threaded variable 2024-07-28 23:43:30 -07:00
pledge.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pledge.internal.h Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
poll-metal.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
poll-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
poll-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
poll.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
posix_fadvise.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
posix_madvise.c Simplify memory manager 2024-07-05 05:47:15 -07:00
posix_openpt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ppoll.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
prctl.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
prctl.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pread.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
preadv.c Fix some static analysis issues 2024-07-27 09:16:54 -07:00
printfds.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
program_executable_name_init.S Prepend getcwd to exename early in init (#1048) 2024-01-01 07:23:23 -08:00
program_invocation_short_name.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pselect.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ptrace.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ptsname.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ptsname_r.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pwrite.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
pwritev.c Fix some static analysis issues 2024-07-27 09:16:54 -07:00
raise.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
rdrand.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
rdrand_init.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
read-nt.c Freshen build/bootstrap/cocmd 2024-07-27 23:22:11 -07:00
read.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
readansi.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
readlink.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
readlinkat-nt.c Fix some static analysis issues 2024-07-27 09:16:54 -07:00
readlinkat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
readv-metal.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
readv-nt.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
readv-serial.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
readv.c Fix some static analysis issues 2024-07-27 09:16:54 -07:00
readwrite-nt.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
reboot.c Drop support for Windows 8 2024-05-29 19:37:47 -07:00
releasefd.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
remove.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
rename.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
renameat-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
renameat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
restore.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
restoretty.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
rmdir.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
rusage2linux.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
rusage_add.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched-sysv.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sched_get_priority_max.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sched_get_priority_min.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sched_getcpu.c Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
sched_getparam.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sched_getscheduler-netbsd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_getscheduler.c Remove __threaded variable 2024-07-28 23:43:30 -07:00
sched_rr_get_interval.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sched_setparam.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sched_setscheduler.c Remove __threaded variable 2024-07-28 23:43:30 -07:00
seccomp.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
secure_getenv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sedebug.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
select-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
select.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setegid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
seteuid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setfl.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setfsgid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setfsuid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setgid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setgroups.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setpgid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setpgrp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setregid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setresgid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setresuid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setreuid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setrlimit.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setsid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
settimeofday.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setuid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
shm_open.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
shm_path_np.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
shm_unlink.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sig.c Revert "Make spin locks go faster" 2024-07-25 22:24:32 -07:00
sig.internal.h Reduce code size of mandatory runtime 2024-07-04 02:50:20 -07:00
sigaction.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sigaltstack.c Improve multithreading 2024-07-21 14:40:45 -07:00
sigcrashsig.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sigenter-freebsd.c Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
sigenter-linux.c Favor siginfo_t over struct siginfo 2024-05-28 02:34:17 -07:00
sigenter-netbsd.c Favor siginfo_t over struct siginfo 2024-05-28 02:34:17 -07:00
sigenter-openbsd.c Favor siginfo_t over struct siginfo 2024-05-28 02:34:17 -07:00
sigenter-xnu.c Polyfill SA_RESETHAND on MacOS ARM64 2024-05-08 04:20:22 -07:00
sigignore.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
siginfo2cosmo.c Favor siginfo_t over struct siginfo 2024-05-28 02:34:17 -07:00
siginterrupt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
signal.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigpending.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sigqueue.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigsuspend.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sigtimedwait.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sigtimedwait.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sigtimedwait.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sigwait.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sigwaitinfo.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sleep.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
splice.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
stat.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
stat2cosmo.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
state.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
statfs-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
statfs.c Make some improvements of little consequence 2024-07-27 08:20:18 -07:00
statfs2cosmo.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
statfs2statvfs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
statvfs.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
stime.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
swapcontext.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
symlink.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
symlinkat-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
symlinkat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sync-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sync.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
syncfs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sys_ptrace.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
syscall-nt.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
syscall-sysv.internal.h Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
syscall_support-nt.internal.h Make improvements 2024-02-12 10:23:00 -08:00
syscall_support-sysv.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sysctl.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
sysctlbyname.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
sysctlnametomib.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
sysdir.internal.h Use DNS implementation from Musl Libc 2023-12-28 23:04:35 -08:00
sysinfo-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sysinfo.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tailcontext.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
tcdrain.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcflow.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcflush.c Introduce cosmocc flags -mdbg -mtiny -moptlinux 2024-07-26 05:10:25 -07:00
tcgetattr-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcgetattr.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcgetpgrp.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcgetsid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcgetwinsize-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcgetwinsize.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcsendbreak.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcsetattr-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcsetattr.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcsetpgrp.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcsetsid.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
tcsetwinsize-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcsetwinsize.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
termios.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
termios.internal.h Fix bugs in termios library and cleanup code 2023-06-14 19:30:52 -07:00
termios2host.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
time.c Delete ASAN 2024-06-22 05:45:49 -07:00
timespec_add.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_cmp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_frommicros.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_frommillis.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_fromnanos.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_get.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
timespec_getres.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
timespec_mono.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_real.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_sleep.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_sleep_until.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_sub.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_subz.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_tomicros.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_tomillis.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_tonanos.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_totimeval.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_add.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_cmp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_frommicros.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_frommillis.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_real.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_sub.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_subz.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_tomicros.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_tomillis.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timeval_toseconds.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tinyprint.c Fix some static analysis issues 2024-07-27 09:16:54 -07:00
tmpdir.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tmpfd.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
touch.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
truncate-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
truncate.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ttydefaults.h Remove evil constants from cosmopolitan.h 2022-12-17 00:42:45 -08:00
ttyname.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
ttyname_r.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
ucontext.c Get deathstar demo working again on metal 2024-07-04 03:44:17 -07:00
ucontext.h Fix some static analysis issues 2024-07-27 09:16:54 -07:00
umask.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
uname.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
unassert.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
unlink.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unlinkat-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unlinkat.c Fix remove() directory on Windows 2024-07-28 17:31:21 -07:00
unlockpt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
unmount.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
unveil.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
usleep.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
utime.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
utimens.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
utimensat-nt.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
utimensat-old.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
utimensat-sysv.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
utimensat.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
utimes.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
vdsofunc.greg.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
weirdtypes.h Reduce header complexity 2023-11-28 14:39:42 -08:00
wifcontinued.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wifsignaled.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wifstopped.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wincrash.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
winexec.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
write-nt.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
write.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
writev-metal.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
writev-nt.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
writev-serial.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
writev.c Fix some static analysis issues 2024-07-27 09:16:54 -07:00