gnutls_alert_get_name(3)
β¨ NAME β¨
gnutls_alert_get_name β bestie, it's an API function π (yes, that's the whole name, and yes, it's iconic)
πΈ SYNOPSIS πΈ
okay so first you gotta pull in the header, like always:
#include <gnutls/gnutls.h>
const char * gnutls_alert_get_name(gnutls_alert_description_t alert);
That's it. That's the whole vibe. π¦
π ARGUMENTS π
gnutls_alert_description_t alertβ this is an alert number. just a number. a lil guy. a little integer that secretly means something in TLS land π
π DESCRIPTION π
so this function? it takes that alert number and hands you back a string that describes it. that's the whole job. main character behavior, honestly π
but heads up β it can also return NULL. so like, if the number doesn't map to anything, you get NULL and not a cute string. plan accordingly, bestie π
also, if you wanna know more, go look at gnutls_alert_get(). it's giving complementary info. iykyk β¨
β RETURNS β
a string corresponding to the gnutls_alert_description_t value. (or NULL β don't forget the NULL, we literally just talked about it π)
π REPORTING BUGS π
found a bug? no cap, tell the devs, they wanna know:
- report bugs to <bugs@gnutls.org>
- home page: https://www.gnutls.org
fr fr, they want your bug reports. it's not snitching, it's community service π
π 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.
(translation: you can share this, just keep the receipts π§Ύβ¨)
π«Ά 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/
like, go read it, it's lowkey a whole library of lore ππ
and that's the tea, bestie π this page lives in the gnutls manual, version 3.8.13, and it's filed under gnutls_alert_get_name(3). mwah, go forth and name your alerts πβ¨π
π¦ 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