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

Method do_sendmsg

net/kernel_socket.cpp:923–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

921 }
922
923 ssize_t do_sendmsg(int sockfd, const struct msghdr* message, int flags, Timeout timeout) override {
924 return etdoio(LAMBDA(::sendmsg(sockfd, message, flags)),
925 LAMBDA_TIMEOUT(wait_for_writable(timeout)));
926 }
927
928 ssize_t do_recv(int sockfd, void* buf, size_t count, int flags, Timeout timeout) override {
929 return etdoio(LAMBDA(::read(sockfd, buf, count)),

Callers

nothing calls this directly

Calls 2

etdoioFunction · 0.85
sendmsgFunction · 0.85

Tested by

no test coverage detected