1MONGOC_GRIDFS_CREATE_FILE(3)       libmongoc      MONGOC_GRIDFS_CREATE_FILE(3)
2
3
4

NAME

6       mongoc_gridfs_create_file - mongoc_gridfs_create_file()
7

SYNOPSIS

9          mongoc_gridfs_file_t *
10          mongoc_gridfs_create_file (mongoc_gridfs_t *gridfs,
11                                     mongoc_gridfs_file_opt_t *opt)
12             BSON_GNUC_WARN_UNUSED_RESULT;
13

PARAMETERS

15gridfs: A mongoc_gridfs_t.
16
17opt: A mongoc_gridfs_file_opt_t to specify file options.
18

DESCRIPTION

20       This function shall create a new mongoc_gridfs_file_t.
21
22       Use mongoc_gridfs_file_writev() to write to the file.
23

RETURNS

25       Returns  a  newly  allocated  mongoc_gridfs_file_t that should be freed
26       with mongoc_gridfs_file_destroy().
27

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.20.0                           Nov 18, 2021     MONGOC_GRIDFS_CREATE_FILE(3)
Impressum