'\" t .\" Title: tlsrpt_strerror .\" Author: Boris Lohner .\" Generator: Asciidoctor 2.0.26 .\" Date: 2026-09-01 .\" Manual: tlsrpt_strerror .\" Source: tlsrpt_strerror .\" Language: English .\" .TH "TLSRPT_STRERROR" "3" "2026-09-01" "tlsrpt_strerror" "tlsrpt_strerror" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" tlsrpt_strerror \- returns a static string describing the error .SH "SYNOPSIS" .sp #include .sp const char* tlsrpt_strerror(int errorcode) .SH "DESCRIPTION" .sp The \f(CRtlsrpt_strerror\fP function returns a static string describing the error. If the error is not an internal error (\f(CRtlsrpt_error_code_is_internal\fP 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 \f(CRstrerror\fP function or its altrnatives. The errno value to be passed into the \f(CRstrerror\fP function must be extracted from the error code via the \f(CRtlsrpt_errno_from_error_code\fP function. .SH "RETURN VALUE" .sp The tlsrpt_strerror function returns a static string describing the error. .SH "SEE ALSO" .sp man:tlsrpt_error_code_is_internal[3], man:tlsrpt_errno_from_error_code[3] .SH "AUTHOR" .sp Boris Lohner