cosmopolitan/libc/sock
Justine Tunney 3f26dfbb31
Share file offset across execve() on Windows
This is a breaking change. It defines the new environment variable named
_COSMO_FDS_V2 which is used for inheriting non-stdio file descriptors on
execve() or posix_spawn(). No effort has been spent thus far integrating
with the older variable. If a new binary launches the older ones or vice
versa they'll only be able to pass stdin / stdout / stderr to each other
therefore it's important that you upgrade all your cosmo binaries if you
depend on this functionality. You'll be glad you did because inheritance
of file descriptors is more aligned with the POSIX standard than before.
2024-08-03 17:48:00 -07:00
..
struct libc headers: make <complex.h> work, add struct ipv6_mreq (#1100) 2024-02-05 17:22:56 -05:00
accept-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
accept.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
accept4-sysv.c Fix typo in accept4-sysv.c (#1235) 2024-07-19 05:46:29 -07:00
accept4.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
alg.h Reduce header complexity 2023-11-28 14:39:42 -08:00
basesocket.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
bind-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bind-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bind.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
BUILD.mk Update Musl Libc code 2024-07-30 22:51:29 -07:00
closesocket-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
connect-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
connect-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
connect.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
epoll.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
epoll.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
fixupnewsockfd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gethostips.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
getsockname.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
getsockopt-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getsockopt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
goodsocket.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
goodsocket.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
ifaddrs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ifaddrs.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
in.h Add libresolv from Musl Libc 2023-12-08 20:04:10 -08:00
in6addr_any.c Make improvements 2024-01-29 16:31:58 -08:00
in6addr_loopback.c Make improvements 2024-01-29 16:31:58 -08:00
inet_addr.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
inet_aton.c Fix ctype.h and wctype.h 2024-07-21 15:54:17 -07:00
inet_ntoa.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
inet_ntop.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
inet_pton.c Fix ctype.h and wctype.h 2024-07-21 15:54:17 -07:00
internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
iovec2nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ipclassify.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
kntwsadata.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
listen-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
listen.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
recv-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
recv.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
recvfrom-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
recvfrom.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
recvmsg.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
select.h Rerun clang-format on the repo (#1217) 2024-06-15 16:34:48 -04:00
select.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
send-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
send.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sendfile.c Share file offset across execve() on Windows 2024-08-03 17:48:00 -07:00
sendfile.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sendmsg.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sendto-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sendto.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setsockopt-nt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
setsockopt.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
shutdown-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
shutdown.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sock.h Fix some static analysis issues 2024-07-27 09:16:54 -07:00
sockaddr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sockaddr2bsd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sockaddr2linux.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sockatmark.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
sockdebug.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
socket-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
socket-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
socket.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
socketpair-nt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
socketpair-sysv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
socketpair.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sys_sendfile_freebsd.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
sys_sendfile_xnu.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
syscall_fd.internal.h Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
syslog.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
winsockblock.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wsaid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wsaid.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
yoink.inc Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00