Sha256: 78bc90f71d1648b501c0c3ac8287bdf31b404c2f897efda08bd18250652ce591

Contents?: true

Size: 1.67 KB

Versions: 5

Compression:

Stored size: 1.67 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_transport_set_global_errno" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_transport_set_global_errno \- API function
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "void gnutls_transport_set_global_errno(int " err ");"
.SH ARGUMENTS
.IP "int err" 12
error value to store in global errno variable.
.SH "DESCRIPTION"
Store \fIerr\fP in the global 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).

Whether this function is thread safe or not depends on whether the
global variable errno is thread safe, some system libraries make it
a thread\-local variable.  When feasible, using the guaranteed
thread\-safe \fBgnutls_transport_set_errno()\fP may be better.
.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

5 entries across 5 versions & 1 rubygems

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