1MONGOC_IOVEC_T(3)                  libmongoc                 MONGOC_IOVEC_T(3)
2
3
4

NAME

6       mongoc_iovec_t - mongoc_iovec_t
7

SYNOPSIS

SYNOPSIS

10          #include <mongoc/mongoc.h>
11
12          #ifdef _WIN32
13          typedef struct {
14             u_long iov_len;
15             char *iov_base;
16          } mongoc_iovec_t;
17          #else
18          typedef struct iovec mongoc_iovec_t;
19          #endif
20
21       The mongoc_iovec_t structure is a portability abstraction for consumers
22       of the mongoc_stream_t interfaces. It  allows  for  scatter/gather  I/O
23       through the socket subsystem.
24
25       WARNING:
26          When  writing  portable  code, beware of the ordering of iov_len and
27          iov_base as they are different on various platforms. Therefore,  you
28          should not use C initializers for initialization.
29

AUTHOR

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