1BSON_VSNPRINTF(3)                   libbson                  BSON_VSNPRINTF(3)
2
3
4

NAME

6       bson_vsnprintf - bson_vsnprintf()
7

SYNOPSIS

9          int
10          bson_vsnprintf (char *str, size_t size, const char *format, va_list ap)
11             BSON_GNUC_PRINTF (3, 0);
12

PARAMETERS

14str: A location for the resulting string.
15
16size: The size of str in bytes.
17
18format: A printf style format string.
19
20ap: A va_list of parameters for the format.
21

DESCRIPTION

23       Like bson_snprintf() but allows for variadic parameters.
24

RETURNS

26       The number of bytes written to str excluding the \0 byte.
27

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.20.0                           Nov 18, 2021                BSON_VSNPRINTF(3)
Impressum