BUF_VPRINTF(3) - Library Functions Manual

NAME

buf_vprintf - write a to a buffer using printf(3) like format

SYNOPSIS

#include <buf.h>

bool
buf_vprintf(struct buf *b, const char *fmt, va_list ap);

DESCRIPTION

This function is the synonym of buf_printf() but use a va_list argument instead.

See buf_printf(3) for more details.

RETURN VALUE

The buf_vprintf() function returns false in case of error and errno is set to indicate the error.

ERRORS

[ENOMEM]

Couldn’t allocate more memory.

SEE ALSO

libbuf(3), buf_printf(3)

AUTHORS

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

Mac OS X 10.15 - October 29, 2019-2020