dane_strerror(3)

✨ dane_strerror(3) ✨

okay bestie, gather round, because today we're talking about dane_strerror from the gnutls manual, and honestly? she's a little legend. πŸ’–


πŸ’… NAME πŸ’…

dane_strerror β€” it's an API function, and it's here to translate your cryptic DANE error codes into actual human words. no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

#include <gnutls/dane.h>

const char * dane_strerror(int error);

πŸŽ€ ARGUMENTS πŸŽ€

  • int error β€” this is a DANE error code, and bestie, listen: it's a negative error code. always. that's just how she is. πŸ’…

✨ DESCRIPTION ✨

so basically this function is giving very much strerror energy β€” same vibe, same job. the difference? dane_strerror takes an error number that was handed back to you by a gnutls function. and here's the slay part: if the error is unknown to her, she does not hand you NULL like some rude function. nope, she sends a descriptive string instead. she would never leave you on read. 😭🫢

and one more time for the people in the back: error codes are always a negative error code. periodt. πŸ‘‘


🌈 RETURNS 🌈

a string explaining the DANE error message. that's it, that's the return. iconic. ⭐


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, bestie. report it to <bugs@gnutls.org>.

home page: https://www.gnutls.org


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

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. (yes, really β€” go forth and distribute, no royalties required, we love a generous queen πŸ’š)


πŸ”₯ SEE ALSO πŸ”₯

the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:

https://www.gnutls.org/manual/

and that's the whole page, babes. this was dane_strerror from gnutls 3.8.13 β€” thanks for coming to my ted talk, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from