1MONGOC_GRIDFS_FILE_WRITEV(3)       libmongoc      MONGOC_GRIDFS_FILE_WRITEV(3)
2
3
4

SYNOPSIS

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

PARAMETERS

13file: A mongoc_gridfs_file_t.
14
15iov: An array of mongoc_iovec_t.
16
17iovcnt: The number of elements in iov.
18
19timeout_msec: Unused.
20

DESCRIPTION

22       Performs a gathered write to the underlying gridfs file.
23
24       The timeout_msec parameter is unused.
25
26       Modifying  GridFS  files is NOT thread-safe. Only one thread or process
27       can access a GridFS file while it is being modified.
28

RETURNS

30       Returns  the  number  of  bytes  written,  or  -1   on   failure.   Use
31       mongoc_gridfs_file_error() to retrieve error details.
32

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.25.1                           Nov 08, 2023     MONGOC_GRIDFS_FILE_WRITEV(3)
Impressum