int32_t
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_WRITE_CONCERN_GET_WTIMEOUT(3)
Description
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.
Parameters
• write_concern: A mongoc_write_concern_t.
Returns
Returns an 32-bit signed integer containing the timeout.
SEEALSO:mongoc_write_concern_set_wtimeout() and mongoc_write_concern_get_wtimeout_int64().
Synopsis
int32_t
mongoc_write_concern_get_wtimeout (const mongoc_write_concern_t *write_concern);
