BUF_INIT(3) - Library Functions Manual
buf_init - initialize a buffer
#include <buf.h>
void
buf_init(struct buf *b);
The buf_init() function is used to reset the buffer specified by b.
It does not allocate anything and if can even be unneeded if you have zero’ed the object yourself.
libbuf(3), buf_finish(3)
The libbuf library was written by David Demelier <markand@malikania.fr>
macOS 12.5 - October 29, 2019-2022