gd_nframes64
report the size of a Dirfile, with largefile support
- Provided by: libgetdata-doc (Version: 0.11.0-13)
- Source: libgetdata
- Report a bug
report the size of a Dirfile, with largefile support
#define GD_64BIT_API
#include <getdata.h>
gd_off64_t gd_nframes64(DIRFILE *dirfile);
This version of gd_nframes(3) uses a 64-bit offset type (gd_off64_t), where one is available, regardless of the size of off_t. It 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_nframes(3). Otherwise, gd_nframes(3) will be a version of this function which uses a 32-bit off_t.