FreeBSD/contrib/libxo/libxo/xo_buf.h
/*
 * Initialize the contents of an xo_buffer_t.
 */
Initialize the contents of an xo_buffer_t.
Initialize the contents of an xo_buffer_t .
static inline void
xo_buf_init (xo_buffer_t *xbp)
{
    xbp->xb_size = XO_BUFSIZ;
    xbp->xb_bufp = xo_realloc(NULL, xbp->xb_size);
    xbp->xb_curp = xbp->xb_bufp;
}
static inline void xo_buf_init ( xo_buffer_t * xbp ) { xbp -> xb_size = XO_BUFSIZ ; xbp -> xb_bufp = xo_realloc ( NULL , xbp -> xb_size ) ; xbp -> xb_curp = xbp -> xb_bufp ; }
Initialize the contents of an xo_buffer_t.
Initialize the contents of an xo_buffer_t .