1MONGOC_GRIDFS_FILE_READV(3)        libmongoc       MONGOC_GRIDFS_FILE_READV(3)
2
3
4

SYNOPSIS

6          ssize_t
7          mongoc_gridfs_file_readv (mongoc_gridfs_file_t *file,
8                                    mongoc_iovec_t *iov,
9                                    size_t iovcnt,
10                                    size_t min_bytes,
11                                    uint32_t timeout_msec);
12

PARAMETERS

14file: A mongoc_gridfs_file_t.
15
16iov: An array of mongoc_iovec_t.
17
18iovcnt: The number of elements in iov.
19
20min_bytes:  The minimum number of bytes that must be read or an error
21         will be synthesized.
22
23timeout_msec: Unused.
24

DESCRIPTION

26       This function performs a scattered read from file, potentially blocking
27       to read from the MongoDB server.
28
29       The timeout_msec parameter is unused.
30

RETURNS

32       Returns   the   number   of   bytes   read,   or  -1  on  failure.  Use
33       mongoc_gridfs_file_error() to retrieve error details.
34

AUTHOR

36       MongoDB, Inc
37
39       2017-present, MongoDB, Inc
40
41
42
43
441.25.1                           Nov 08, 2023      MONGOC_GRIDFS_FILE_READV(3)
Impressum