DOKK / manpages / debian 11 / libmongoc-doc / mongoc_gridfs_file_list_next.3.en
MONGOC_GRIDFS_FILE_LIST_NEXT(3) libmongoc MONGOC_GRIDFS_FILE_LIST_NEXT(3)

mongoc_gridfs_file_list_next - mongoc_gridfs_file_list_next()

mongoc_gridfs_file_t *
mongoc_gridfs_file_list_next (mongoc_gridfs_file_list_t *list);


list: A mongoc_gridfs_file_list_t.

This function shall iterate the underlying gridfs file list, returning the next file each iteration. This is a blocking function.

A newly allocated mongoc_gridfs_file_t that should be freed with mongoc_gridfs_file_destroy() when no longer in use.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6