table of contents
other versions
- bookworm 1.23.1-1
- testing 1.26.0-1
- unstable 1.26.1-1
- experimental 1.26.0-1.1~exp1
BSON_VSNPRINTF(3) | libbson | BSON_VSNPRINTF(3) |
NAME¶
bson_vsnprintf - bson_vsnprintf()
SYNOPSIS¶
int bson_vsnprintf (char *str, size_t size, const char *format, va_list ap)
BSON_GNUC_PRINTF (3, 0);
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¶
2017-present, MongoDB, Inc
August 31, 2022 | 1.23.0 |