summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_strerror
blob: 4a7ad24c1d1c2435cacbaa1a19859914834e771d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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