lib/byteq.c
/* Returns the byte after the last in-use byte of 'q', the point at which new
 * data will be added to 'q'. */
Returns the byte after the last in-use byte of 'q', the point at which new
data will be added to 'q'.
Returns the byte after the last in - use byte of ' q ' the point at which new data will be added to ' q ' .
uint8_t *
byteq_head(struct byteq *q)
{
    return &q->buffer[q->head & (q->size - 1)];
}
uint8_t * byteq_head ( struct byteq * q ) { return & q -> buffer [ q -> head & ( q -> size - 1 ) ] ; }
Returns the byte after the last in-use byte of 'q', the point at which new
 data will be added to 'q'.
Returns the byte after the last in - use byte of ' q ' the point at which new data will be added to ' q ' .