shishi_krberror_save(3)
πΎ shishi_krberror_save(3) β the shishi manual, bestie edition β¨
okay so this is a page from the shishi manual, and today's main character is shishi_krberror_save(3) π she's an API function and she has exactly one job, which she does flawlessly, no notes π
πΈ NAME πΈ
shishi_krberror_save β it's an API function, babes. that's the whole vibe.
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_krberror_save(Shishi * handle, FILE * fh, Shishi_asn1
krberror);
like, three args, one int back, extremely chill π¦
π ARGUMENTS π
Shishi * handleβ the shishi handle, and it's gotta be the one you got fromshishi_init(). don't just make one up bestie, allocate it properly πFILE * fhβ a file handle that's open for writing. writing. for writing. if you opened it read-only that's on you πShishi_asn1 krberrorβ the actual KRB-ERROR you wanna save. the star of the show π
π DESCRIPTION π
Save the DER encoding of a KRB-ERROR to a file. that's it. that's the function. she takes your krberror, she DER-encodes it, she writes it out to fh. iconic, lowkey efficient, ate and left no crumbs π
π RETURN VALUE π
Returns SHISHI_OK iff successful. and yes, "iff" means if-and-only-if, she's being precise, periodt β
π REPORTING BUGS π
found a bug? don't suffer in silence, spill π«Ά 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. (so like, go off, but keep the receipts π )
π§ 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 πβ¨
okay that's the whole page, and as a lil sign-off: this is shishi version 1.0.3, page shishi_krberror_save(3) π go save some KRB-ERRORs bestie, you got this ππΈ
π¦ 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