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