BUF_INIT(3) - Library Functions Manual

NAME

buf_init - initialize a buffer

SYNOPSIS

#include <buf.h>

void
buf_init(struct buf *b);

DESCRIPTION

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.

SEE ALSO

libbuf(3), buf_finish(3)

AUTHORS

The libbuf library was written by David Demelier <markand@malikania.fr>

macOS 13.5 - October 29, 2019-2022