1MONGOC_STREAM_CLOSE(3) libmongoc MONGOC_STREAM_CLOSE(3)
23
4
NAME
6mongoc_stream_close - mongoc_stream_close()
7
SYNOPSIS
9int
10mongoc_stream_close (mongoc_stream_t *stream);
11
PARAMETERS
13• stream: A mongoc_stream_t.
1415
This function shall close underlying file-descriptors of stream.
16
RETURNS
180 on success, otherwise -1 and errno is set.
19
SEE ALSO
21mongoc_stream_destroy()
22
AUTHOR
24MongoDB, Inc
25
COPYRIGHT
272017-present, MongoDB, Inc
2829
30
31
32
1.17.6 Jun 03, 2021 MONGOC_STREAM_CLOSE(3)