lib/byteq.c
/* Returns the number of contiguous bytes of in-use space starting at the tail
 * of 'q'. */
Returns the number of contiguous bytes of in-use space starting at the tail
of 'q'.
Returns the number of contiguous bytes of in - use space starting at the tail of ' q ' .
int
byteq_tailroom(const struct byteq *q)
{
    int used = byteq_used(q);
    int tail_to_end = q->size - (q->tail & (q->size - 1));
    return MIN(used, tail_to_end);
}
int byteq_tailroom ( const struct byteq * q ) { int used = byteq_used ( q ) ; int tail_to_end = q -> size - ( q -> tail & ( q -> size - 1 ) ) ; return MIN ( used , tail_to_end ) ; }
Returns the number of contiguous bytes of in-use space starting at the tail
 of 'q'.
Returns the number of contiguous bytes of in - use space starting at the tail of ' q ' .