Sha256: 8e8ae47ee86ac9181877c5f45496a9938a541360b007f1d9e2c4f87c9b14901a

Contents?: true

Size: 1.7 KB

Versions: 4

Compression:

Stored size: 1.7 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_transport_set_errno" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_transport_set_errno \- API function
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "void gnutls_transport_set_errno(gnutls_session_t " session ", int " err ");"
.SH ARGUMENTS
.IP "gnutls_session_t session" 12
is a \fBgnutls_session_t\fP structure.
.IP "int err" 12
error value to store in session-specific errno variable.
.SH "DESCRIPTION"
Store \fIerr\fP in the session\-specific errno variable.  Useful values
for \fIerr\fP 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_pullpush_function under Windows, where the
replacement push/pull may not have access to the same \fIerrno\fP
variable that is used by GnuTLS (e.g., the application is linked to
msvcr71.dll and gnutls is linked to msvcrt.dll).

If you don't have the \fIsession\fP variable easily accessible from the
push/pull function, and don't worry about thread conflicts, you can
also use \fBgnutls_transport_set_global_errno()\fP.
.SH "REPORTING BUGS"
Report bugs to <bug-gnutls@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2008 Free Software Foundation.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.  If the
.B info
and
.B gnutls
programs are properly installed at your site, the command
.IP
.B info gnutls
.PP
should give you access to the complete manual.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_transport_set_errno.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_transport_set_errno.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_transport_set_errno.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_transport_set_errno.3