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

# gd\_seek64(3)

retrieve data from a Dirfile database, with largefile support

## NAME

gd\_seek64 — retrieve data from a Dirfile database, with largefile support

## SYNOPSIS

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

**gd\_off64\_t gd\_seek64(DIRFILE \****dirfile***, const char \****field\_code***,** **gd\_off64\_t** *frame\_num***, gd\_off64\_t** *sample\_num***, int** *flags***);**

## DESCRIPTION

This version of [**gd\_seek**(3)](/gd_seek/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 one defines **GD\_64BIT\_API** before including getdata.h.

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

## SEE ALSO

[**gd\_seek**(3)](/gd_seek/3.md)
