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

PARAMETERS

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

DESCRIPTION

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

RETURNS

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

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.16.2                           Feb 25, 2020     MONGOC_GRIDFS_CREATE_FILE(3)
Impressum