cosmopolitan/libc/calls
Justine Tunney 2d80bbc802 Get binaries closer to running without an o/s
blinkenlights now does a pretty good job emulating what happens when
binaries boot from BIOS into long mode. So it's been much easier to
debug the bare metal process and wrinkle out many issues.
2020-11-02 19:12:47 -08:00
..
hefty Get binaries closer to running without an o/s 2020-11-02 19:12:47 -08:00
struct Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
thunks Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
typedef Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
access.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
atfork.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
calls.h Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
calls.mk Initial import 2020-06-15 07:18:57 -07:00
chdir-nt.c Initial import 2020-06-15 07:18:57 -07:00
chdir.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
chmod.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
chown.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
clock.c Make more improvements 2020-09-28 01:20:34 -07:00
clock_gettime.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
close-nt.c Make more improvements 2020-09-28 01:20:34 -07:00
close.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
commandv.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
copyfd.c Initial import 2020-06-15 07:18:57 -07:00
creat.c Initial import 2020-06-15 07:18:57 -07:00
createfd.c Initial import 2020-06-15 07:18:57 -07:00
dprintf.c Initial import 2020-06-15 07:18:57 -07:00
dtime.c Make more improvements 2020-09-28 01:20:34 -07:00
dup-nt.c Make more improvements 2020-09-28 01:20:34 -07:00
dup.c Initial import 2020-06-15 07:18:57 -07:00
dup2.c Initial import 2020-06-15 07:18:57 -07:00
dup3-sysv.c Initial import 2020-06-15 07:18:57 -07:00
dup3.c Initial import 2020-06-15 07:18:57 -07:00
faccessat-nt.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
faccessat.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
fadvise-nt.c Initial import 2020-06-15 07:18:57 -07:00
fadvise.c Initial import 2020-06-15 07:18:57 -07:00
fallocate.c Initial import 2020-06-15 07:18:57 -07:00
fchmod.c Initial import 2020-06-15 07:18:57 -07:00
fchown.c Initial import 2020-06-15 07:18:57 -07:00
fchownat.c Initial import 2020-06-15 07:18:57 -07:00
fcntl-nt.c Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
fcntl.c Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
fdatasync-nt.c Initial import 2020-06-15 07:18:57 -07:00
fdatasync.c Initial import 2020-06-15 07:18:57 -07:00
fdkind.c Initial import 2020-06-15 07:18:57 -07:00
fileexists.c Initial import 2020-06-15 07:18:57 -07:00
fixupnewfd.c Initial import 2020-06-15 07:18:57 -07:00
flock-nt.c Initial import 2020-06-15 07:18:57 -07:00
flock.c Initial import 2020-06-15 07:18:57 -07:00
fork.c Initial import 2020-06-15 07:18:57 -07:00
fprot2nt.c Make more improvements 2020-09-28 01:20:34 -07:00
fstat-nt.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
fstat-sysv.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fstat.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fstatat-sysv.c Initial import 2020-06-15 07:18:57 -07:00
fstatat.c Initial import 2020-06-15 07:18:57 -07:00
fsync.c Initial import 2020-06-15 07:18:57 -07:00
ftruncate-nt.c Initial import 2020-06-15 07:18:57 -07:00
ftruncate.c Initial import 2020-06-15 07:18:57 -07:00
g_fds.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
g_fds_init.S Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
g_ntstartupinfo.c Initial import 2020-06-15 07:18:57 -07:00
g_ntstartupinfo_init.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
g_ntsysteminfo.c Initial import 2020-06-15 07:18:57 -07:00
g_ntsysteminfo_init.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
g_sighandrvas.c Initial import 2020-06-15 07:18:57 -07:00
getauxval.c Initial import 2020-06-15 07:18:57 -07:00
getcwd-nt.c Initial import 2020-06-15 07:18:57 -07:00
getcwd.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
getenv.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
getfiledescriptorsize.c Initial import 2020-06-15 07:18:57 -07:00
getfilesize.c Initial import 2020-06-15 07:18:57 -07:00
getitimer.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
getntsyspath.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
getpid.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
getppid.c Initial import 2020-06-15 07:18:57 -07:00
getpriority-nt.c Initial import 2020-06-15 07:18:57 -07:00
getpriority.c Initial import 2020-06-15 07:18:57 -07:00
getprocaddressmodule.c Initial import 2020-06-15 07:18:57 -07:00
getrlimit.c Make more improvements 2020-09-28 01:20:34 -07:00
getrusage-nt.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
getrusage.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
getsetpriority-nt.c Initial import 2020-06-15 07:18:57 -07:00
gettid.c Initial import 2020-06-15 07:18:57 -07:00
gettimeofday-nt.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
gettimeofday-sysv.S Make more improvements 2020-09-28 01:20:34 -07:00
gettimeofday.c Make more improvements 2020-09-28 01:20:34 -07:00
getuid.c Initial import 2020-06-15 07:18:57 -07:00
grantpt.c Initial import 2020-06-15 07:18:57 -07:00
growfds.c Make more improvements 2020-09-28 01:20:34 -07:00
internal.h Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
ioctl-default.c Make more improvements 2020-09-28 01:20:34 -07:00
ioctl-tcgets-nt.c Initial import 2020-06-15 07:18:57 -07:00
ioctl-tcgets.c Initial import 2020-06-15 07:18:57 -07:00
ioctl-tcsets-nt.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
ioctl-tcsets.c Initial import 2020-06-15 07:18:57 -07:00
ioctl-tiocgwinsz-nt.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
ioctl-tiocgwinsz.c Initial import 2020-06-15 07:18:57 -07:00
ioctl-tiocswinsz-nt.c Initial import 2020-06-15 07:18:57 -07:00
ioctl-tiocswinsz.c Initial import 2020-06-15 07:18:57 -07:00
ioctl.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
ioctl.h Add glob and some finer tuning of documentation 2020-06-21 15:23:35 -07:00
isatty-nt.c Initial import 2020-06-15 07:18:57 -07:00
isatty.c Initial import 2020-06-15 07:18:57 -07:00
ischardev.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
isdebuggerpresent.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
isdirectory.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
isexecutable.c Initial import 2020-06-15 07:18:57 -07:00
isfdkind.c Make more improvements 2020-09-28 01:20:34 -07:00
isfdopen.c Make more improvements 2020-09-28 01:20:34 -07:00
isregularfile.c Initial import 2020-06-15 07:18:57 -07:00
kemptyfd.c Initial import 2020-06-15 07:18:57 -07:00
kill.c Initial import 2020-06-15 07:18:57 -07:00
killpg.c Initial import 2020-06-15 07:18:57 -07:00
kntprioritycombos.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
kntprioritycombos.h Initial import 2020-06-15 07:18:57 -07:00
kntsystemdirectory.S Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
kntwindowsdirectory.S Get binaries closer to running without an o/s 2020-11-02 19:12:47 -08:00
ktmppath.S Make more improvements 2020-09-28 01:20:34 -07:00
lchown.c Initial import 2020-06-15 07:18:57 -07:00
link-nt.c Initial import 2020-06-15 07:18:57 -07:00
link.c Initial import 2020-06-15 07:18:57 -07:00
lseek-nt.c Initial import 2020-06-15 07:18:57 -07:00
lseek.c Initial import 2020-06-15 07:18:57 -07:00
lstat-nt.c Initial import 2020-06-15 07:18:57 -07:00
lstat.c Initial import 2020-06-15 07:18:57 -07:00
madvise-nt.c Initial import 2020-06-15 07:18:57 -07:00
madvise.c Initial import 2020-06-15 07:18:57 -07:00
mkdir.c Initial import 2020-06-15 07:18:57 -07:00
mkdirat.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
mkfifo.c Initial import 2020-06-15 07:18:57 -07:00
mknod.c Initial import 2020-06-15 07:18:57 -07:00
mkntpath.ncabi.c Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
mprotect.greg.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
nanosleep-nt.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
nanosleep-xnu.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
nanosleep.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
nice.c Initial import 2020-06-15 07:18:57 -07:00
now.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
nowl.S Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
ntaccesscheck.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
ntcontext2linux.c Initial import 2020-06-15 07:18:57 -07:00
ntmagicpaths.c Initial import 2020-06-15 07:18:57 -07:00
ntmagicpaths.h Initial import 2020-06-15 07:18:57 -07:00
ntmagicpaths.inc Initial import 2020-06-15 07:18:57 -07:00
ntreturn.c Initial import 2020-06-15 07:18:57 -07:00
ntsetprivilege.c Initial import 2020-06-15 07:18:57 -07:00
offset2overlap.c Initial import 2020-06-15 07:18:57 -07:00
onntconsoleevent.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
onntconsoleevent_init.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
open-nt.c Make more improvements 2020-09-28 01:20:34 -07:00
open.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
openanon.c Initial import 2020-06-15 07:18:57 -07:00
openat.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
openbsd.h Initial import 2020-06-15 07:18:57 -07:00
openpty.c Initial import 2020-06-15 07:18:57 -07:00
pause.c Initial import 2020-06-15 07:18:57 -07:00
pipe-nt.c Initial import 2020-06-15 07:18:57 -07:00
pipe-sysv.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
pipe.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
pipe2-sysv.c Initial import 2020-06-15 07:18:57 -07:00
pipe2.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
posix_fadvise.c Initial import 2020-06-15 07:18:57 -07:00
posix_fallocate.c Initial import 2020-06-15 07:18:57 -07:00
posix_madvise.c Initial import 2020-06-15 07:18:57 -07:00
posix_openpt.c Initial import 2020-06-15 07:18:57 -07:00
pread.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
preadv.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
prot2nt.greg.c Make more improvements 2020-09-28 01:20:34 -07:00
ptsname.c Initial import 2020-06-15 07:18:57 -07:00
ptsname_r.c Initial import 2020-06-15 07:18:57 -07:00
pwrite.c Initial import 2020-06-15 07:18:57 -07:00
pwritev.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
raise.c Initial import 2020-06-15 07:18:57 -07:00
read-nt.c Initial import 2020-06-15 07:18:57 -07:00
read.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
readansi.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
readv.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
realpath.c Initial import 2020-06-15 07:18:57 -07:00
remove.c Initial import 2020-06-15 07:18:57 -07:00
removefd.c Make more improvements 2020-09-28 01:20:34 -07:00
rename-nt.c Initial import 2020-06-15 07:18:57 -07:00
rename.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
renameat.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
rmdir-nt.c Initial import 2020-06-15 07:18:57 -07:00
rmdir.c Initial import 2020-06-15 07:18:57 -07:00
sched_setaffinity.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
sched_yield-nt.c Initial import 2020-06-15 07:18:57 -07:00
sched_yield.c Initial import 2020-06-15 07:18:57 -07:00
setegid.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
seteuid.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
setitimer-nt.c Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
setitimer.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
setpriority-nt.c Initial import 2020-06-15 07:18:57 -07:00
setpriority.c Initial import 2020-06-15 07:18:57 -07:00
setresgid.c Initial import 2020-06-15 07:18:57 -07:00
setresuid.c Initial import 2020-06-15 07:18:57 -07:00
setrlimit.c Initial import 2020-06-15 07:18:57 -07:00
sigaction.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
sigaddset.c Initial import 2020-06-15 07:18:57 -07:00
sigbits.h Initial import 2020-06-15 07:18:57 -07:00
sigdelset.c Initial import 2020-06-15 07:18:57 -07:00
sigemptyset.c Initial import 2020-06-15 07:18:57 -07:00
sigenter.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sigfillset.c Initial import 2020-06-15 07:18:57 -07:00
sigignore.c Initial import 2020-06-15 07:18:57 -07:00
sigismember.c Initial import 2020-06-15 07:18:57 -07:00
signal.c Initial import 2020-06-15 07:18:57 -07:00
sigprocmask.c Initial import 2020-06-15 07:18:57 -07:00
sigsuspend.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
splice.c Initial import 2020-06-15 07:18:57 -07:00
stat-nt.c Initial import 2020-06-15 07:18:57 -07:00
stat.c Make improvements 2020-09-14 00:02:34 -07:00
stat2linux.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
symlink-nt.c Initial import 2020-06-15 07:18:57 -07:00
symlink.c Initial import 2020-06-15 07:18:57 -07:00
sync_file_range.c Initial import 2020-06-15 07:18:57 -07:00
sysinfo-nt.c Initial import 2020-06-15 07:18:57 -07:00
sysinfo.c Initial import 2020-06-15 07:18:57 -07:00
tcgetattr.c Initial import 2020-06-15 07:18:57 -07:00
tcgetpgrp.c Initial import 2020-06-15 07:18:57 -07:00
tcsetattr.c Initial import 2020-06-15 07:18:57 -07:00
tcsetpgrp.c Initial import 2020-06-15 07:18:57 -07:00
termios-internal.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
termios.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
termios2host.c Initial import 2020-06-15 07:18:57 -07:00
termios2linux.c Initial import 2020-06-15 07:18:57 -07:00
time.c Make more improvements 2020-09-28 01:20:34 -07:00
touch.c Initial import 2020-06-15 07:18:57 -07:00
truncate-nt.c Initial import 2020-06-15 07:18:57 -07:00
truncate.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
tunefd.c Initial import 2020-06-15 07:18:57 -07:00
ucontext.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
uname.c Initial import 2020-06-15 07:18:57 -07:00
unlink-nt.c Initial import 2020-06-15 07:18:57 -07:00
unlink.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
unlink_s.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
unlinkat.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
unlockpt.c Initial import 2020-06-15 07:18:57 -07:00
utime.c Make more improvements 2020-09-28 01:20:34 -07:00
utimensat-nt.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
utimensat-sysv.c Make more improvements 2020-09-28 01:20:34 -07:00
utimensat-xnu.c Make more improvements 2020-09-28 01:20:34 -07:00
utimensat.c Make more improvements 2020-09-28 01:20:34 -07:00
utimes.c Make more improvements 2020-09-28 01:20:34 -07:00
vdprintf.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
vmsplice.c Initial import 2020-06-15 07:18:57 -07:00
wait.c Initial import 2020-06-15 07:18:57 -07:00
wait3.c Initial import 2020-06-15 07:18:57 -07:00
wait4-nt.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
wait4.c Initial import 2020-06-15 07:18:57 -07:00
waitpid.c Initial import 2020-06-15 07:18:57 -07:00
weirdtypes.h Add glob and some finer tuning of documentation 2020-06-21 15:23:35 -07:00
winalarm.c Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
wincrash.c Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
wincrash_init.S Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
winerr.greg.c Initial import 2020-06-15 07:18:57 -07:00
write-nt.c Initial import 2020-06-15 07:18:57 -07:00
write.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
writev.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
xattr.h Initial import 2020-06-15 07:18:57 -07:00
xnutrampoline.c Initial import 2020-06-15 07:18:57 -07:00
zygote.c Initial import 2020-06-15 07:18:57 -07:00