shishi_krberror_susec(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ shishi_krberror_susec(3) ✨

okay bestie, pull up a chair, because we're diving into shishi_krberror_susec β€” yes it's a mouthful, yes it's from the shishi library (that's the GNU one, section 3 of the manual), and yes it is so much simpler than it looks. it's giving "one job, does it well". πŸ’…


🌸 NAME 🌸

shishi_krberror_susec β€” lowkey an API function, and it's here to grab one specific little number for you. ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_krberror_susec(Shishi * handle, Shishi_asn1 krberror,
       uint32_t * susec);

there she is. three args, one int coming back at you. iconic. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, bestie, and it has to be one you already allocated with shishi_init(). don't just make one up, she needs to be properly born first. 🌱
  • Shishi_asn1 krberror β€” a Krberror, and it needs to be one allocated by shishi_krberror(). yes, the naming is a lot. no, we don't make the rules. πŸ™ˆ
  • uint32_t * susec β€” the output integer, and this one is where the server microseconds field lands. it's a pointer, so she writes into your variable. very main character of her. πŸ’«

πŸ’– DESCRIPTION πŸ’–

Extract the server microseconds field from the Krberror. that's it. that's the whole vibe. you hand over a handle and a Krberror, and she hands you back the microseconds. no drama, no detours, just extraction. periodt. πŸŽ€


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's the good one, the green flag, the "we ate" outcome. anything else and, well… vibe check failed, bestie. 😭


🌈 REPORTING BUGS 🌈

found something cursed? don't suffer in silence, tell the people. report bugs to <bug-shishi@gnu.org>. πŸ’Œ

they literally want to hear from you. it's not a bother, it's a contribution. 🫢


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.

like, share, redistribute, just keep the receipts. that's the whole deal. πŸ’œ


πŸ”₯ 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. go read it, it's the extended universe. πŸ“šβœ¨


and that's the whole page, bestie!! this was shishi version 1.0.3, manual section shishi_krberror_susec(3) β€” stay hydrated, read your Texinfo, and may all your return values be SHISHI_OK. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά