shishi_krberror_errorcode_fast(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_errorcode_fast ✨

okay so bestie, welcome to shishi_krberror_errorcode_fast(3) β€” that's the page, that's the manual, that's the whole vibe πŸ’… it lives in the shishi section of the manual, and yeah, it's an API function, we're doing library girlie things today 🫢


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_krberror_errorcode_fast(Shishi * handle, Shishi_asn1
krberror);

like, that's it. that's the whole thing. iconic honestly ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). yes, that one. the one you already made. don't come in here with a random pointer, bestie 😭
  • Shishi_asn1 krberror β€” a KRB-ERROR structure that has an error code in it. that's the whole point. it's gotta have the error code. no code, no vibes πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

okay so the tea: this function gets the error code out of a KRB-ERROR. and it does it without error checking. no cap. zero checking. none. it just grabs it and hands it to you 🫴✨

that's the fast part in the name, and it is literally the fast part. lowkey feral of it, but we respect the hustle πŸ‘‘

fr fr, if you want the version that actually checks stuff, that's shishi_krberror_errorcode() β€” different function, different energy, see the RETURN VALUE section below πŸŽ€

⭐ RETURN VALUE ⭐

it hands you the error code directly β€” and by "the error code" we mean the one from shishi_krberror_errorcode() (go look at that one if you need the lore) β€” or it returns -1 on error.

so: error code, or -1. that's the whole menu. choose your fighter πŸ’€


πŸ› REPORTING BUGS πŸ›

found a bug? not you being the main character of quality assurance πŸ’… report it to <bug-shishi@gnu.org>.

go forth and file, bestie 🫢


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, share it, remix it, whatever β€” just keep the receipts, periodt ✨


🌈 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. it's giving "the extended universe" πŸ§šπŸ’œ


shishi 1.0.3 shishi_krberror_errorcode_fast(3) β€” mwah, that's the version and the date-ish footer energy, go read the other pages, ily, bye πŸŽ€πŸ’–βœ¨