1BSON_STRING_FREE(3)                 libbson                BSON_STRING_FREE(3)
2
3
4

SYNOPSIS

6          char *
7          bson_string_free (bson_string_t *string, bool free_segment);
8

PARAMETERS

10string: A bson_string_t.
11
12free_segment: A bool indicating whether string->str should be freed.
13

DESCRIPTION

15       Frees the bson_string_t structure and optionally string->str.
16

RETURNS

18       string->str if free_segment is false, otherwise NULL.
19

AUTHOR

21       MongoDB, Inc
22
24       2017-present, MongoDB, Inc
25
26
27
28
291.25.1                           Nov 08, 2023              BSON_STRING_FREE(3)
Impressum