Man page - mongoc_write_concern_get_wtimeout_int64(3)

Packages contas this manual

Manual

MONGOC_WRITE_CONCERN_GET_WTIMEOUT_INT64(3) libmongoc MONGOC_WRITE_CONCERN_GET_WTIMEOUT_INT64(3)

int64_t
mongoc_write_concern_get_wtimeout_int64 (const mongoc_write_concern_t *write_concern);


write_concern: A mongoc_write_concern_t.

Get the timeout in milliseconds that the server should wait before returning with a write concern timeout.

A value of 0 indicates no write timeout.

Returns a 64-bit signed integer containing the timeout.

SEE ALSO:

mongoc_write_concern_set_wtimeout_int64().



MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4