gnutls_alert_get_strname(3)
π gnutls_alert_get_strname π
okay bestie, so this one lives in the gnutls manual, and it's literally called gnutls_alert_get_strname β an API function, no cap. it's a tiny little glow-up function that turns an alert number into a name you can actually read with your eyeballs. π¦
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
const char * gnutls_alert_get_strname(gnutls_alert_description_t alert);
π ARGUMENTS π
gnutls_alert_description_t alertβ bestie this is just an alert number. that's it. that's the whole vibe. π
πΈ DESCRIPTION πΈ
so the way that this works is: you hand it an alert, and it hands you back a string with the name of that alert. it's giving "translate the cryptic number into human words." iconic behaviour honestly. π
β RETURNS β
a string that corresponds to the gnutls_alert_description_t value you passed in. yes, a string. the name. that's the whole gift. π
π SINCE π
3.0 β so it's been around since forever, an elder actually. π
π REPORTING BUGS π
found something cursed? spill it to <bugs@gnutls.org>. and the home page is right here: https://www.gnutls.org β go say hi, they're lovely.
π 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. so like... go off, but 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, then visit:
https://www.gnutls.org/manual/
periodt. that's the whole page. πβ¨
sign-off bestie: this lil page came from the gnutls manual, version 3.8.13, and it's the one and only gnutls_alert_get_strname(3). stay slay, read your man pages, drink water. ππ
π¦ 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