Sha256: 32272ad8e314a199f94f0fe0c5a05e48e120bef72fde31488e4efd5215dd1a70

Contents?: true

Size: 1.63 KB

Versions: 4

Compression:

Stored size: 1.63 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_record_get_direction" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_record_get_direction \- return the direction of the last interrupted function call
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "int gnutls_record_get_direction(gnutls_session_t " session ");"
.SH ARGUMENTS
.IP "gnutls_session_t session" 12
is a \fBgnutls_session_t\fP structure.
.SH "DESCRIPTION"
This function provides information about the internals of the
record protocol and is only useful if a prior gnutls function call
(e.g.  \fBgnutls_handshake()\fP) was interrupted for some reason, that
is, if a function returned \fBGNUTLS_E_INTERRUPTED\fP or
\fBGNUTLS_E_AGAIN\fP.  In such a case, you might want to call \fBselect()\fP
or \fBpoll()\fP before calling the interrupted gnutls function again.  To
tell you whether a file descriptor should be selected for either
reading or writing, \fBgnutls_record_get_direction()\fP returns 0 if the
interrupted function was trying to read data, and 1 if it was
trying to write data.
.SH "RETURNS"
0 if trying to read data, 1 if trying to write data.
.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_record_get_direction.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_record_get_direction.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_record_get_direction.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_record_get_direction.3