1MONGOC_STREAM_FLUSH(3)             libmongoc            MONGOC_STREAM_FLUSH(3)
2
3
4

NAME

6       mongoc_stream_flush - mongoc_stream_flush()
7

SYNOPSIS

9          int
10          mongoc_stream_flush (mongoc_stream_t *stream);
11

PARAMETERS

13stream: 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

RETURNS

22       0 is returned on success, otherwise -1 and errno is set.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.17.6                           Jun 03, 2021           MONGOC_STREAM_FLUSH(3)
Impressum