BUF_INIT(3) - Library Functions Manual
buf_init - initialize a buffer
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.
The libbuf library was written by David Demelier <firstname.lastname@example.org>
Mac OS X 10.15 - October 29, 2019-2020