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

Function xo_buf_left

tools/libxo/libxo/xo_buf.h:57–61  ·  view source on GitHub ↗

* Return the number of bytes left in the buffer */

Source from the content-addressed store, hash-verified

55 * Return the number of bytes left in the buffer
56 */
57static inline int
58xo_buf_left (xo_buffer_t *xbp)
59{
60 return xbp->xb_size - (xbp->xb_curp - xbp->xb_bufp);
61}
62
63/*
64 * See if the buffer to empty

Callers 2

xo_syslog_handle_writeFunction · 0.85
xo_vsyslogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected