tai_sub(3)

๐Ÿ“ฆ
version 0.34 ยท 2 versions
, 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

๐ŸŒธ tai_sub(3) โ€” bestie edition ๐ŸŒธ

okay so like, this is a page from the Library Functions Manual and it's all about a lil function called tai_sub and honestly? she's a queen. tiny, does one thing, does it flawlessly. main character energy fr fr ๐Ÿ’…


โœจ NAME โœจ

tai_sub โ€” subtracting two struct tai from each other, no cap ๐ŸŽ€


โœจ SYNTAX โœจ

#include <libowfat/tai.h>

extern int tai_sub(struct tai* t,const struct tai* a,
                   const struct tai* b);

so you gotta pull in <libowfat/tai.h> first, and then the signature is literally sitting right there, copy it exactly bestie, don't freestyle it ๐Ÿ™ˆ


โœจ DESCRIPTION โœจ

okay so here's the vibe: tai_sub takes b and subtracts it from a, and then it drops the result into t. that's it. that's the whole thing. math girlie behavior and we love her for it ๐Ÿงฎโœจ

and the iconic part? the inputs and the output may overlap. so like, if t happens to be the same spot as a or b, that is completely fine, she's not gonna get weird about it. no glitches, no drama, she handles it. periodt ๐Ÿ‘‘

lowkey don't overthink this one. it subtracts. she's built different and she knows it ๐Ÿ’–

โœจ SEE ALSO โœจ

  • taia_sub(3) โ€” the sibling who does the same thing but with the other struct ๐Ÿฆ‹
  • tai_add(3) โ€” the opposite-energy bestie, she adds instead ๐Ÿซถ

and that's the whole page!! ๐ŸŽ€ this was tai_sub(3) from the Library Functions Manual, and if you were looking for a version number or a date, bestie... the page literally doesn't give us one, the footer is just her name again, so we're going with the vibe alone. mwah ๐Ÿ’œโœจ