MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / do_recvmsg

Method do_recvmsg

net/kernel_socket.cpp:933–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

931 }
932
933 ssize_t do_recvmsg(int sockfd, struct msghdr* message, int flags, Timeout timeout) override {
934 return etdoio(LAMBDA(::recvmsg(sockfd, message, flags)),
935 LAMBDA_TIMEOUT(wait_for_readable(timeout)));
936 }
937
938 ssize_t do_sendfile(int in_fd, off_t offset, size_t count) {
939 auto timeout = m_timeout;

Callers

nothing calls this directly

Calls 3

etdoioFunction · 0.85
recvmsgFunction · 0.85
wait_for_readableFunction · 0.85

Tested by

no test coverage detected