1BSON_REINIT(3)                      libbson                     BSON_REINIT(3)
2
3
4

SYNOPSIS

6          void
7          bson_reinit (bson_t *b);
8

PARAMETERS

10b: A bson_t.
11

DESCRIPTION

13       Reinitializes a bson_t.
14
15       If the bson_t structure contains a malloc()'d buffer, it may be reused.
16       To be certain that any buffer is freed, always call  bson_destroy()  on
17       any  bson_t  structure, whether initialized or reinitialized, after its
18       final use.
19

AUTHOR

21       MongoDB, Inc
22
24       2017-present, MongoDB, Inc
25
26
27
28
291.25.1                           Nov 08, 2023                   BSON_REINIT(3)
Impressum