bson_copy_to - Man Page
bson_copy_to()
Synopsis
void bson_copy_to (const bson_t *src, bson_t *dst);
Parameters
- src: A bson_t.
- dst: A bson_t.
Description
The bson_copy_to() function shall initialize dst with a copy of the contents of src.
dst MUST be an uninitialized bson_t to avoid leaking memory.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
May 09, 2023 1.23.4 libbson