MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rioFdFlush

Function rioFdFlush

app/redis-6.2.6/src/rio.c:352–356  ·  view source on GitHub ↗

Flushes any buffer to target device if applicable. Returns 1 on success * and 0 on failures. */

Source from the content-addressed store, hash-verified

350/* Flushes any buffer to target device if applicable. Returns 1 on success
351 * and 0 on failures. */
352static int rioFdFlush(rio *r) {
353 /* Our flush is implemented by the write method, that recognizes a
354 * buffer set to NULL with a count of zero as a flush request. */
355 return rioFdWrite(r,NULL,0);
356}
357
358static const rio rioFdIO = {
359 rioFdRead,

Callers

nothing calls this directly

Calls 1

rioFdWriteFunction · 0.85

Tested by

no test coverage detected