1MONGOC_STREAM_WRITEV(3) libmongoc MONGOC_STREAM_WRITEV(3)
2
3
4
6 mongoc_stream_writev - mongoc_stream_writev()
7
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
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
27 mongoc_stream_t. It's modeled on the API and semantics of writev(),
28 though the parameters map only loosely.
29
31 The number of bytes written on success, or -1 upon failure and errno is
32 set.
33
35 MongoDB, Inc
36
38 2017-present, MongoDB, Inc
39
40
41
42
431.24.3 Aug 17, 2023 MONGOC_STREAM_WRITEV(3)