TLSRPT_STRERROR(3)
π TLSRPT_STRERROR(3) π
okay bestie, welcome to tlsrpt_strerror from the TLSRPT manual β yes the whole TLSRPT_STRERROR(3) situation, we're doing this, grab a boba π§
β¨ NAME β¨
tlsrpt_strerror β literally just hands you a static string that describes the error π
no cap
πΈ SYNOPSIS πΈ
#include <tlsrpt.h>
const char* tlsrpt_strerror(int errorcode)
π¦ DESCRIPTION π¦
so the tlsrpt_strerror function returns a static string describing the error. that's the whole vibe.
now here's the juicy part π β if the error is not an internal error (and for the record, tlsrpt_error_code_is_internal returns 0 in that case, iykyk), then that text is describing the C library function that gave you the error. and for C library functions that get called from different places inside the TLSRPT library? the calling function gets name-dropped right there in the description. main character energy fr fr π
β οΈ okay but heads up bestie: the actual error itself has to be retrieved from the C library via thestrerrorfunction or its alternatives.tlsrpt_strerroris not doing that for you, she's just narrating.
and the errno value that you pass into the strerror function? you gotta extract that from the error code using the tlsrpt_errno_from_error_code function. yes, extra step, we know, but that's the lore π
β RETURN VALUE β
the tlsrpt_strerror function returns a static string describing the error. that's it, that's the return value, slay β¨
π SEE ALSO π
man:tlsrpt_error_code_is_internal[3]man:tlsrpt_errno_from_error_code[3]
go read those too, they're the supporting cast π«Ά
π AUTHOR π
Boris Lohner β icon, legend, wrote this whole thing, we stan π
and that's the page bestie!! this glorious little manual is from tlsrpt_strerror, dated 2026-05-12, living under the manual name TLSRPT_STRERROR(3) π mwah, go forth and strerror responsibly π¦β¨
π¦ where this page comes from
- ubuntu stonking: libtlsrpt0-dev 0.5.1~rc1-2 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms