Provided by: libgetdata-doc_0.9.0-2.2_all
NAME
gd_putdata64 — write data to a dirfile database, with largefile support
SYNOPSIS
#define GD_64BIT_API #include <getdata.h> size_t gd_putdata64(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 data_type, const void *data_out);
DESCRIPTION
This version of gd_putdata(3) uses a 64-bit offset type (gd_off64_t), where one is available, regardless of the size of off_t. It is 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), this function will the same as gd_putdata(3). Otherwise, gd_putdata(3) will be a version of this function which uses a 32-bit off_t.
SEE ALSO
gd_putdata(3), feature_test_macros(7)