1BSON_COPY_TO(3) libbson BSON_COPY_TO(3)
23
4
SYNOPSIS
6void
7bson_copy_to (const bson_t *src, bson_t *dst);
8
PARAMETERS
10• src: A bson_t.
1112
• dst: A bson_t.
13
DESCRIPTION
15The bson_copy_to() function shall initialize dst with a copy of the
16contents of src.
1718
dst MUST be an uninitialized bson_t to avoid leaking memory.
19
AUTHOR
21MongoDB, Inc
22
COPYRIGHT
242017-present, MongoDB, Inc
2526
27
28
29
1.25.1 Nov 08, 2023 BSON_COPY_TO(3)