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 π
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
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms