cosmopolitan/libc/sock
Justine Tunney 23e235b7a5
Fix bugs in cosmocc toolchain
This change integrates e58abc1110b335a3341e8ad5821ad8e3880d9bb2 from
https://github.com/ahgamut/musl-cross-make/ which fixes the issues we
were having with our C language extension for symbolic constants. This
change also performs some code cleanup and bug fixes to getaddrinfo().
It's now possible to compile projects like ncurses, readline and python
without needing to patch anything upstream, except maybe a line or two.
Pretty soon it should be possible to build a Linux distro on Cosmo.
2023-06-08 23:44:03 -07:00
..
struct Implement crash reporting for AARCH64 2023-05-12 05:47:54 -07:00
accept-nt.c Implement support for POSIX thread cancellations 2022-11-04 01:04:43 -07:00
accept-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
accept.c Implement support for POSIX thread cancellations 2022-11-04 01:04:43 -07:00
accept4-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
accept4.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
alg.h Perform build and magnum tuning 2021-08-10 10:26:13 -07:00
asanmsghdr.c Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
basesocket.c Improve synchronization 2022-04-15 15:31:55 -07:00
bind-nt.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
bind-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
bind.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
closesocket-nt.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
connect-nt.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
connect-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
connect.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
dupsockfd.c Improve synchronization 2022-04-15 15:31:55 -07:00
epoll.c Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
epoll.h Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
fixupnewsockfd.c Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
gethostips.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
getpeername-nt.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
getpeername-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
getpeername.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
getsockname-nt.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
getsockname-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
getsockname.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
getsockopt-nt.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
getsockopt.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
goodsocket.c Refactor out some duplicated code 2021-08-14 06:17:56 -07:00
goodsocket.internal.h Refactor out some duplicated code 2021-08-14 06:17:56 -07:00
inet_addr.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_aton.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_ntoa.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_ntop.c Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
inet_pton.c Implement inet_pton for AF_INET6 (#583) 2022-08-31 15:14:42 -07:00
internal.h Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
iovec2nt.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ipclassify.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
kntwsadata.c Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
listen-nt.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
listen.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
nointernet.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
parseport.c Add protoent and netent (#209) 2021-07-10 12:36:35 -07:00
pselect.c Make it possible to log kprintf() to file 2023-06-05 04:16:15 -07:00
recv-nt.c Implement support for POSIX thread cancellations 2022-11-04 01:04:43 -07:00
recv.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
recvfrom-nt.c Implement support for POSIX thread cancellations 2022-11-04 01:04:43 -07:00
recvfrom.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
recvmsg.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
select-nt.c Do some more aarch64 fixups 2023-05-10 04:20:47 -07:00
select.c Make it possible to log kprintf() to file 2023-06-05 04:16:15 -07:00
select.h Make improvements 2022-08-15 15:20:36 -07:00
send-nt.c Implement support for POSIX thread cancellations 2022-11-04 01:04:43 -07:00
send.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
sendfile.c Implement support for POSIX thread cancellations 2022-11-04 01:04:43 -07:00
sendfile.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
sendmsg.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
sendto-nt.c Implement support for POSIX thread cancellations 2022-11-04 01:04:43 -07:00
sendto.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
setsockopt-nt.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
setsockopt.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
shutdown-nt.c Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
shutdown.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
sock.h Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
sock.mk Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
sockaddr2bsd.c Polyfill IPv6 on non-Linux 2022-09-08 06:06:22 -07:00
sockaddr2linux.c Polyfill IPv6 on non-Linux 2022-09-08 06:06:22 -07:00
sockatmark.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
sockdebug.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
socket-nt.c Clean up some of the threading code 2022-09-08 12:31:56 -07:00
socket-sysv.c Have redbean show zip listing as default / handler 2021-03-29 01:22:49 -07:00
socket.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
socketpair-nt.c Make fixes and improvements 2022-10-19 07:19:19 -07:00
socketpair-sysv.c Perform fine-tuning of socketpair and pipe 2021-03-16 22:44:54 -07:00
socketpair.c Strengthen the pledge() polyfill 2022-06-27 13:02:17 -07:00
sys_sendfile_freebsd.S Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
sys_sendfile_xnu.S Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
syscall_fd.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
syslog.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
syslog.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
winsockblock.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
wsablock.c Implement support for POSIX thread cancellations 2022-11-04 01:04:43 -07:00
xinet_ntop.c Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
yoink.inc Improve synchronization 2022-04-15 15:31:55 -07:00