DOKK / manpages / debian 13 / libmongoc-doc / mongoc_stream_destroy.3.en
MONGOC_STREAM_DESTROY(3) libmongoc MONGOC_STREAM_DESTROY(3)

void
mongoc_stream_destroy (mongoc_stream_t *stream);


stream: A mongoc_stream_t.

This function shall release all resources associated with a mongoc_stream_t, including freeing the structure. It is invalid to use stream after calling this function. Does nothing if stream is NULL.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4