shishi_tkt_clientrealm(3)
β¨ shishi_tkt_clientrealm β¨
okay so bestie, welcome to the shishi_tkt_clientrealm(3) page π this one lives in the shishi manual (yes, section 3, the library-functions section, we love a 3) and it's genuinely one of those little helper functions that just does its thing and hands you a string. no cap.
π NAME π
shishi_tkt_clientrealm β API function β¨
(it's literally an API function, that's the whole name section, we keep it real)
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_tkt_clientrealm(Shishi_tkt * tkt, char ** client, size_t *
clientlen);
πΈ ARGUMENTS πΈ
Shishi_tkt * tktβ input variable with ticket info. that's your ticket, she's the main character here πchar ** clientβ pointer to a newly allocated zero terminated string containing the principal name and realm. she may beNULL(and that's fine! it's so you can only populateclientleninstead, iykyk) πsize_t * clientlenβ pointer to the length ofclienton output, excluding the terminating zero. also may beNULL(in which case you just populateclient, the swap is real) π
π DESCRIPTION π
so what does she even do?? she converts the cname and realm fields from the AS-REQ into printable principal name format β¨ that's it. that's the vibe.
the string is allocated by this function, and β listen up β it is the responsibility of the caller to deallocate it. so if you don't free it, that's a leak bestie, and leaks are not giving main character energy π
also note that the output length clientlen does not include the terminating zero. it's the length of the actual content, not the null. periodt.
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the only success token, no in-between, she's either slaying or she's not π
π REPORTING BUGS π
found a bug? report it 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.
(iconic licensing behaviour, honestly π)
π§ 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 giving β¨
π cute sign-off: this page is from shishi version1.0.3, and the footer date stamp on the original saysshishi_tkt_clientrealm(3). stay hydrated, free your strings, and go read the Texinfo manual bestie πΈπ¦π
π¦ 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