Scroll to navigation

MONGOC_GRIDFS_FILE_LIST_NEXT(3) libmongoc MONGOC_GRIDFS_FILE_LIST_NEXT(3)

SYNOPSIS

mongoc_gridfs_file_t *
mongoc_gridfs_file_list_next (mongoc_gridfs_file_list_t *list);


PARAMETERS

list: A mongoc_gridfs_file_list_t <>.

DESCRIPTION

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

RETURNS

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

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0