BUF_CLEAR(3) - Library Functions Manual

NAME

buf_clear - clear the buffer

SYNOPSIS

#include <buf.h>

void
buf_clear(struct buf *b);

DESCRIPTION

This function only change the string length, use buf_shrink(3) if you want to reduce memory usage.

SEE ALSO

libbuf(3), buf_shrink(3)

AUTHORS

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

macOS 13.5 - October 29, 2019-2022