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 <email@example.com>
macOS 12.5 - October 29, 2019-2022