void
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_COPY_TO(3)
Description
The bson_copy_to() function shall initialize dst with a copy of the contents of src.
dstMUST be an uninitialized bson_t to avoid leaking memory.
Parameters
• src: A bson_t.
• dst: A bson_t.
Synopsis
void
bson_copy_to (const bson_t *src, bson_t *dst);
