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

# gd\_bof64(3)

find the start of data in a Dirfile field, with largefile support

## NAME

gd\_bof64 — find the start of data in a Dirfile field, with largefile support

## SYNOPSIS

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

**gd\_off64\_t gd\_bof64(DIRFILE \****dirfile***, const char \****field\_code***);**

## DESCRIPTION

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

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

## SEE ALSO

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