BUF_CLEAR(3) - Library Functions Manual
buf_clear - clear the buffer
buf_clear(struct buf *b);
This function only change the string length, use buf_shrink(3) if you want to reduce memory usage.
The libbuf library was written by David Demelier <firstname.lastname@example.org>
Mac OS X 10.15 - October 29, 2019-2020