shishi_encapreppart_cusec_get(3)
β¨ shishi_encapreppart_cusec_get β¨
okay bestie, so this is a page from the shishi manual β that's the GNU Shishi Kerberos library, and this particular little function is an API function called shishi_encapreppart_cusec_get. yes the name is a whole mouthful, we're getting through it together π
πΈ NAME πΈ
shishi_encapreppart_cusec_get β it's an API function, no cap, that's literally its whole job title
π SYNOPSIS π
#include <shishi.h>
int shishi_encapreppart_cusec_get(Shishi * handle, Shishi_asn1
encapreppart, uint32_t * cusec);
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, and listen, it has to be one you already got fromshishi_init(). don't just vibe-craft a handle out of thin air, bestie πShishi_asn1 encapreppartβ an EncAPRepPart structure, and it needs to be the one you got fromshishi_encapreppart(). yes, the function that made it, that's the one π«Άuint32_t * cusecβ this one's an output integer, and it's gonna hold the client microseconds field. it's giving "i'm the destination, write into me" energy β¨
π DESCRIPTION π
so what does this icon actually do? it extracts the client microseconds field from EncAPRepPart. that's it. that's the whole thing. pull the cusec out of the EncAPRepPart and hand it to you through that pointer. short, sweet, slays π
π RETURN VALUE π
returns SHISHI_OK iff it worked. and yes, "iff" means if-and-only-if, so likeβ¦ SHISHI_OK means success, anything else means something went sideways, periodt π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the devs fr fr β 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 forth and share it, just keep the receipts bestie π
π 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, this command
info shishi
should give you access to the complete manual. it's the mothership, the main character of docs, iykyk π¦
lowkey reminder: this page is version 1.0.3 of the shishi manual, and it's filed under section 3 β the library-functions section, where all the C API besties live π so go extract those microseconds, you've got this, 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