shishi_tkt_server_p(3)
π shishi_tkt_server_p(3) β the shishi manual, bestie edition π
okay so this is a page from the shishi manual, and it's about one tiny lil function that's lowkey a bouncer at the club door but for tickets. it's an API function, so it's for you, the coder, not for typing into your shell like a script. iykyk π
β¨ NAME β¨
shishi_tkt_server_p β API function π
like. that's it. that's the whole name. it's giving "short, sweet, does one job" and honestly? iconic.
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, verbatim, no edits bestie:
#include <shishi.h>
int shishi_tkt_server_p(Shishi_tkt * tkt, const char * server);
yes you gotta include <shishi.h> first. it's the little entry fee. ποΈ
π¦ ARGUMENTS π¦
two args, both important, don't skip either:
Shishi_tkt * tktβ input variable with ticket info. so it's the ticket you're interrogating, bestie. π«const char * serverβ server name of ticket. the name you're checking the ticket against. β¨
π DESCRIPTION π
Determine if ticket is for specified server.
that's literally it. you hand it a ticket, you hand it a server name, and it tells you whether that ticket is for that server. it's a vibe check for tickets, fr fr. π§
β RETURN VALUE β
Returns non-0 iff ticket is for specified server.
heads up bestie: it's non-0, not specifically 1, and it's iff β if and only if. so non-zero means yes-it-is, and zero means no-it-isn't. that's the whole contract. don't overthink it. π
π REPORTING BUGS π
found something cursed? spill it. π
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/
π 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, remix it, share it, whatever β just keep the receipts. periodt. π
π 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, it's a whole saga and you'll be obsessed. π«Ά
and that's the page!! this was shishi_tkt_server_p(3) from the shishi manual, version 1.0.3 β thanks for reading, bestie, mwah πβ¨ππ¦πΈ
π¦ 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