Man page - mongoc_stream_close(3)

Packages contas this manual

Manual

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.

December 18, 2025 1.30.4