gd_frameoffset64(3)

✨ gd_frameoffset64(3) ✨

okay bestie, so this is a getdata manual page, and it's giving "largefile support but make it two functions" πŸ’…

NAME

gd_frameoffset64, gd_alter_frameoffset64 β€” report or change the frame offset of fields in a dirfile, with largefile support πŸ¦‹


SYNOPSIS

#define GD_64BIT_API
#include <getdata.h>

gd_off64_t gd_frameoffset(DIRFILE *dirfile, int fragment_index);

int gd_alter_frameoffset64(DIRFILE *dirfile, gd_off64_t offset, int
       fragment_index, int move);

DESCRIPTION

So these are the 64-bit glow-up versions of gd_frameoffset(3) and gd_alter_frameoffset(3), and the whole point is that they use a 64-bit offset type (gd_off64_t), where one is available, no matter what size off_t happens to be. no cap.

heads up babes: they are only available if GD_64BIT_API has been defined before including getdata.h. that's the entry fee, iykyk πŸŽ€

If off_t is a 64-bit type, these functions will the same as gd_framenum_subset(3) and gd_alter_frameoffset(3). Otherwise, gd_framenum_subset(3) and gd_alter_frameoffset(3) will be versions of these function which use a 32-bit off_t. (yes bestie, we said it exactly like that β€” the vibes are preserved πŸ’–)


SEE ALSO


and that's the whole page, bestie!! this little icon was living its best life in getdata Version 0.10.0, dated 25 December 2016. slay, periodt. πŸ’…βœ¨πŸ«Ά