FreeBSD/contrib/libxo/libxo/xo_buf.h
/*
 * Return the number of bytes left in the buffer
 */
Return the number of bytes left in the buffer
Return the number of bytes left in the buffer
static inline int
xo_buf_left (xo_buffer_t *xbp)
{
    return xbp->xb_size - (xbp->xb_curp - xbp->xb_bufp);
}
static inline int xo_buf_left ( xo_buffer_t * xbp ) { return xbp -> xb_size - ( xbp -> xb_curp - xbp -> xb_bufp ) ; }
Return the number of bytes left in the buffer
Return the number of bytes left in the buffer