BUF_VPRINTF(3) - Library Functions Manual

NAME

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

SYNOPSIS

#include <buf.h>

int
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 -1 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>

macOS 13.5 - October 29, 2019-2022