1MONGOC_STREAM_FLUSH(3) libmongoc MONGOC_STREAM_FLUSH(3)
2
3
4
6 mongoc_stream_flush - mongoc_stream_flush()
7
9 int
10 mongoc_stream_flush (mongoc_stream_t *stream);
11
13 • stream: A mongoc_stream_t.
14
15 This function shall flush any buffered bytes in the underlying stream
16 to the physical transport. It mimics the API and semantics of fflush(),
17 forcing a write of user space buffered data.
18
19 Not all stream implementations may implement this feature.
20
22 0 is returned on success, otherwise -1 and errno is set.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.23.1 Oct 20, 2022 MONGOC_STREAM_FLUSH(3)