BSON_VSNPRINTF(3)

NAME
bson_vsnprintf()

SYNOPSIS
int
bson_vsnprintf (char       *str,
                size_t      size,
                const char *format,
                va_list     ap) BSON_GNUC_PRINTF (3, 0);

PARAMETERS

.B str
    A location for the resulting string.

.B size
    The size of str in bytes.

.B format
    A printf style format string.

.B ap
    A va_list of parameters for the format.

DESCRIPTION
Like bson_snprintf() but allows for variadic parameters.

RETURNS
The number of bytes written to str excluding the byte.

COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.