carta
mongoc_gridfs_create_file(3)

mongoc_gridfs_create_file3

Parameters

•

gridfs: A mongoc_gridfs_t.

•

opt: A mongoc_gridfs_file_opt_t to specify file options.

Overview

This function shall create a new mongoc_gridfs_file_t.

Use mongoc_gridfs_file_writev() to write to the file.

Returns

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

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.