BUF_CLEAR(3) - Library Functions Manual
buf_clear - clear the buffer
#include <buf.h>
void
buf_clear(struct buf *b);
This function only change the string length, use buf_shrink(3) if you want to reduce memory usage.
libbuf(3), buf_shrink(3)
The libbuf library was written by David Demelier <markand@malikania.fr>
macOS 13.5 - October 29, 2019-2022