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

Method write

net/pooled_socket.cpp:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 FORWARD_SOCK_ACT(less_equal, read(buf, count), count);
63 }
64 ssize_t write(const void* buf, size_t count) override {
65 FORWARD_SOCK_ACT(less, write(buf, count), count);
66 }
67 ssize_t readv(const struct iovec* iov, int iovcnt) override {
68 FORWARD_SOCK_ACT(less_equal, readv(iov, iovcnt),
69 iovector_view((struct iovec*)iov, iovcnt).sum());

Callers

nothing calls this directly

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected