* Return the current offset */
| 73 | * Return the current offset |
| 74 | */ |
| 75 | static inline ssize_t |
| 76 | xo_buf_offset (xo_buffer_t *xbp) |
| 77 | { |
| 78 | return xbp ? (xbp->xb_curp - xbp->xb_bufp) : 0; |
| 79 | } |
| 80 | |
| 81 | static inline char * |
| 82 | xo_buf_data (xo_buffer_t *xbp, ssize_t offset) |
no outgoing calls
no test coverage detected