1gnutls_strerror_name(3) gnutls gnutls_strerror_name(3)
2
3
4
6 gnutls_strerror_name - API function
7
9 #include <gnutls/gnutls.h>
10
11 const char * gnutls_strerror_name(int error);
12
14 int error is an error returned by a gnutls function.
15
17 Return the GnuTLS error code define as a string. For example,
18 gnutls_strerror_name (GNUTLS_E_DH_PRIME_UNACCEPTABLE) will return the
19 string "GNUTLS_E_DH_PRIME_UNACCEPTABLE".
20
22 A string corresponding to the symbol name of the error code.
23
25 2.6.0
26
28 Report bugs to <bugs@gnutls.org>.
29 Home page: https://www.gnutls.org
30
31
33 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
41 visit
42
43 https://www.gnutls.org/manual/
44
45gnutls 3.6.8 gnutls_strerror_name(3)