MAX_BUF_SIZE
if (bufp->allocated == MAX_BUF_SIZE) \
if (bufp->allocated > MAX_BUF_SIZE) \
bufp->allocated = MAX_BUF_SIZE; \