---
name: "mongoc_gridfs_file_get_chunk_size"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_gridfs_file_get_chunk_size"
---

# mongoc\_gridfs\_file\_get\_chunk\_size(3)

## 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.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
