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

13       ยท b: 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.16.2                           Feb 25, 2020                   BSON_REINIT(3)
Impressum