cosmopolitan/libc/calls
Justine Tunney ea0b5d9d1c Get Cosmopolitan into releasable state
A new rollup tool now exists for flattening out the headers in a way
that works better for our purposes than cpp. A lot of the API clutter
has been removed. APIs that aren't a sure thing in terms of general
recommendation are now marked internal.

There's now a smoke test for the amalgamation archive and gigantic
header file. So we can now guarantee you can use this project on the
easiest difficulty setting without the gigantic repository.

A website is being created, which is currently a work in progress:
https://justine.storage.googleapis.com/cosmopolitan/index.html
2020-11-25 08:19:00 -08:00
..
hefty Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
struct Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
calls.mk Add Conway's Game of Life 2020-11-18 08:26:03 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
copyfd.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get fork() working on Windows 2020-11-13 03:14:39 -08: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
fprot2nt.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
fstat-nt.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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
getdomainname.c Make minor improvements 2020-11-09 15:41:11 -08:00
getenv.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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
gethostname.c Make minor improvements 2020-11-09 15:41:11 -08:00
getitimer.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
getntsyspath.S Make minor improvements 2020-11-09 15:41:11 -08:00
getpid.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
getppid.c Initial import 2020-06-15 07:18:57 -07:00
getpriority-nt.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
getpriority.c Initial import 2020-06-15 07:18:57 -07:00
getprocaddressmodule.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ioctl-tcsets-nt.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ioctl-tcsets.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
killpg.c Initial import 2020-06-15 07:18:57 -07:00
kntprioritycombos.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
kntprioritycombos.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nanosleep.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
nice.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
now.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nowl.S Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
ntaccesscheck.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ntcontext2linux.c Initial import 2020-06-15 07:18:57 -07:00
ntmagicpaths.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ntmagicpaths.inc Initial import 2020-06-15 07:18:57 -07:00
ntmagicpaths.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
open.c Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
openanon.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
openat.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
openbsd.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
raise.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
rename.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
renameat.c Make minor improvements 2020-11-09 15:41:11 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigaddset.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigbits.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigdelset.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigemptyset.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigenter.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
sigfillset.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigignore.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sigismember.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
stat.c Make improvements 2020-09-14 00:02:34 -07:00
stat2linux.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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-nt.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
sync.c Make minor improvements 2020-11-09 15:41:11 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
termios.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
termios2host.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
termios2linux.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get fork() working on Windows 2020-11-13 03:14:39 -08:00
wait3.c Initial import 2020-06-15 07:18:57 -07:00
wait4-nt.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
wait4.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
wait4.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
waitpid.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08: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 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
xnutrampoline.c Initial import 2020-06-15 07:18:57 -07:00
zygote.c Get fork() working on Windows 2020-11-13 03:14:39 -08:00