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

NAME

6       mongoc_gridfs_file_writev - mongoc_gridfs_file_writev()
7

SYNOPSIS

9          ssize_t
10          mongoc_gridfs_file_writev (mongoc_gridfs_file_t *file,
11                                     const mongoc_iovec_t *iov,
12                                     size_t iovcnt,
13                                     uint32_t timeout_msec);
14

PARAMETERS

16file: A mongoc_gridfs_file_t.
17
18iov: An array of mongoc_iovec_t.
19
20iovcnt: The number of elements in iov.
21
22timeout_msec: Unused.
23

DESCRIPTION

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

RETURNS

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

AUTHOR

37       MongoDB, Inc
38
40       2017-present, MongoDB, Inc
41
42
43
44
451.24.3                           Aug 17, 2023     MONGOC_GRIDFS_FILE_WRITEV(3)
Impressum