shishi_krberror_errorcode_set(3)
π shishi_krberror_errorcode_set β bestie edition π
okay so you're deep in the shishi manual, page shishi_krberror_errorcode_set(3), and honestly? this one is short and sweet. it's giving "tiny function, big responsibility." let's get into it. π
β¨ NAME β¨
shishi_krberror_errorcode_set β an API function, periodt.
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_krberror_errorcode_set(Shishi * handle, Shishi_asn1 krberror,
int errorcode);
like, she's a function, she takes three things, she returns an int. that's the whole vibe check right there. π
π¦ ARGUMENTS π¦
Shishi * handleβ your shishi handle, the one you already got fromshishi_init(). yes, that one. don't be out here passing a random pointer, bestie. πShishi_asn1 krberrorβ theKRB-ERRORstructure that has the error code you wanna set. she's the main character of this whole operation. πint errorcodeβ the brand new error code you want to set insidekrberror. fresh out the box, ready to be assigned. β¨
π DESCRIPTION π
Set the error-code field to a new error code.
that's literally it. no plot twist, no hidden lore. you hand it a krberror and a shiny new errorcode, and she sets the error-code field to that value. lowkey iconic how simple it is. π«Ά
β RETURN VALUE β
Returns SHISHI_OK iff successful.
okay so heads up:iffmeans if and only if, soSHISHI_OKis the good ending and literally anything else means something went sideways. check your return values, bestie, i am begging. π
π REPORTING BUGS π
found a bug? not the vibe, but okay β 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.
(translation: you can copy and share this file, any medium, no royalty needed β just keep the copyright notice and this notice intact. respect the rules and everyone eats. π½οΈβ¨)
π§ 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.
so like, if you want the whole lore, that's where you go. iykyk. π
and that's the page!! πΈ this lil slice of the shishi manual is from shishi version 1.0.3 β go forth and set those error codes, you absolute legend. mwah. π ππ¦
π¦ 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