MONGOC_STREAM_CLOSE(3) libmongoc MONGOC_STREAM_CLOSE(3)

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

March 31, 2024 1.26.0