1BSON_COPY(3)                        libbson                       BSON_COPY(3)
2
3
4

NAME

6       bson_copy - bson_copy()
7

SYNOPSIS

9          bson_t *
10          bson_copy (const bson_t *bson);
11

PARAMETERS

13       ยท bson: A bson_t.
14

DESCRIPTION

16       The  bson_copy()  function  shall  copy the contents of a bson document
17       into a new bson_t.
18
19       The resulting bson_t should be freed with bson_destroy().
20

RETURNS

22       A newly allocated bson_t that should be freed with bson_destroy().
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.16.2                           Feb 25, 2020                     BSON_COPY(3)
Impressum