bson_string_free(3)

bson_string_free3

Usage

char *
bson_string_free (bson_string_t *string, bool free_segment);

WARNING:

Deprecated since version 1.29.0.

Parameters

•

string: A bson_string_t.

•

free_segment: A bool indicating whether string->str should be freed.

Overview

Frees the bson_string_t structure and optionally string->str.

Returns

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

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.