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