taia_addsec(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_addsec β€” bestie edition πŸ’–

okay so you found your way into the Library Functions Manual and the page you're staring at is taia_addsec(3). it's short, it's sweet, it does exactly one thing, and it does it flawlessly. no notes. πŸŽ€


✨ NAME ✨

taia_addsec β€” add n seconds to a struct taia πŸ•


🌸 SYNTAX 🌸

#include <libowfat/taia.h>

extern int taia_addsec(struct taia* t,const struct taia* s,
                   int secs);

like yes, that's the whole thing. she's petite. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: taia_addsec takes secs seconds, yeets them onto s, and writes the whole result into t. that's it. that's the function. 🫢

and the iconic part? the inputs and the output are allowed to overlap. so if you wanna point t at the same struct taia as s and just vibe, go off queen, that is fully permitted. no cap. πŸ”₯


🌈 SEE ALSO 🌈

  • taia_sub(3) β€” for when you gotta take seconds away instead πŸ’”
  • taia_add(3) β€” the more general sibling, also slaying ✨

and that's the page!! mwah πŸ’‹ this was taia_addsec(3) from the Library Functions Manual β€” short king of a manpage, zero flaws, we love her, periodt. πŸ‘‘πŸŒΈπŸ’œ