tai_unpack(3)
π tai_unpack β from the Library Functions Manual, bestie π
okay so this is a page from the Library Functions Manual, and it's about one lil function called tai_unpack, and honestly? it's giving "tiny but mighty" energy. no cap. let's get into it. π«Ά
β¨ NAME β¨
tai_unpack β convert to external TAI64 format
like yes, that's the whole name section, it's short, it ate, periodt. π
πΈ SYNTAX πΈ
#include <libowfat/tai.h>
extern int tai_unpack(const char* buf,struct tai* t);
so you gotta pull in <libowfat/tai.h> first, that's non-negotiable bestie, and then the function itself is declared extern, returns an int, and takes exactly two things:
const char* bufβ the buffer, and it'sconstso we're reading it, not messing with it, we respect it πstruct tai* tβ a pointer to astruct tai, this is where the good stuff lands
π¦ DESCRIPTION π¦
okay so here's the tea β:
tai_unpack converts a TAI64 label from external TAI64 format sitting in buf into internal format in t.
that's it. that's the function. it takes the outside-world version of a TAI64 label and unpacks it into the internal representation so your code can actually use it. lowkey iconic that a whole manpage can be this chill. π
tiny reminder from me to you: it'sbufgoing in,tcoming out. don't get them twisted or the vibe check will be failed. π
π SEE ALSO π
go read those too, fr fr, they're the rest of the squad. π
and that's the whole page, bestie!! the footer of this manual is literally just tai_unpack(3) again β no version, no date, just the name doing a little encore at the bottom of the terminal. π¦β¨ so like, the manual is the Library Functions Manual version, and that's all she wrote. slay. π
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms