1get_frameoffset64(3) GETDATA get_frameoffset64(3)
2
3
4
6 get_frameoffset64, dirfile_alter_frameoffset64 — report or change the
7 frame offset of fields in a dirfile, with largefile support
8
10 #define _LARGEFILE64_SOURCE
11
12 #include <getdata.h>
13
14 off64_t get_frameoffset(DIRFILE *dirfile, int fragment_index);
15
16 int dirfile_alter_frameoffset64(DIRFILE *dirfile, off64_t offset, int
17 fragment_index, int move);
18
20 These version of get_frameoffset(3) and dirfile_alter_frameoffset(3)
21 use a 64-bit offset type, even if off_t is a 32-bit type. They are on‐
22 ly available if the caller defines _LARGEFILE64_SOURCE before including
23 getdata.h.
24
25 If off_t is a 64-bit type (i.e. if _FILE_OFFSET_BITS is defined to be
26 64), these function will be called get_frameoffset() and dirfile_al‐
27 ter_frameoffset(). Otherwise, get_frameoffset() and dirfile_al‐
28 ter_frameoffset() will be versions of these functions which use a
29 32-bit off_t.
30
32 dirfile_alter_frameoffset(3), get_frameoffset(3), fea‐
33 ture_test_macros(7)
34
35
36
37Version 0.5.0 22 December 2008 get_frameoffset64(3)