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

16stream: A mongoc_stream_t.
17
18iov: A vector of mongoc_iovec_t.
19
20iovcnt: The number of items in iov.
21
22timeout_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

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.23.1                           Oct 20, 2022          MONGOC_STREAM_WRITEV(3)
Impressum