summaryrefslogtreecommitdiff
path: root/libc/src/sys/socket/linux/recv.cpp
AgeCommit message (Collapse)Author
2025-06-11[libc] Move libc_errno.h to libc/src/__support and make ↵lntue
LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
2024-10-03[libc] Small recvfrom fixes (yaml, unpoison) (#111020)Michael Jones
Forgot to update the newhdrgen yaml (old headergen is fine) and forgot to unpoison addrlen. This patch fixes those.
2024-10-03[libc] Fix send and recv functions (#110936)Michael Jones
There were some errors in the implementation. Oops. This patch fixes those.
2024-09-24[libc] Add MSAN unpoison annotations to recv funcs (#109844)Michael Jones
Anywhere a struct is returned from the kernel, we need to explicitly unpoison it for MSAN. This patch does that for the recv, recvfrom, recvmsg, and socketpair functions.
2024-09-19[libc] Add functions to send/recv messages (#106467)Michael Jones
This patch adds the necessary functions to send and receive messages over a socket. Those functions are: recv, recvfrom, recvmsg, send, sendto, sendmsg, and socketpair for testing.