DOKK / manpages / debian 13 / libmongoc-doc / mongoc_stream_close.3.en
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

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4