1MONGOC_STREAM_CORK(3)              libmongoc             MONGOC_STREAM_CORK(3)
2
3
4

NAME

6       mongoc_stream_cork - mongoc_stream_cork()
7

SYNOPSIS

9          int
10          mongoc_stream_cork (mongoc_stream_t *stream);
11

PARAMETERS

13       ยท stream: A mongoc_stream_t.
14
15       This  function  shall  prevent  the  writing of bytes to the underlying
16       socket.
17
18       NOTE:
19          Not all streams implement this function. Buffering  generally  works
20          better.
21

RETURNS

23       0 on success, -1 on failure and errno is set.
24

SEE ALSO

26       mongoc_stream_buffered_new().
27
28       mongoc_stream_uncork().
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.16.2                           Feb 25, 2020            MONGOC_STREAM_CORK(3)
Impressum