MONGOC_STREAM_CLOSE(3)
π MONGOC_STREAM_CLOSE(3) π
okay so bestie, welcome to libmongoc's very own MONGOC_STREAM_CLOSE(3) page β yes that's the manual name, we're not copying the header line, we're just vibing with it β¨
πΈ SYNOPSIS πΈ
int
mongoc_stream_close (mongoc_stream_t *stream);
like, that's the whole signature. one function. one int. gorgeous.
π PARAMETERS π
streamβ amongoc_stream_t. that's it. that's the parameter. she's the main character here bestie π
π¦ DESCRIPTION π¦
so what does this iconic little function actually do? this function shall close underlying file-descriptors of stream. periodt. that's the whole job. it goes in, it closes the file-descriptors underneath your stream, and it leaves. no notes. π
β¨ RETURNS β¨
0 on success π β otherwise -1 and errno is set π (yes, errno, the classic, you know her, you've met her).
SEE ALSO: mongoc_stream_destroy() β go read that one next, iykyk π«Ά
π AUTHOR π
MongoDB, Inc β fr fr, they made this.
π COPYRIGHT π
2009-present, MongoDB, Inc. β like, all the years. iconic.
and that's the page, bestie!! π version 2.5.6, dated Oct 09, 2026 β go forth and close those streams responsibly, mwah ππ¦
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms