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

Method read

net/pooled_socket.cpp:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 return 0;
60 }
61 ssize_t read(void* buf, size_t count) override {
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 }

Callers

nothing calls this directly

Calls 1

readFunction · 0.85

Tested by

no test coverage detected