---
name: "gd_nframes64"
section: "3"
platform: "linux"
package: "libgetdata-doc"
version: "0.11.0-15"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gd_nframes64"
---

# gd\_nframes64(3)

report the size of a Dirfile, with largefile support

## NAME

gd\_nframes64 — report the size of a Dirfile, with largefile support

## SYNOPSIS

**#define GD\_64BIT\_API**\
 **#include \<getdata.h\>**

**gd\_off64\_t gd\_nframes64(DIRFILE \****dirfile***);**

## DESCRIPTION

This version of [**gd\_nframes**(3)](/gd_nframes/3.md) uses a 64-bit offset type (**gd\_off64\_t**), where one is available, regardless of the size of **off\_t**. It is only guaranteed to be available if **GD\_64BIT\_API** is defined before including getdata.h.

If **off\_t** is a 64-bit type, this function will the same as [**gd\_nframes**(3)](/gd_nframes/3.md). Otherwise, [**gd\_nframes**(3)](/gd_nframes/3.md) will be a version of this function which uses a 32-bit **off\_t**.

## SEE ALSO

[**gd\_nframes**(3)](/gd_nframes/3.md), [**feature\_test\_macros**(7)](/feature_test_macros/7.md)
