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

Function st_read_fully

thread/st.cpp:283–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283ssize_t st_read_fully(st_netfd_t fd, void *buf, size_t nbyte, st_utime_t timeout) {
284 return photon::net::read_n(getfd(fd), buf, nbyte, timeout);
285}
286
287int st_read_resid(st_netfd_t fd, void *buf, size_t *resid, st_utime_t timeout) {
288 auto ret = photon::net::read_n(getfd(fd), buf, *resid, timeout);

Callers

nothing calls this directly

Calls 2

read_nFunction · 0.85
getfdFunction · 0.85

Tested by

no test coverage detected