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.
1920
SEE ALSO:
21mongoc_stream_destroy()
2223
AUTHOR
25MongoDB, Inc
26
COPYRIGHT
282017-present, MongoDB, Inc
2930
31
32
33
1.20.0 Nov 18, 2021 MONGOC_STREAM_CLOSE(3)