shishi_krberror_stime(3)
π shishi_krberror_stime β the manual, but make it cute π
okay bestie, you're in the shishi section 3 pages (that's the library/API girlies, not the shell commands) and this one is called shishi_krberror_stime. it's an API function, which is just fancy talk for "a function you call from your own code". she's little, she's focused, she does one thing. main character energy, honestly. π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_krberror_stime(Shishi * handle, Shishi_asn1 krberror, char **
t);
no cap, that's the whole vibe. you pull in the header, you call the function, you get your little int back. π
π«Ά ARGUMENTS π«Ά
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the connection girlie, everything goes through her.Shishi_asn1 krberrorβ the Krberror you're working with. lowkey iconic that this is the one where the client name field lives, and this function is gonna touch that Krberror. πchar ** tβ a newly allocated, zero-terminated output array holding the server time. so like, freshly minted for you, and it's yours. don't lose her. πΈ
π DESCRIPTION π
she extracts the server time out of the KRB-ERROR. that's it, that's the job. one function, one destiny. no drama, all signal. β¨
β RETURN VALUE β
returns SHISHI_OK iff successful. that iff is doing a lot of work bestie β if it's not SHISHI_OK, it was not successful, and that's on periodt.
π REPORTING BUGS π
found a bug? (rude of it, honestly π) 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 yes, you can share her, just keep the receipts. π§)
π¦ SEE ALSO π¦
the full documentation for shishi is maintained as a Texinfo manual β she's the full-length director's cut. if the info and shishi programs are properly installed at your site, this command:
info shishi
should give you access to the complete manual. slay. π₯
mwah β that's a wrap on the shishi 1.0.3 era of this page, brought to you by the good people behind shishi_krberror_stime(3). go extract that server time, 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