shishi_tkts_default_ccache_guess(3)
β¨ shishi_tkts_default_ccache_guess β¨
okay so bestie, welcome to the shishi manual β specifically page shishi_tkts_default_ccache_guess(3), section 3, and yes she's a function π
πΈ NAME πΈ
shishi_tkts_default_ccache_guess β literally an API function, that's the whole name, no notes π
π¦ SYNOPSIS π¦
#include <shishi.h>
char * shishi_tkts_default_ccache_guess(Shishi * handle);
like, that's it. she takes one thing, she gives you back a string π
π ARGUMENTS π
Shishi * handleβ the Shishi library handle, and you get one of those by callingshishi_init(). that's your girl, she's the entry point, you need her first fr fr
π DESCRIPTION π
so the way this works is, she guesses the default ccache ticket filename for you π§
and how does she guess, you ask? okay so she's actually super straightforward:
- it's the contents of the environment variable
KRB5CCNAMEβ like if that's set, that's the answer, periodt - orrrr it's
/tmp/krb5cc_UIDwhereUIDis your user's identity in decimal, exactly as returned bygetuid()π«
that's the whole vibe check. environment variable first, fallback to the tmp path with your numeric UID in it. iykyk π«Ά
β RETURN VALUE β
she returns the default ccache filename as a string π
β οΈ bestie listen. that string is yours to clean up. you have to deallocate it with free() yourself, by the caller. she is not doing it for you, she is handing you the keys and walking away. do not forget, do not leak, we do not do that here π
π REPORTING BUGS π
found a bug? (not me manifesting that π) 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.
like, iconic of them 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, she's thorough β¨
and that's the whole page, bestie!! πβ¨
this was shishi_tkts_default_ccache_guess(3) from shishi version 1.0.3 β mwah, go free() your strings, ily, bye ππ¦π
π¦ 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