1BSON_STRING_NEW(3)                  Libbson                 BSON_STRING_NEW(3)
2
3
4

NAME

6       bson_string_new - bson_string_new()
7

SYNOPSIS

9          bson_string_t *
10          bson_string_new (const char *str);
11

PARAMETERS

13       · str: A string to be copied or NULL.
14

DESCRIPTION

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

RETURNS

21       A   newly   allocated   bson_string_t   that   should   be  freed  with
22       bson_string_free() when no longer in use.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.15.2                           Nov 06, 2019               BSON_STRING_NEW(3)
Impressum