| BSON_COPY_TO(3) | libbson | BSON_COPY_TO(3) |
void bson_copy_to (const bson_t *src, bson_t *dst);
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.
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |