DOKK / manpages / debian 13 / libmongoc-doc / mongoc_write_concern_get_fsync.3.en
MONGOC_WRITE_CONCERN_GET_FSYNC(3) libmongoc MONGOC_WRITE_CONCERN_GET_FSYNC(3)

WARNING:

Deprecated since version 1.4.0: Use mongoc_write_concern_get_journal() instead.



bool
mongoc_write_concern_get_fsync (const mongoc_write_concern_t *write_concern);


write_concern: A mongoc_write_concern_t.

Fetches if an fsync should be performed before returning success on a write operation.

Returns true if fsync is set as part of the write concern.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4