1BSON_VSNPRINTF(3) libbson BSON_VSNPRINTF(3)
2
3
4
6 bson_vsnprintf - bson_vsnprintf()
7
9 int
10 bson_vsnprintf (char *str, size_t size, const char *format, va_list ap)
11 BSON_GNUC_PRINTF (3, 0);
12
14 • str: A location for the resulting string.
15
16 • size: The size of str in bytes.
17
18 • format: A printf style format string.
19
20 • ap: A va_list of parameters for the format.
21
23 Like bson_snprintf() but allows for variadic parameters.
24
26 The number of bytes written to str excluding the \0 byte.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.20.0 Nov 18, 2021 BSON_VSNPRINTF(3)