cosmopolitan/libc/calls
Justine Tunney 8da931a7f6 Add chibicc
This program popped up on Hacker News recently. It's the only modern
compiler I've ever seen that doesn't have dependencies and is easily
modified. So I added all of the missing GNU extensions I like to use
which means it might be possible soon to build on non-Linux and have
third party not vendor gcc binaries.
2020-12-06 16:20:21 -08:00
..
hefty Make improvements 2020-12-01 03:43:40 -08:00
struct Add chibicc 2020-12-06 16:20:21 -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 Make improvements 2020-12-01 03:43:40 -08: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 Make improvements 2020-12-01 03:43:40 -08: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 improvements 2020-12-01 03:43:40 -08:00
close.c Make improvements 2020-12-01 03:43:40 -08: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
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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 Make improvements 2020-12-01 03:43:40 -08:00
faccessat.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
fadvise-nt.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
fadvise.c Initial import 2020-06-15 07:18:57 -07:00
fallocate.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
fcntl.c Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
fdatasync-nt.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
fdatasync.c Initial import 2020-06-15 07:18:57 -07:00
fdkind.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
fileexists.c Add chibicc 2020-12-06 16:20:21 -08:00
fixupnewfd.c Initial import 2020-06-15 07:18:57 -07:00
flock-nt.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add chibicc 2020-12-06 16:20:21 -08:00
fstat-sysv.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fstat.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
ftruncate.c Initial import 2020-06-15 07:18:57 -07:00
g_fds.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 Make improvements 2020-12-01 03:43:40 -08:00
getcwd.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
getdomainname.c Make improvements 2020-12-01 03:43:40 -08:00
getemptyfd.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 improvements 2020-12-01 03:43:40 -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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Make improvements 2020-12-01 03:43:40 -08:00
grantpt.c Initial import 2020-06-15 07:18:57 -07:00
growfds.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
internal.h Add chibicc 2020-12-06 16:20:21 -08:00
ioctl-default.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
ioctl-tiocgwinsz.c Initial import 2020-06-15 07:18:57 -07:00
ioctl-tiocswinsz-nt.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
isatty.c Add chibicc 2020-12-06 16:20:21 -08:00
ischardev.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
isfdopen.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Make improvements 2020-12-01 03:43:40 -08:00
link.c Initial import 2020-06-15 07:18:57 -07:00
lseek-nt.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
madvise.c Initial import 2020-06-15 07:18:57 -07:00
mkdir.c Make improvements 2020-12-01 03:43:40 -08: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.c Make improvements 2020-12-01 03:43:40 -08:00
mprotect.greg.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
nanosleep-nt.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
nanosleep-xnu.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 Make improvements 2020-12-01 03:43:40 -08:00
open.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
openanon.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
pwritev.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
raise.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
read-nt.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
read.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
readansi.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
readv-serial.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
readv.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
rename-nt.c Make improvements 2020-12-01 03:43:40 -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 Make improvements 2020-12-01 03:43:40 -08:00
rmdir.c Initial import 2020-06-15 07:18:57 -07:00
sched_setaffinity.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
setitimer.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
setpriority-nt.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 Make improvements 2020-12-01 03:43:40 -08:00
stat.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
stat2linux.c Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
symlink-nt.c Make improvements 2020-12-01 03:43:40 -08: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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08: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 Make improvements 2020-12-01 03:43:40 -08: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 Make improvements 2020-12-01 03:43:40 -08: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 Make improvements 2020-12-01 03:43:40 -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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -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 Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
write-nt.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
write.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
writev-serial.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
writev.c Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
xattr.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
xnutrampoline.c Add chibicc 2020-12-06 16:20:21 -08:00
zygote.c Get fork() working on Windows 2020-11-13 03:14:39 -08:00