MCPcopy Create free account
hub / github.com/antirez/disque / syncRead

Function syncRead

src/syncio.c:85–118  ·  view source on GitHub ↗

Read the specified amount of bytes from 'fd'. If all the bytes are read * within 'timeout' milliseconds the operation succeed and 'size' is returned. * Otherwise the operation fails, -1 is returned, and an unspecified amount of * data could be read from the file descriptor. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

syncReadLineFunction · 0.85
rewriteAppendOnlyFileFunction · 0.85

Calls 2

aeWaitFunction · 0.85
mstimeFunction · 0.70

Tested by

no test coverage detected