mongoc_write_concern_t *
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_WRITE_CONCERN_COPY(3)
Description
Performs a deep copy of write_concern.
Parameters
• write_concern: A mongoc_write_concern_t.
Returns
Returns a newly allocated copy of write_concern that should be freed with mongoc_write_concern_destroy()
when no longer in use.
Synopsis
mongoc_write_concern_t *
mongoc_write_concern_copy (const mongoc_write_concern_t *write_concern);
