shishi_krberror_pretty_print(3)
π shishi_krberror_pretty_print(3) π
okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_krberror_pretty_print β an API function that is, and I say this with love, doing the absolute most so you don't have to π«Ά
β¨ NAME β¨
shishi_krberror_pretty_print β API function
yes it's literally just labeled "API function", that's the whole vibe, we move.
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_krberror_pretty_print(Shishi * handle, FILE * fh, Shishi_asn1
krberror);
like, include the header and you're in, no cap π
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, and it has to be one that got allocated byshishi_init(). no bootleg handles, bestie, she knows.FILE * fhβ a file handle that's been opened for writing. it writes there. that's the whole point πShishi_asn1 krberrorβ a KRB-ERROR structure, specifically one that has an error code in it. that's the drama we're about to narrate.
β DESCRIPTION β
okay so here's the tea: this function prints the KRB-ERROR error condition and some explanatory text, and it sends all of that to the file descriptor. that's it. that's the function. it takes your cryptic little error struct and turns it into something a human can actually read. it's giving translator. it's giving emotional support error message. we love her for it π
π RETURN VALUE π
Returns SHISHI_OK iff successful. (iff. as in if and only if. the mathematicians are shaking. slay.) β¨
π REPORTING BUGS π
found a bug? don't 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. 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. iykyk πβ¨
and that's the whole page, bestie!! this was shishi version 1.0.3, third section, shishi_krberror_pretty_print(3) β go forth and pretty-print your errors, you're gonna eat πππ¦π
π¦ 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