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

SYNOPSIS

SYNOPSIS

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

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.25.1                           Nov 08, 2023                MONGOC_IOVEC_T(3)
Impressum