Provided by: libbson-doc_2.2.1-1_all 

SYNOPSIS
int
bson_vsnprintf (char *str, size_t size, const char *format, va_list ap);
PARAMETERS
• str: A location for the resulting string.
• size: The size of str in bytes.
• format: A printf style format string.
• 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 \0 byte.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
2.2.1 Dec 11, 2025 BSON_VSNPRINTF(3)