1gnutls_transport_set_errno(3)       gnutls       gnutls_transport_set_errno(3)
2
3
4

NAME

6       gnutls_transport_set_errno - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void gnutls_transport_set_errno(gnutls_session_t session, int err);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls_session_t type.
16
17       int err     error value to store in session-specific errno variable.
18

DESCRIPTION

20       Store   err  in the session-specific errno variable.  Useful values for
21       err are EINTR, EAGAIN and EMSGSIZE, other values are  treated  will  be
22       treated as real errors in the push/pull function.
23
24       This  function  is useful in replacement push and pull functions set by
25       gnutls_transport_set_push_function()         and          gnutls_trans‐
26       port_set_pull_function()  under Windows, where the replacements may not
27       have access to the same  errno variable that is used by  GnuTLS  (e.g.,
28       the  application  is  linked  to  msvcr71.dll  and  gnutls is linked to
29       msvcrt.dll).
30
31       This function is unreliable if you are using the same
32        session in different threads for sending and receiving.
33

REPORTING BUGS

35       Report bugs to <bugs@gnutls.org>.
36       Home page: https://www.gnutls.org
37
38
40       Copyright © 2001-2020 Free Software Foundation, Inc., and others.
41       Copying and distribution of this file, with  or  without  modification,
42       are  permitted  in  any  medium  without royalty provided the copyright
43       notice and this notice are preserved.
44

SEE ALSO

46       The full documentation for gnutls is maintained as  a  Texinfo  manual.
47       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
48       visit
49
50       https://www.gnutls.org/manual/
51
52gnutls                              3.6.13       gnutls_transport_set_errno(3)
Impressum