diff options
Diffstat (limited to 'doc/functions/gnutls_strerror')
-rw-r--r-- | doc/functions/gnutls_strerror | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/functions/gnutls_strerror b/doc/functions/gnutls_strerror new file mode 100644 index 0000000..4a7ad24 --- /dev/null +++ b/doc/functions/gnutls_strerror @@ -0,0 +1,15 @@ + + + + +@deftypefun {const char *} {gnutls_strerror} (int @var{error}) +@var{error}: is a GnuTLS error code, a negative error code + +This function is similar to strerror. The difference is that it +accepts an error number returned by a gnutls function; In case of +an unknown error a descriptive string is sent instead of @code{NULL} . + +Error codes are always a negative error code. + +@strong{Returns:} A string explaining the GnuTLS error message. +@end deftypefun |