Provided by: libbson-doc_1.3.1-1_all bug

NAME

       bson_string_new()  -  Creates  a  new  string builder, which uses power-of-two growth of buffers. Use the
       various bson_string_append*() functions to append to the string.

SYNOPSIS

       bson_string_t *
       bson_string_new (const char *str);

PARAMETERS

       str    A string to be copied or NULL.

DESCRIPTION

       Creates  a  new  string  builder,  which  uses  power‐of‐two  growth  of   buffers.   Use   the   various
       bson_string_append*() functions to append to the string.

RETURNS

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

COLOPHON

       This page is part of libbson.  Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

libbson                                            2016‐01‐18                                 BSON_STRING_NEW(3)