int32_t mongoc_write_concern_get_wtimeout (const mongoc_write_concern_t *write_concern);
Fetches the write timeout to use as part of the write concern. If the write has not completed before this timeout, an error will be returned.
A value of 0 indicates no write timeout.
Returns an 32-bit signed integer containing the timeout.