cosmopolitan/libc/isystem/sys
Justine Tunney e557058ac8
Improve cosmo's conformance to libc-test
This change addresses various open source compatibility issues, so that
we pass 313/411 of the tests in https://github.com/jart/libc-test where
earlier today we were passing about 30/411 of them, due to header toil.
Please note that Glibc only passes 341/411 so 313 today is pretty good!

- Make the conformance of libc/isystem/ headers nearly perfect
- Import more of the remaining math library routines from Musl
- Fix inconsistencies with type signatures of calls like umask
- Write tests for getpriority/setpriority which work great now
- conform to `struct sockaddr *` on remaining socket functions
- Import a bunch of uninteresting stdlib functions e.g. rand48
- Introduce readdir_r, scandir, pthread_kill, sigsetjmp, etc..

Follow the instructions in our `tool/scripts/cosmocc` toolchain to run
these tests yourself. You use `make CC=cosmocc` on the test repository
2022-10-10 17:52:41 -07:00
..
auxv.h Initial import 2020-06-15 07:18:57 -07:00
dir.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
errno.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
event.h Make more compatibility improvements 2022-09-06 07:04:13 -07:00
fcntl.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
file.h Make more libc improvements 2022-08-06 17:18:40 -07:00
ioctl.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
ipc.h Make more libc improvements 2022-08-06 17:18:40 -07:00
mman.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
mount.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
msg.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
param.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
poll.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
prctl.h Make more libc improvements 2022-08-06 17:18:40 -07:00
ptrace.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
random.h Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
reboot.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
resource.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
select.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
sendfile.h Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
signal.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
socket.h Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
stat.h Make more compatibility improvements 2022-09-06 07:04:13 -07:00
statfs.h Make more compatibility improvements 2022-09-06 07:04:13 -07:00
statvfs.h Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
syscall.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
sysinfo.h Initial import 2020-06-15 07:18:57 -07:00
sysmacros.h Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
termios.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
time.h Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
times.h Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
ttydefaults.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
types.h Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
uio.h Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
un.h Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
utsname.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
wait.h Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
xattr.h Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00