table of contents
other versions
- bookworm 1.23.1-1
- testing 1.26.0-1
- unstable 1.26.1-1
- experimental 1.26.0-1.1~exp1
BSON_REINIT(3) | libbson | BSON_REINIT(3) |
NAME¶
bson_reinit - bson_reinit()
SYNOPSIS¶
void bson_reinit (bson_t *b);
PARAMETERS¶
- •
- b: A bson_t.
DESCRIPTION¶
Reinitializes a bson_t.
If the bson_t structure contains a malloc()'d buffer, it may be reused. To be certain that any buffer is freed, always call bson_destroy() on any bson_t structure, whether initialized or reinitialized, after its final use.
AUTHOR¶
MongoDB, Inc
COPYRIGHT¶
2017-present, MongoDB, Inc
August 31, 2022 | 1.23.0 |