taia_pack(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

✨ taia_pack ✨

okay bestie, welcome to the taia_pack page, from the Library Functions Manual πŸ’– it's a tiny one but it's lowkey iconic, so let's get into it 🫢


πŸ’… NAME πŸ’…

taia_pack β€” convert to external TAI64NA format ✨

fr fr that's the whole vibe: internal stuff goes in, external format comes out 🌈


πŸŽ€ SYNTAX πŸŽ€

so the way that you summon this function is literally just:

#include <libowfat/taia.h>

extern int taia_pack(char* buf,const struct taia* t);

yes, you do need that header, no you cannot skip it πŸ™ˆ copy it exactly, capitals and all, because the compiler does not play about it πŸ’€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• taia_pack converts a TAI64NA label from internal format in t to external TAI64NA format in buf. that's it. that's the function. internal ➑️ external, label in, label out, main character energy the whole way through πŸ‘‘

like, t is your internal-format label, buf is where the external-format label lands, and the conversion is the entire plot πŸ“

and if you want the full lore β€” the deep dive, the origin story, the extended universe β€” it's right here:

http://cr.yp.to/libtai/tai64.html

go read it, iykyk πŸ’œ


🌸 SEE ALSO 🌸


and that's the page!! πŸŽ‰ this lil cutie is taia_pack(3), living its best life in the Library Functions Manual β€” mwah, go convert some labels bestie πŸ’–βœ¨πŸŽ€