gnutls_strerror_name(3)

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.

  1. 6.0
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.