1BSON_REINIT(3) Libbson BSON_REINIT(3)
23
4
NAME
6bson_reinit - bson_reinit()
7
SYNOPSIS
9void
10bson_reinit (bson_t *b);
11
PARAMETERS
13ยท b: A bson_t.
14
DESCRIPTION
16Reinitializes a bson_t.
1718
If the bson_t structure contains a malloc()'d buffer, it may be reused.
19To be certain that any buffer is freed, always call bson_destroy on any
20bson_t structure, whether initialized or reinitialized, after its final
21use.
22
AUTHOR
24MongoDB, Inc
25
COPYRIGHT
272017-present, MongoDB, Inc
2829
30
31
32
1.15.2 Nov 06, 2019 BSON_REINIT(3)