1gnutls_error_is_fatal(3)            gnutls            gnutls_error_is_fatal(3)
2
3
4

NAME

6       gnutls_error_is_fatal - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_error_is_fatal(int error);
12

ARGUMENTS

14       int error   is a GnuTLS error code, a negative value
15

DESCRIPTION

17       If  a  GnuTLS function returns a negative value you may feed that value
18       to this function to see if the error condition is fatal.
19
20       Note that you may want to check the error  code  manually,  since  some
21       non-fatal errors to the protocol may be fatal for you program.
22
23       This  function  is  only useful if you are dealing with errors from the
24       record layer or the handshake layer.
25

RETURNS

27       1 if the error code is fatal, for positive error values, 0 is returned.
28       For unknown error values, -1 is returned.
29

REPORTING BUGS

31       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
32       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
33       http://www.gnu.org/gethelp/
34
36       Copyright © 2008 Free Software Foundation.
37       Copying  and  distribution  of this file, with or without modification,
38       are permitted in any medium  without  royalty  provided  the  copyright
39       notice and this notice are preserved.
40

SEE ALSO

42       The  full  documentation  for gnutls is maintained as a Texinfo manual.
43       If the info and gnutls programs are properly installed  at  your  site,
44       the command
45
46              info gnutls
47
48       should give you access to the complete manual.
49
50
51
52gnutls                             2.12.6.1           gnutls_error_is_fatal(3)
Impressum