gd_tell64(3)
β¨ gd_tell64 β bestie edition β¨
okay so this is gd_tell64(3), straight out of the GETDATA manual, and it's the version of gd_tell(3) that went and got itself largefile support. she's the same girl, just with bigger pockets. π
π SYNOPSIS π
#define GD_64BIT_API
#include <getdata.h>
gd_off64_t gd_tell64(DIRFILE *dirfile, const char *field_code);
π DESCRIPTION π
So listen. This is basically gd_tell(3) but she uses an explicitly 64-bit offset type β that's gd_off64_t, bestie β and she does it no matter how big off_t happens to be. Iconic behaviour, honestly. π¦
heads up though: she's only guaranteed to be there for you ifGD_64BIT_APIis defined before you#include <getdata.h>. define it first. first!! not after. i'm serious. π
And here's the little twin-sister situation going on:
- If
off_tis already a 64-bit type, then this function is the same asgd_tell(3). literally identical, no drama, they're the same person. π - Otherwise,
gd_tell(3)becomes the version of this function that uses a 32-bitoff_t. so like, same energy, smaller container. π
periodt. that's the whole vibe. πΈ
π SEE ALSO π
and that's a wrap, my love π«Ά this page was brought to you by Version 0.10.0, dated 25 December 2016 β yes, a christmas gift, we love a festive release. 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) 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