gd_seek64(3)
π gd_seek64 β it's the GETDATA girlies' fave, bestie π
okay so welcome to the getdata section of the manual (section 3, the library-call girlies, iykyk) and today's main character is gd_seek64, no cap π
β¨ NAME β¨
gd_seek64 β grab data out of a Dirfile database, but make it 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 πΈ
So this is literally the 64-bit-coded version of gd_seek(3), and the way that it does that is by using an offset type that is explicitly 64-bit β gd_off64_t β and it does that regardless of how big off_t is. She does not care. She is 64-bit and she's not shrinking herself for anybody π
But bestie, listen β she's only guaranteed to be available if you #define GD_64BIT_API before you #include <getdata.h>. That's the whole vibe check. Miss that and she might not show up. π«Ά
Now the plot twist:
- If
off_tis already a 64-bit type, this function will be the same asgd_seek(3). Same girl, different name tag π - Otherwise,
gd_seek(3)is a version of this function that uses a 32-bitoff_t. So she's like the little sister version. Still iconic, just smaller. π§
π SEE ALSO π
Version 0.10.0 π and it was born on 25 December 2016 β a lil Christmas gift from the getdata girlies to you π mwah, that's a wrap, go read your Dirfile data fr fr πβ¨
π¦ 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) 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