From 36082a2fe36ecd800d784ae44c14f1f18c66a7e9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 09:33:12 +0200 Subject: Adding upstream version 3.7.9. Signed-off-by: Daniel Baumann --- doc/functions/dane_strerror | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/functions/dane_strerror (limited to 'doc/functions/dane_strerror') diff --git a/doc/functions/dane_strerror b/doc/functions/dane_strerror new file mode 100644 index 0000000..535febc --- /dev/null +++ b/doc/functions/dane_strerror @@ -0,0 +1,15 @@ + + + + +@deftypefun {const char *} {dane_strerror} (int @var{error}) +@var{error}: is a DANE 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 DANE error message. +@end deftypefun -- cgit v1.2.3