table of contents
BSON_COPY_TO(3) | Library Functions Manual | BSON_COPY_TO(3) |
NAME¶
bson_copy_to() - The bson_copy_to() function shall initialize dst with a copy of the contents of src.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(3) function shall initialize dst with a copy of the contents of srcdst
MUST be an uninitialized bson_t to avoid leaking memory.
COLOPHON¶
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.2016‐10‐12 | libbson |