BUF_FINISH(3) - Library Functions Manual
buf_finish - clear the buffer and free resources
buf_finish(struct buf *b);
Free the internal resources and reset the buffer state specified by b.
The buffer may be freely reused after calling the buf_finish() function, it is also safe to call the function on a finalized buffer as well.
The libbuf library was written by David Demelier <firstname.lastname@example.org>
macOS 11.2 - October 29, 2019-2020