1BSON_STRING_NEW(3) libbson BSON_STRING_NEW(3)
2
3
4
6 bson_string_t *
7 bson_string_new (const char *str);
8
10 • str: A string to be copied or NULL.
11
13 Creates a new string builder, which uses power-of-two growth of buf‐
14 fers. Use the various bson_string_append*() functions to append to the
15 string.
16
18 A newly allocated bson_string_t that should be freed with
19 bson_string_free() when no longer in use.
20
22 MongoDB, Inc
23
25 2017-present, MongoDB, Inc
26
27
28
29
301.25.1 Nov 08, 2023 BSON_STRING_NEW(3)