gnutls_perror(3)

✨ gnutls_perror β€” the manual page bestie πŸ’–

okay so this is gnutls_perror(3), part of the gnutls manual, and it's genuinely the simplest little glow-up in the whole library. no cap.


🌸 NAME 🌸

gnutls_perror β€” it's an API function, and it's here to translate your sad little error numbers into actual words 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/gnutls.h>

void gnutls_perror(int error);

like. that's it. that's the whole thing. so clean ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • int error β€” a GnuTLS error code, which is a negative error code. yes bestie, negative. it's giving "something went wrong" energy 😭

πŸ’… DESCRIPTION πŸ’…

so this function is literally just like perror(), okay? same vibe, same energy, iconic behaviour. the only difference is that it accepts an error number that came back from a gnutls function instead of whatever perror() usually deals with. that's the whole flex. periodt πŸ‘‘


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me being the one to tell you, but fr fr, report it to <bugs@gnutls.org>.

home page is right here: 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. so like, go off, just keep the receipts bestie πŸ§ΎπŸ’–


⭐ 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/

iykyk πŸ“šβœ¨


okay that's the whole page, you ate it, you understood it, I'm obsessed with you. this was gnutls 3.8.13, written up in the gnutls_perror(3) page, and honestly? slay. go forth and print your errors, main character πŸ’œπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from