1BSON_STRING_NEW(3)                  libbson                 BSON_STRING_NEW(3)
2
3
4

SYNOPSIS

6          bson_string_t *
7          bson_string_new (const char *str);
8

PARAMETERS

10str: A string to be copied or NULL.
11

DESCRIPTION

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

RETURNS

18       A   newly   allocated   bson_string_t   that   should   be  freed  with
19       bson_string_free() when no longer in use.
20

AUTHOR

22       MongoDB, Inc
23
25       2017-present, MongoDB, Inc
26
27
28
29
301.25.1                           Nov 08, 2023               BSON_STRING_NEW(3)
Impressum