doc/functions/gnutls_strerror_name
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {const char *} {gnutls_strerror_name} (int @var{error}) |
| 6 | @var{error}: is an error returned by a gnutls function. |
| 7 | |
| 8 | Return the GnuTLS error code define as a string. For example, |
| 9 | gnutls_strerror_name (GNUTLS_E_DH_PRIME_UNACCEPTABLE) will return |
| 10 | the string "GNUTLS_E_DH_PRIME_UNACCEPTABLE". |
| 11 | |
| 12 | @strong{Returns:} A string corresponding to the symbol name of the error |
| 13 | code. |
| 14 | |
| 15 | @strong{Since:} 2.6.0 |
| 16 | @end deftypefun |