shishi_tkt_realm(3)
π shishi_tkt_realm β the manual page, bestie edition π
okay so this is a page from the shishi manual β specifically shishi_tkt_realm(3), section 3, the library-functions section, so you already know it's gonna be a little C-flavored. sit down, grab a strawberry π, we're extracting a realm.
β¨ NAME β¨
shishi_tkt_realm β it's an API function, babes. that's the whole name. short, sweet, does exactly one thing.
π SYNOPSIS π
here's how you bring it into your life:
#include <shishi.h>
int shishi_tkt_realm(Shishi_tkt * tkt, char ** realm, size_t *
realmlen);
yes it wraps in the original, no we're not judging, it's just line length π
π¦ ARGUMENTS π¦
three of them. let's meet the cast:
Shishi_tkt * tktβ the input variable, and it's carrying the ticket info. this is your main character. πchar ** realmβ a pointer to a newly allocated character array holding the realm name. note the "newly allocated" part, bestie, because that means somebody's gotta free it later. not naming names. πsize_t * realmlenβ the length of that same newly allocated character array with the realm name. it's the realm's little height measurement. π
πΈ DESCRIPTION πΈ
it extracts the realm of the server in the ticket. that's it. that's the vibe. you hand it a ticket, it hands you back the realm name (freshly allocated!) and how long that realm name is. no cap. β¨
β RETURN VALUE β
returns SHISHI_OK iff successful. that's the good one. that's the one you want. if you see anything else, it's giving "not today." π
π REPORTING BUGS π
found a bug? do NOT suffer in silence, tell the people:
- 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. slay, honestly β that's a genuinely generous license and we respect it. π«Ά
π 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 it, it's the director's cut. π¬
and that's the whole page, fr fr. this came to you from shishi 1.0.3, manual page shishi_tkt_realm(3) β mwah, take care of your allocated arrays, free your memory, and stay iconic. πβ¨π
π¦ 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