table of contents
gd_frameoffset64(3) | GETDATA | gd_frameoffset64(3) |
NAME¶
gd_frameoffset64, gd_alter_frameoffset64 — report or change the frame offset of fields in a dirfile, with largefile supportSYNOPSIS¶
#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¶
These versions of gd_frameoffset(3) and gd_alter_frameoffset(3) use a 64-bit offset type (gd_off64_t), where one is available, regardless of the size of off_t. They are only available if one defines GD_64BIT_API or _LARGEFILE64_SOURCE before including getdata.h.If off_t is a 64-bit type (possibly because _FILE_OFFSET_BITS has been defined to 64), 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.
SEE ALSO¶
gd_alter_frameoffset(3), gd_frameoffset(3), feature_test_macros(7)25 May 2012 | Version 0.8.0 |