- MongoDB C Driver 1.9.3-dev »
- API Reference »
- mongoc_gridfs_file_t

# mongoc_gridfs_file_get_chunk_size()

## Synopsis

    int32_t
    mongoc_gridfs_file_get_chunk_size (mongoc_gridfs_file_t *file);

## Parameters

- `file`: A mongoc_gridfs_file_t.

## Description

Fetches the chunk size used with the underlying gridfs file.

## Returns

A signed 32-bit integer.

Created using Sphinx 1.6.6, based on Sphinx Readable Theme.