gnutls_strerror_name3
Api function
Usage
#include <gnutls/gnutls.h>
const char * gnutls_strerror_name(int error);
Arguments
- int error
-
is an error returned by a gnutls function.
Overview
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".
Returns
A string corresponding to the symbol name of the error code.
Since
2.6.0
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.