Man page - tlsrpt_strerror(3)
Packages contas this manual
- tlsrpt_finish_policy(3)
- tlsrpt_get_socket(3)
- tlsrpt_error_code_is_internal(3)
- tlsrpt_open(3)
- tlsrpt_add_delivery_request_failure(3)
- tlsrpt_set_blocking(3)
- tlsrpt_add_policy_string(3)
- tlsrpt_errno_from_error_code(3)
- tlsrpt_cancel_delivery_request(3)
- tlsrpt_init_policy(3)
- tlsrpt_set_nonblocking(3)
- tlsrpt_close(3)
- tlsrpt_strerror(3)
- tlsrpt_add_mx_host_pattern(3)
- tlsrpt_finish_delivery_request(3)
- tlsrpt_set_malloc_and_free(3)
- tlsrpt_init_delivery_request(3)
apt-get install libtlsrpt0-dev
Manual
| TLSRPT_STRERROR(3) | tlsrpt_strerror | TLSRPT_STRERROR(3) |
NAME
tlsrpt_strerror - returns a static string describing the error
SYNOPSIS
#include <tlsrpt.h>
const char* tlsrpt_strerror(int errorcode)
DESCRIPTION
The tlsrpt_strerror function returns a static string describing the error. If the error is not an internal error (tlsrpt_error_code_is_internal returns 0 in that case), the text describes the C library function that gave an error and for C library functions that get called from different places within the TLSRPT library, the calling function is mentioned in the description. The actual error has to be retrieved from the C library via the strerror function or its altrnatives. The errno value to be passed into the strerror function must be extracted from the error code via the tlsrpt_errno_from_error_code function.
RETURN VALUE
The tlsrpt_strerror function returns a static string describing the error.
SEE ALSO
tlsrpt_error_code_is_internal(3), tlsrpt_errno_from_error_code(3)
AUTHOR(S)
Boris Lohner
| 2024-11-06 | tlsrpt_strerror |