cosmopolitan/libc/sock
Justine Tunney c8aa33e0e2
Improve wait statuses
This change has the insight that dwExitCode isn't an exit code but
rather should be used to pass the wait status. This lets us report
killing as a termination status, similar to UNIX. This change also
fixes the fact that exit(259) on Windows will break the parent due
way WIN32 is designed. We now work around that.

It turns out that NetBSD and OpenBSD, will let you have exit codes
beyond 255. This change will let you use them when it's possible.
2023-07-30 14:51:37 -07:00
..
struct Remove _Hide keyword 2023-07-24 08:34:58 -07:00
accept-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
accept.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
accept4-sysv.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
accept4.c Make more fixes and improvements 2023-07-29 18:44:15 -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 flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
bind-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
bind.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
closesocket-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
connect-nt.c Mint APE Loader v1.5 2023-07-26 13:54:49 -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 Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
epoll.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
epoll.h Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
fixupnewsockfd.c Support non-blocking i/o across platforms 2023-07-23 02:56:47 -07:00
gethostips.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
getsockname.c Revert "Polyfill ENOTSOCK in getsockname() and getpeername()" 2023-07-24 03:09:43 -07:00
getsockopt-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
getsockopt.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
goodsocket.c Mint APE Loader v1.4 2023-07-25 05:48:08 -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 Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -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 Improve wait statuses 2023-07-30 14:51:37 -07:00
listen-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
listen.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
nointernet.c Mint APE Loader v1.5 2023-07-26 13:54:49 -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 Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
recv.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
recvfrom-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
recvfrom.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
recvmsg.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
select-nt.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
select.c Fix build breakage under special strace config 2023-07-03 00:05:51 -07:00
select.h Make improvements 2022-08-15 15:20:36 -07:00
send-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
send.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
sendfile.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
sendfile.internal.h Remove _Hide keyword 2023-07-24 08:34:58 -07:00
sendmsg.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
sendto-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
sendto.c Improve cancellations, randomness, and time 2022-11-05 23:45:32 -07:00
setsockopt-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
setsockopt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
shutdown-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -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 Clean up more code 2023-06-18 01:00:05 -07:00
sockaddr.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockaddr2bsd.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockaddr2linux.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockatmark.c Support non-blocking i/o across platforms 2023-07-23 02:56:47 -07:00
sockdebug.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
socket-nt.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
socket-sysv.c Support non-blocking i/o across platforms 2023-07-23 02:56:47 -07:00
socket.c Make more fixes and improvements 2023-07-29 18:44:15 -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 Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
syslog.c Remove printf() linking hack 2023-06-17 10:13:50 -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 Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
yoink.inc Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00