cdb_datapos(3)

πŸ“¦
version 0.34 Β· 2 versions
  • 0.34 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.30 Β· fedora 43, fedora 44, ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– cdb_datapos(3) πŸ’–

okay bestie, welcome to the cdb_datapos(3) page from the Library Functions Manual ✨ it's giving "tiny function, big main character energy" and we're gonna vibe through it together 🫢


✨ NAME ✨

cdb_datapos β€” get the position of data, periodt πŸ’…


πŸ“š SYNTAX πŸ“š

lowkey the whole setup is right here, no cap:

#include <libowfat/cdb.h>

uint32 cdb_datapos(struct cdb *c);

copy it exactly bestie, don't freestyle the types πŸ”₯


🌸 DESCRIPTION 🌸

so cdb_datapos returns the position of the data associated with the last key you looked up using cdb_find or cdb_findnext. that's it. that's the whole serve. πŸ‘‘

and if you're sitting there like "okay but how long is the data tho?" β€” use cdb_datalen to get the length of the data. bestie duo fr fr 🫢

no extra lore here, just position. iconic behavior honestly.

πŸ‘€ SEE ALSO πŸ‘€

the little family reunion, keep it cute:


that's the whole page, bestie! signing off from the Library Functions Manual, cdb_datapos(3) β€” no date in sight, she's timeless πŸ’–βœ¨πŸŽ€πŸ¦‹