gd_putdata64(3)

πŸ’Ύ gd_putdata64(3) β€” the GETDATA girlies' guide ✨

okay so bestie, welcome to gd_putdata64 from the GETDATA manual πŸ’– this one's the big-offset sibling of gd_putdata(3), and she's here to write data to a Dirfile database with largefile support. no cap. 🫢


🌸 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);

like, look at her. eight whole arguments. main character energy fr fr πŸ‘‘


πŸ’œ DESCRIPTION πŸ’œ

so this version of gd_putdata(3) uses an explicitly 64-bit offset type (gd_off64_t), regardless of the size of off_t. the way she just decides to be 64-bit no matter what off_t is doing? iconic. πŸŽ€

heads up bestie: she's only guaranteed to be available if GD_64BIT_API is defined before including getdata.h. so define it. do it. don't skip it. 😭

and if off_t is a 64-bit type, this function will be the same as gd_putdata(3) πŸ¦‹ otherwise, gd_putdata(3) will be a version of this function which uses a 32-bit off_t. yeah. she's the blueprint. 🌈


πŸ¦‹ SEE ALSO πŸ¦‹

  • gd_putdata(3) β€” her sister, the one that respects whatever off_t you've got going on πŸ’–

Version 0.10.0 Β· 25 December 2016 β€” yeah she's a lil vintage but she still slays, and that's the whole vibe check. mwah πŸ’…πŸ’–βœ¨πŸŒΈπŸŽ€