shishi_krberror_ctime(3)
β¨ shishi_krberror_ctime β¨
okay bestie, gather round, because we're talking about shishi_krberror_ctime from the shishi manual, section 3 π this one is a lil API function and she is so specific about what she does. no cap.
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_krberror_ctime(Shishi * handle, Shishi_asn1 krberror, char **
t);
like, that's the whole vibe. three args, one int back. iconic.
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, and it's gotta be the one you got fromshishi_init(). no knockoff handles, bestie πShishi_asn1 krberrorβ the Krberror you're working with. literally the field description says "Krberror to set client name field in" so that's what the manpage says and that's what I'm telling you, periodt.char ** tβ a newly allocated zero-terminated output array holding the client time. newly. allocated. you own that memory now, she's yours π«Ά
π DESCRIPTION π
Extract client time from KRB-ERROR.
that's it. that's the whole thing. she extracts, she gives you the client time, she moves on. lowkey the most straightforward girl in the whole library π
β RETURN VALUE β
Returns SHISHI_OK iff successful. the "iff" is doing heavy lifting there β if it's not SHISHI_OK, it wasn't successful, and you should probably go touch grass and check your error handling π
π REPORTING BUGS π
found a bug? do NOT suffer in silence, tell the shishi girlies:
- 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.
(translation: share it, remix it, just 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, go read the full thing, she's got lore πβ¨
and that's the page, bestie!! this is from shishi version 1.0.3, and it's the shishi_krberror_ctime(3) manual page π¦ mwah, go extract some client times, you absolute main character π
π
π¦ 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