1BSON_SNPRINTF(3)                    libbson                   BSON_SNPRINTF(3)
2
3
4

SYNOPSIS

6          int
7          bson_snprintf (char *str, size_t size, const char *format, ...)
8             BSON_GNUC_PRINTF (3, 4);
9

PARAMETERS

11str: The destination buffer.
12
13size: The size of str.
14
15format: A printf style format string.
16

DESCRIPTION

18       This is a portable wrapper around snprintf(). It also enforces a trail‐
19       ing \0 in the resulting string.
20

RETURNS

22       The number of bytes written to str.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.25.1                           Nov 08, 2023                 BSON_SNPRINTF(3)
Impressum