shishi_tkt_expired_p(3)
π shishi_tkt_expired_p β the vibe check for your ticket π
okay so bestie, welcome to shishi_tkt_expired_p(3), part of the shishi manual, section 3 (that's the library-functions girlies β¨). this one's short and sweet and honestly kind of iconic for how much it does with so little.
πΈ NAME πΈ
shishi_tkt_expired_p β an API function π«Ά (yes that's the whole name section, she's lowkey minimal)
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_tkt_expired_p(Shishi_tkt * tkt);
there she is. one include, one function, zero drama π
π ARGUMENTS π
Shishi_tkt * tktβ an input variable holding your ticket info. that's it, that's the whole arg. she takes your ticket and she judges it (lovingly) π¦
π DESCRIPTION π
so what does this actually do? it determines whether your ticket has expired β which is a fancy way of saying endtime is in the past. the ticket said it was valid until some moment, and that moment has been and gone, babe π it's giving "your VIP wristband is from last night's party."
no cap, that's the entire job. she looks at the endtime, she looks at now, she tells you the tea. β
β RETURN VALUE β
returns 0 iff the ticket has expired.
and yes bestie, iff means if and only if β so read that carefully, because it's the kind of thing that trips people up in a vibe check. 0 means expired. not-expired does not give you 0. don't come for me, that's just what the docs say π
fr fr, keep your eyes on that return value. it's the whole point of the function and it's sneaky in the cutest way.
π REPORTING BUGS π
found something cursed? report bugs to <bug-shishi@gnu.org> π
- GNU Shishi home page: http://www.gnu.org/software/shishi/
- General help using GNU software: http://www.gnu.org/gethelp/
they wanna hear from you, bestie, genuinely π«Ά
π COPYRIGHT π
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.
(so like, share it, remix it, whatever β 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. go read the whole thing, she's got lore πΈ
and that's the page, bestie!! written against shishi version 1.0.3 β section 3, library functions, the whole cute little family. mwah, go check your ticket's endtime, ily ππ
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms