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

NAME

6       bson_reinit - bson_reinit()
7

SYNOPSIS

9          void
10          bson_reinit (bson_t *b);
11

PARAMETERS

13b: A bson_t.
14

DESCRIPTION

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 any
20       bson_t structure, whether initialized or reinitialized, after its final
21       use.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.21.1                           Mar 02, 2022                   BSON_REINIT(3)
Impressum