1BSON_STRING_FREE(3)                 Libbson                BSON_STRING_FREE(3)
2
3
4

NAME

6       bson_string_free - bson_string_free()
7

SYNOPSIS

9          char *
10          bson_string_free (bson_string_t *string, bool free_segment);
11

PARAMETERS

13       · string: A bson_string_t.
14
15       · free_segment: A bool indicating whether string->str should be freed.
16

DESCRIPTION

18       Frees the bson_string_t structure and optionally string->str.
19

RETURNS

21       string->str if free_segment is false, otherwise NULL.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.15.2                           Nov 06, 2019              BSON_STRING_FREE(3)
Impressum