shishi_krberror_etext(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_etext ✨

okay bestie, so this one lives in the shishi manual, section 3 (that's the library-functions girlies, iykyk), and it's literally called shishi_krberror_etext πŸ’…


🌸 NAME 🌸

shishi_krberror_etext β€” it's an API function, babes. that's the whole vibe.


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_krberror_etext(Shishi * handle, Shishi_asn1 krberror, char **
etext, size_t * etextlen);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and you get it from shishi_init(). like, that's where it comes from, no cap.
  • Shishi_asn1 krberror β€” a KRB-ERROR structure that's carrying an error code. yes bestie, the error is the point.
  • char ** etext β€” output array, and it's newly allocated, so it's giving fresh-off-the-heap energy. πŸ’–
  • size_t * etextlen β€” output length of the error text. gotta know how long the thing is, obviously.

πŸ’œ DESCRIPTION πŸ’œ

so what it does is extract the additional error text from the server. and lowkey, it might be totally empty β€” that's allowed, that's fine, she's allowed to have nothing to say sometimes. πŸ™ˆ


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff it was successful. periodt. anything else and, well, it wasn't. πŸ’€


🌈 REPORTING BUGS 🌈

found a bug? not me gatekeeping β€” report it to <bug-shishi@gnu.org> fr fr.


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. (iconic behavior honestly, slay)


🫢 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 bestie, it's the main character of the docs. ✨


and that's the whole page, mwah πŸ’‹ this was shishi version 1.0.3, documented back in the day, and if you made it this far you're genuinely so good at Unix β€” obsessed with you, fr fr. πŸŽ€βœ¨