Scroll to navigation

gd_framenum_subset64(3) GETDATA gd_framenum_subset64(3)

NAME

gd_framenum_subset64 — perform a reverse look-up on a monotonic dirfile field, with largefile support.

SYNOPSIS

#define GD_64BIT_API
#include <getdata.h>

double gd_framenum_subset64(DIRFILE *dirfile, const char *field_code, double value, gd_off64_t field_start, gd_off64_t field_end);

DESCRIPTION

This version of gd_framenum_subset(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_framenum_subset(3). Otherwise, gd_framenum_subset(3) will be a version of this function which uses a 32-bit off_t.

SEE ALSO

gd_framenum_subset(3), feature_test_macros(7)
25 May 2012 Version 0.8.0