gnutls_transport_set_errno man page on FreeBSD
gnutls_transport_set_errno(3) gnutls gnutls_transport_set_errno(3)
gnutls_transport_set_errno - API function
void gnutls_transport_set_errno(gnutls_session_t session, int err);
is a gnutls_session_t structure.
int err error value to store in session-specific errno variable.
Store err in the session-specific errno variable. Useful values for
err is EAGAIN and EINTR, other values are treated will be treated as
real errors in the push/pull function.
This function is useful in replacement push/pull functions set by
gnutls_transport_set_push_function and gnutls_transport_set_pull‐
push_function under Windows, where the replacement push/pull may not
have access to the same errno variable that is used by GnuTLS (e.g.,
the application is linked to msvcr71.dll and gnutls is linked to
If you don't have the session variable easily accessible from the
push/pull function, and don't worry about thread conflicts, you can
also use gnutls_transport_set_global_errno().
Report bugs to <firstname.lastname@example.org>. GnuTLS home page:
http://www.gnu.org/software/gnutls/ General help using GNU software:
Copyright © 2008 Free Software Foundation.
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.
The full documentation for gnutls is maintained as a Texinfo manual.
If the info and gnutls programs are properly installed at your site,
should give you access to the complete manual.
gnutls 2.8.6 gnutls_transport_set_errno(3)
List of man pages available for FreeBSD
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome