gd_framenum_subset64(3)
π gd_framenum_subset64 π
okay bestie, so gd_framenum_subset64 is a manual page from GETDATA, and it's all about doing a reverse look-up on a monotonic Dirfile field, but with largefile support. yes she's fancy. π
β¨ NAME β¨
gd_framenum_subset64 β perform a reverse look-up on a monotonic Dirfile field, with largefile support.
πΈ SYNOPSIS πΈ
#define GD_64BIT_API
#include <getdata.h>
double gd_framenum_subset64(DIRFILE *dirfile, const char *field_code,
double value, gd_off64_t field_start, gd_off64_t field_end);
like, copy that exactly, don't freestyle it π«Ά
π¦ DESCRIPTION π¦
so this version of gd_framenum_subset(3) uses a 64-bit offset type (gd_off64_t) β wherever one is actually available β and it does that regardless of the size of off_t. the way it just does not care about off_t's whole situation. iconic honestly. π
lowkey important: it's only guaranteed to be available ifGD_64BIT_APIis defined before includinggetdata.h. so define it first, bestie, or don't come crying to me π
and here's the vibe: if off_t is a 64-bit type, then this function will be the same as gd_framenum_subset(3). otherwise, gd_framenum_subset(3) will be a version of this function which uses a 32-bit off_t. it's giving "same function, different era" β¨
π SEE ALSO π
Version 0.10.0 πΈ 25 December 2016 β that's the source and the date, and that's the whole page, bestie. go do a reverse look-up, you got this. mwah ππ«Άπ
π¦ where this page comes from
- debian bookworm: libgetdata-doc 0.11.0-6
- debian trixie: libgetdata-doc 0.11.0-15
- fedora 43: getdata-devel 0.11.0-13.fc43 Β· GPL-2.0-or-later
- fedora 43: getdata-devel 0.11.0-13.fc43 Β· GPL-2.0-or-later
- fedora 44: getdata-devel 0.11.0-14.fc44 Β· GPL-2.0-or-later
- fedora 44: getdata-devel 0.11.0-14.fc44 Β· GPL-2.0-or-later
- nixos 26.05: getdata 0.11.0
- nixpkgs unstable: getdata 0.11.0
- ubuntu jammy: libgetdata-doc 0.11.0-3ubuntu1
- ubuntu noble: libgetdata-doc 0.11.0-13
- ubuntu questing: libgetdata-doc 0.11.0-15
- ubuntu resolute: libgetdata-doc 0.11.0-17build1
- ubuntu stonking: libgetdata-doc 0.11.0-17build2
- Copyright (C) 2016 D. V. Wiebe
- Copyright (C) 2008, 2010, 2012, 2016 D.V. Wiebe
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms