TLSRPT_VERSION(3)
π TLSRPT_VERSION(3) β tlsrpt_version π
okay so bestie, we're in the tlsrpt_version section of the manual (manual name: tlsrpt_version, yes it's giving self-titled debut album β¨) and honestly this one is a little cutie. short, sweet, does exactly one thing. let's go π
πΈ NAME πΈ
tlsrpt_version β returns a static string describing the version of libtlsrpt
like. that's the whole job. she's a one-line icon π
β¨ SYNOPSIS β¨
#include <tlsrpt.h>
const char* tlsrpt_version()
you gotta #include <tlsrpt.h> first, obviously, then you can call her. no arguments, no drama, no options to remember. we love a low-maintenance queen π
π¦ DESCRIPTION π¦
the tlsrpt_version function returns a static string describing the version of libtlsrpt. that's it. that's the function. she just tells you what version of the library you're living with π«Ά
and the string? it's built from:
- the major version
- the minor version
- the patch level
- and optionally a tag describing a pre-release version π·οΈ
so like, a full grown release and a pre-release both get described, just with that little tag popping in when it's a pre-release. main character energy fr fr π
ngl the "static string" part matters β you're not getting a fresh malloc'd thing to free later, so please don't go trying to free() it π that's not the vibe.
β RETURN VALUE β
the tlsrpt_version function returns a static string describing the version of libtlsrpt. same string, same deal, no cap β¨
π§ SEE ALSO π§
man:tlsrpt_version_check[3]β go say hi, she's the sensible friend who actually checks things π
π AUTHOR π
Boris Lohner β ty for your service king ππ
okay that's the whole page, you're officially educated π
this was tlsrpt_version, from the tlsrpt_version manual, dated 2026-09-01 β mwah, go forth and version-check responsibly π
π¦ where this page comes from
- arch rolling: libtlsrpt 0.5.1-1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms