cosmopolitan/libc/calls
Justine Tunney cd672e251f
Improve crash signal reporting on Windows
This change fixes a bug where exiting a crash signal handler on Windows
after adding the signal to uc_sigmask, but not correcting the CPU state
would cause the signal handler to loop infinitely, causing process hang

Another issue is that very tiny programs, that don't link posix signals
would not have their SIGILL / SIGSEGV / etc. status reported to Cosmo's
bash shell when terminating on crash. That's fixed by a tiny handler in
WinMain() that knows how to map WIN32 crash codes to the POSIX flavors.
2024-05-30 14:04:10 -07:00
..
struct Favor siginfo_t over struct siginfo 2024-05-28 02:34:17 -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
asan.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
assertfail.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
blockcancel.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
BUILD.mk Improve crash signal reporting on Windows 2024-05-30 14:04:10 -07:00
cachestat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cachestat.h Reduce header complexity 2023-11-28 14:39:42 -08:00
calls.h Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
clktck.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
clock_getres.c Implement proper time zone support 2024-05-04 23:06:37 -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 Make improvements 2024-02-12 10:23:00 -08: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 Give up on making clock_nanosleep() precise 2024-02-24 10:17:47 -08: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
close-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
close.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
close_range.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
closefrom.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
commandv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
copy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
copy_file_range.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cp.internal.h Reduce header complexity 2023-11-28 14:39:42 -08: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
dup.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
dup2.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
dup3-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
dup3.c Apply clang-format update to repo (#1154) 2024-04-25 10: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 Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fadvise-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fadvise.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
fchdir-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fchdir.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fchmod-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fchmod.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
fchown.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fchownat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fcntl-nt.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
fcntl-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fcntl.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fdatasync-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fdatasync.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fdexists.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fileexists.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
finddebugbinary.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08: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 Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
flock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fstat-metal.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fstat-nt.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
fstat-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fstat.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
fstatat-nt.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
fstatat-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fstatat.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fstatfs-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fstatfs.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
futimens.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
futimes.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getcpucount.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
getcwd.greg.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getdomainname-linux.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getdomainname.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getdtablesize.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getegid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
geteuid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getgroups.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gethoststxtpath.c Fix bugs with DNS library on Windows 2024-01-03 17:39:57 -08:00
getloadavg-nt.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
getloadavg.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
getntsyspath.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
getpgid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getpgrp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getppid-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getppid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getprocaddressmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getprogramexecutablename.greg.c Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -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 Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
getresgid.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getresuid.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getrlimit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getservicestxtpath.c Fix bugs with DNS library on Windows 2024-01-03 17:39:57 -08:00
getsid.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
grantpt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
groups.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ioctl.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
ipc.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
isapemagic.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isatty-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isatty.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
issetugid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
issymlink-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
issymlink.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
kemptyfd.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
landlock_create_ruleset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
landlock_restrict_self.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lseek-nt.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
lseek.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08: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 Fix madvise() on Windows 2023-12-27 22:41:46 -08:00
madvise.c Fix MODE=dbg build 2024-01-06 15:22:19 -08: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
metaflock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
metalfile.c Make improvements 2024-02-12 10:23:00 -08: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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mkdtemp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mknod.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mkntcmdline.c Support shebang on Windows 2024-05-20 22:11:42 -07:00
mkntenvblock.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mkntpath.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mkntpathat.c Apply clang-format update to repo (#1154) 2024-04-25 10: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
mremap-sysv.greg.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07: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
munmap-metal.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
munmap-sysv.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 Apply clang-format update to repo (#1154) 2024-04-25 10: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 ntspawn: fix initializing NtStartupInfoEx (#1190) 2024-05-26 20:54:09 -04:00
open-nt.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
open.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
openat-metal.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
openat-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
openat.c Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08: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 Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pipe2-sysv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pipe2.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pivot_root.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pledge-linux.c Introduce MAP_HUGETLB 2024-05-24 11:44:44 -07:00
pledge.c Improve crash backtrace reliability 2024-05-07 18:10:28 -07:00
pledge.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pledge.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
poll-metal.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
poll-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
poll-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
poll.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_fadvise.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posix_madvise.c Fix madvise() on Windows 2023-12-27 22:41:46 -08:00
posix_openpt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ppoll.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
prctl.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
prctl.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pread.c Ensure io requests are always capped at 0x7ffff000 2024-05-26 16:53:13 -07:00
preadv.c Ensure io requests are always capped at 0x7ffff000 2024-05-26 16:53:13 -07:00
printfds.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_yield_np.c Add much of C11 threads.h API 2024-04-28 07:04:08 -07:00
ptrace.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ptsname.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ptsname_r.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pwrite.c Ensure io requests are always capped at 0x7ffff000 2024-05-26 16:53:13 -07:00
pwritev.c Ensure io requests are always capped at 0x7ffff000 2024-05-26 16:53:13 -07:00
raise.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
read.c Ensure io requests are always capped at 0x7ffff000 2024-05-26 16:53:13 -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 Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
readlinkat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
readv-metal.c Apply clang-format update to repo (#1154) 2024-04-25 10: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
readv.c Ensure io requests are always capped at 0x7ffff000 2024-05-26 16:53:13 -07:00
readwrite-nt.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_get_priority_min.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_getcpu.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sched_getparam.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_getscheduler-netbsd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_getscheduler.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_rr_get_interval.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_setparam.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_setscheduler.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sched_yield.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
seccomp.c Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
secure_getenv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sedebug.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
select-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
select.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setegid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
seteuid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setfl.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setfsgid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setfsuid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setgid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setgroups.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setpgid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setpgrp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setregid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setresgid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setresuid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setreuid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setrlimit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setsid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
settimeofday.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
setuid.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 Improve crash signal reporting on Windows 2024-05-30 14:04:10 -07:00
sig.internal.h Improve crash signal reporting on Windows 2024-05-30 14:04:10 -07:00
sigaction.c Favor siginfo_t over struct siginfo 2024-05-28 02:34:17 -07:00
sigaltstack.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sigcrashsig.c Improve crash signal reporting on Windows 2024-05-30 14:04:10 -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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigqueue.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigsuspend.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sigtimedwait.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sync-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sync.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
syncfs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sys_ptrace.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
syscall-nt.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
syscall-sysv.internal.h Reduce header complexity 2023-11-28 14:39:42 -08: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 Add sysctlbyname() for MacOS 2024-05-02 23:21:43 -07:00
tailcontext.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
tcdrain.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcflow.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcflush.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcgetattr-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcgetattr.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tcgetpgrp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tcgetsid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tcgetwinsize-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcgetwinsize.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tcsendbreak.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcsetattr-nt.c Drop support for Windows 8 2024-05-29 19:37:47 -07:00
tcsetattr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcsetpgrp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tcsetsid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tcsetwinsize-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tcsetwinsize.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 Implement proper time zone support 2024-05-04 23:06:37 -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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ttydefaults.h Remove evil constants from cosmopolitan.h 2022-12-17 00:42:45 -08:00
ttyname.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ttyname_r.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ucontext.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ucontext.h Introduce support for trapping math 2024-04-30 13:38:43 -07:00
umask.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
uname.c Drop support for Windows 8 2024-05-29 19:37:47 -07:00
unassert.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unlockpt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unmount.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unveil.c Apply clang-format update to repo (#1154) 2024-04-25 10: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 flip et / noet in modelines 2023-12-07 22:17:11 -05: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
utimes.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
vdsofunc.greg.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
virtualmax.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
virtualmax2.c flip et / noet in modelines 2023-12-07 22:17:11 -05: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 Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
write.c Ensure io requests are always capped at 0x7ffff000 2024-05-26 16:53:13 -07:00
writev-metal.c Apply clang-format update to repo (#1154) 2024-04-25 10: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 flip et / noet in modelines 2023-12-07 22:17:11 -05:00
writev.c Ensure io requests are always capped at 0x7ffff000 2024-05-26 16:53:13 -07:00