1MONGOC_STREAM_WRITEV(3) libmongoc MONGOC_STREAM_WRITEV(3)
2
3
4
6 ssize_t
7 mongoc_stream_writev (mongoc_stream_t *stream,
8 mongoc_iovec_t *iov,
9 size_t iovcnt,
10 int32_t timeout_msec);
11
13 • stream: A mongoc_stream_t.
14
15 • iov: A vector of mongoc_iovec_t.
16
17 • iovcnt: The number of items in iov.
18
19 • timeout_msec: The number of milliseconds to block before indicating
20 failure, or 0 for non-blocking. Negative values indicate the default
21 timeout.
22
23 The mongoc_stream_writev() function shall perform a write to a
24 mongoc_stream_t. It's modeled on the API and semantics of writev(),
25 though the parameters map only loosely.
26
28 The number of bytes written on success, or -1 upon failure and errno is
29 set.
30
32 MongoDB, Inc
33
35 2017-present, MongoDB, Inc
36
37
38
39
401.25.1 Nov 08, 2023 MONGOC_STREAM_WRITEV(3)