shishi_tkt_valid_now_p(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– shishi_tkt_valid_now_p β€” bestie, is this ticket valid RIGHT NOW? πŸ’–

okay so we're in the shishi manual, section 3 (that's the library-functions girlies πŸŽ€), and the page you're on is shishi_tkt_valid_now_p(3). yes it's a mouthful. yes it's iconic. let's get into it πŸ¦‹


✨ NAME ✨

shishi_tkt_valid_now_p β€” it's an API function, bestie. that's the whole vibe.


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_tkt_valid_now_p(Shishi_tkt * tkt);

like. that's it. that's the whole function. so clean, so demure πŸ’…


🧚 ARGUMENTS 🧚

  • Shishi_tkt * tkt β€” your input variable, and it's the one holding all the ticket info. that's the girlypop we're interrogating 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

Determine if the ticket is valid now. like, now now. present tense. this very second. not yesterday, not "eventually", not "in a bit" β€” right now ⏰✨


⭐ RETURN VALUE ⭐

Returns 0 iff the ticket is invalid β€” and by invalid we mean expired or not yet valid. so 0 = πŸ’€, anything else = πŸ”₯. no cap.

note the "iff", bestie. that's if-and-only-if energy. do not come for me with edge cases, the manpage said what it said.

πŸ› REPORTING BUGS πŸ›

found a bug? do NOT suffer in silence, that's not the vibe. report bugs to <bug-shishi@gnu.org>.


Copyright Β© 2002-2022 Simon Josefsson.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (translation: go off, just keep the receipts 🧾✨)


🌈 SEE ALSO 🌈

The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. iykyk πŸ“–πŸ’œ


and that's the whole page, bestie!! this was shishi version 1.0.3, page shishi_tkt_valid_now_p(3), and you ate that. go check your tickets. mwah πŸ«ΆπŸ’–βœ¨