1MONGOC_STREAM_WRITEV(3)            libmongoc           MONGOC_STREAM_WRITEV(3)
2
3
4

NAME

6       mongoc_stream_writev - mongoc_stream_writev()
7

SYNOPSIS

9          ssize_t
10          mongoc_stream_writev (mongoc_stream_t *stream,
11                                mongoc_iovec_t *iov,
12                                size_t iovcnt,
13                                int32_t timeout_msec);
14

PARAMETERS

16       · stream: A mongoc_stream_t.
17
18       · iov: A vector of mongoc_iovec_t.
19
20       · iovcnt: The number of items in iov.
21
22       · timeout_msec:  The  number of milliseconds to block before indicating
23         failure, or 0 for non-blocking. Negative values indicate the  default
24         timeout.
25
26       The  mongoc_stream_writev()  function  shall  perform a write to a mon‐
27       goc_stream_t. It's modeled on the API and semantics of writev(), though
28       the parameters map only loosely.
29

RETURNS

31       The number of bytes written on success, or -1 upon failure and errno is
32       set.
33

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.16.2                           Feb 25, 2020          MONGOC_STREAM_WRITEV(3)
Impressum