TLSRPT_VERSION_CHECK(3)

πŸ“¦
version 0.5.1 Β· 3 versions
, in arch rolling

πŸ’… TLSRPT_VERSION_CHECK(3) β€” like, the whole vibe check for your libtlsrpt version ✨

okay bestie, this is a page from the tlsrpt_version_check manual (section 3 of the manual set, iykyk), and honestly? it's short, it's sweet, and it's about to save you from a linker situation that would otherwise ruin your entire day. πŸŽ€


✨ NAME ✨

tlsrpt_version_check β€” the little function that checks whether the version of libtlsrpt is compatible with the calling program πŸ¦‹

🌸 SYNOPSIS 🌸

#include <tlsrpt.h>

int tlsrpt_version_check(int major, int minor, int patch)

πŸ’– DESCRIPTION πŸ’–

so. the tlsrpt_version_check function checks whether the version of libtlsrpt is compatible with the calling program. that's it. that's the whole job. iconic, honestly. πŸ‘‘

here's the scenario, because it's giving "you need to know this": a program compiled with libtlsrpt version a.b.c can call tlsrpt_version_check(a, b, c) to determine if the loaded library is compatible with the program. you pass in the version you were built against, the loaded library tells you if it's down with that. matching energies. 🫢

like matching friendship bracelets but for ABI compatibility, and if the bracelets don't match you found out before the chaos instead of after. very main character energy of this function, tbh. ✨

⭐ RETURN VALUE ⭐

the tlsrpt_version function returns 1 when the library is compatible with the calling program and 0 otherwise. that's the whole answer. 1 = slay, we're compatible. 0 = nope, not this one. πŸ™ˆ

ngl, the docs here say tlsrpt_version and not tlsrpt_version_check β€” that's literally what's written, so I'm passing it straight to you, no edits, no notes, no cap. πŸ’€

🌈 SEE ALSO 🌈

  • man:tlsrpt_version_check[3] β€” yes, it's linking you to itself. self-referential queen behavior. we love a function that knows its own lore. πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

Boris Lohner πŸŽ€ β€” the mastermind behind this whole thing. say thank you.


and that's the page!! πŸ“ written under the TLSRPT_VERSION_CHECK(3) name, dated 2026-09-01, with tlsrpt_version_check as the source on the official copy β€” so when you cite me, cite it cute. bye bestie, go check those versions πŸ’œπŸ§š

πŸ“¦ where this page comes from