mongoc_stream_close − mongoc_stream_close()
int mongoc_stream_close (mongoc_stream_t *stream);
• |
stream: A mongoc_stream_t. |
This function shall close underlying file−descriptors of stream.
0 on success, otherwise −1 and errno is set.
SEE ALSO:
mongoc_stream_destroy()
MongoDB, Inc
2017-present, MongoDB, Inc