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

Function sendmsg

net/basic_socket.cpp:176–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176ssize_t sendmsg(int fd, const struct msghdr* msg, int flags, Timeout timeout) {
177 return DOIO_ONCE(::sendmsg(fd, msg, flags), wait_for_fd_writable(fd, timeout));
178}
179
180ssize_t recv(int fd, void* buf, size_t count, int flags, Timeout timeout) {
181 return DOIO_ONCE(::recv(fd, buf, count, flags), wait_for_fd_readable(fd, timeout));

Callers 6

do_sendMethod · 0.85
do_sendmsgMethod · 0.85
do_sendmsgMethod · 0.85
do_sendmsgMethod · 0.85
sendvFunction · 0.85
st_sendmsgFunction · 0.85

Calls 1

wait_for_fd_writableFunction · 0.50

Tested by

no test coverage detected