SysTutorials

Linux Manual Pages › Section 3

mongoc_gridfs_file_get_filename(3)

mongoc_gridfs_file_get_filename() – Fetches the filename for the given gridfs file.

Synopsis

const char *
mongoc_gridfs_file_get_filename (mongoc_gridfs_file_t *file);

Parameters

file
A mongoc_gridfs_file_t \&.

Description

Fetches the filename for the given gridfs file.

Returns

A string which should not be modified or freed.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.