Man page - mongoc_gridfs_file_get_content_type(3)

Packages contas this manual

Manual

MONGOC_GRIDFS_FILE_GET_CONTENT_TYPE(3) libmongoc MONGOC_GRIDFS_FILE_GET_CONTENT_TYPE(3)

const char *
mongoc_gridfs_file_get_content_type (mongoc_gridfs_file_t *file);


file: A mongoc_gridfs_file_t.

Fetches the content type specified for the underlying file.

Returns a string which should not be modified or freed.

MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4