]> git.proxmox.com Git - wasi-libc.git/commit
feat: add support for accept and accept4
authorHarald Hoyer <harald@profian.com>
Mon, 2 May 2022 10:21:42 +0000 (12:21 +0200)
committerDan Gohman <dev@sunfishcode.online>
Thu, 5 May 2022 22:12:26 +0000 (15:12 -0700)
commit63e4489d01ad0262d995c6d9a5f1a1bab719c917
tree83b74a371d1b9de05819304375fb96794aacf1af
parente9fcbdead881115cdf03cc98f50925c51a30a294
feat: add support for accept and accept4

Since the socket address of the accepted socket is unknown,
all bytes are set to zero and the length is truncated to the size
of the generic `struct sockaddr`.

Signed-off-by: Harald Hoyer <harald@profian.com>
expected/wasm32-wasi/defined-symbols.txt
libc-bottom-half/sources/accept.c [new file with mode: 0644]
libc-top-half/musl/include/sys/socket.h