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

# gd\_putdata64(3)

write data to a Dirfile database, with largefile support

## NAME

gd\_putdata64 — write data to a Dirfile database, with largefile support

## SYNOPSIS

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

**size\_t gd\_putdata64(DIRFILE \****dirfile***, const char \****field\_code***,** **gd\_off64\_t** *first\_frame***, gd\_off64\_t** *first\_sample***, size\_t**  *num\_frames***, size\_t** *num\_samples***, gd\_type\_t** *data\_type***,** **const void \****data\_out***);**

## DESCRIPTION

This version of [**gd\_putdata**(3)](/gd_putdata/3.md) uses an explicitly 64-bit offset type (**gd\_off64\_t**), 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\_putdata**(3)](/gd_putdata/3.md). Otherwise, [**gd\_putdata**(3)](/gd_putdata/3.md) will be a version of this function which uses a 32-bit **off\_t**.

## SEE ALSO

[**gd\_putdata**(3)](/gd_putdata/3.md)
