Scroll to navigation

gd_getdata64(3) GETDATA gd_getdata64(3)


gd_getdata64 — retrieve data from a Dirfile database, with largefile support


#define GD_64BIT_API
#include <getdata.h>

size_t gd_getdata64(DIRFILE *dirfile, const char *field_code, gd_off64_t first_frame, gd_off64_t first_sample, size_t num_frames, size_t num_samples, gd_type_t return_type, void *data_out);


This version of gd_getdata(3) uses a 64-bit offset type (gd_off64_t), regardless of the size of off_t. This function is only guaranteed to be available if GD_64BIT_API is defined before including getdata.h.

If off_t is a 64-bit type, this function will the same as gd_getdata(3). Otherwise, gd_getdata(3) will be a version of this function which uses a 32-bit off_t.


gd_getdata(3), feature_test_macros(7)

25 December 2016 Version 0.10.0