summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_strerror_name
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_strerror_name')
-rw-r--r--doc/functions/gnutls_strerror_name16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/functions/gnutls_strerror_name b/doc/functions/gnutls_strerror_name
new file mode 100644
index 0000000..86f5b9b
--- /dev/null
+++ b/doc/functions/gnutls_strerror_name
@@ -0,0 +1,16 @@
+
+
+
+
+@deftypefun {const char *} {gnutls_strerror_name} (int @var{error})
+@var{error}: is an error returned by a gnutls function.
+
+Return the GnuTLS error code define as a string. For example,
+gnutls_strerror_name (GNUTLS_E_DH_PRIME_UNACCEPTABLE) will return
+the string "GNUTLS_E_DH_PRIME_UNACCEPTABLE".
+
+@strong{Returns:} A string corresponding to the symbol name of the error
+code.
+
+@strong{Since:} 2.6.0
+@end deftypefun