1BSON_REINIT(3) libbson BSON_REINIT(3)
2
3
4
6 bson_reinit - bson_reinit()
7
9 void
10 bson_reinit (bson_t *b);
11
13 • b: A bson_t.
14
16 Reinitializes a bson_t.
17
18 If the bson_t structure contains a malloc()'d buffer, it may be reused.
19 To be certain that any buffer is freed, always call bson_destroy() on
20 any bson_t structure, whether initialized or reinitialized, after its
21 final use.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.24.3 Aug 17, 2023 BSON_REINIT(3)