gnutls_transpo..._errno_function(3)
β¨ NAME β¨
gnutls_transport_set_errno_function β the API function that lets you plug in your own little errno-grabber π
(this is a page from the gnutls manual, bestie)
π SYNOPSIS π
#include <gnutls/gnutls.h>
void gnutls_transport_set_errno_function(gnutls_session_t session,
gnutls_errno_func errno_func);
π¦ ARGUMENTS π¦
gnutls_session_t sessionβ okay so this one is, like, agnutls_session_ttype. That's it, that's the whole vibe. π«Άgnutls_errno_func errno_funcβ a callback function that's similar towrite(). she's giving callback energy fr fr.
π DESCRIPTION π
Okay so listen. This is the function where you set a function to retrieve errno after a failed push or pull operation. No cap, that's literally the whole job. π₯
errno_func is of the form,
int (*gnutls_errno_func)(gnutls_transport_ptr_t);
and should return the errno. That's the assignment, bestie, go return that errno. π
β SINCE β
2.12.0 β she's been iconic since way back. vintage queen behavior honestly. π
π REPORTING BUGS π
Found a bug? Not the moment, but also please tell someone:
- Report bugs 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. (So likeβ¦ keep the receipts, okay? That's the rule. π)
πΈ 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 π
And that's the whole page, bestie! This was gnutls version 3.8.13, from the gnutls_transpo..._errno_function(3) manual β mwah, periodt. πβ¨π
π¦ 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