asn1_check_version(3)
π asn1_check_version β the vibe check for your libtasn1 π
okay bestie, so this one lives in the libtasn1 manual (section 3, the library-functions section, iykyk) and it's literally just a version vibe check. no cap.
β¨ SYNOPSIS β¨
#include <libtasn1.h>
const char * asn1_check_version(const char * req_version);
πΈ ARGUMENTS πΈ
const char * req_versionβ the version number you're asking for, like the bare minimum you'll accept. or you can just passNULLand skip the whole demanding-girl era.
π¦ DESCRIPTION π¦
so what this does is: it checks that the version of the library is at minimum the one you requested, and then it hands you back the version string. π«Ά
if the condition is not satisfied? it returns NULL. no version string for you, sorry babe. π
and if you pass a NULL in there β req_version being NULL, that is β then no check happens at all, and the version string is just... simply returned. chill. low effort. iconic.
peek atASN1_VERSIONfor areq_versionstring that actually works here. that's the one you want. π
β RETURNS β
- the version string of the run-time library, or
NULLif the run-time library doesn't meet the required version number. π
π COPYRIGHT π
Copyright Β© 2006-2025 Free Software Foundation, Inc..
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
π SEE ALSO π
the full documentation for libtasn1 is maintained as a Texinfo manual. if the info and libtasn1 programs are properly installed at your site, the command
info libtasn1
should give you access to the complete manual. and as an alternative, you may obtain the manual from:
https://www.gnu.org/software/libtasn1/manual/
and that's the whole thing, bestie. this page came from libtasn1 4.21.0, asn1_check_version(3), and it was served fresh out of the libtasn1 manual. slay, go forth and check those versions. π
β¨π
π¦ where this page comes from
- alpine 3.22: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- alpine 3.23: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- alpine 3.24: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- arch rolling: libtasn1 4.21.0-1 Β· GPL-3.0-or-later AND LGPL-2.1-or-later AND GFDL-1.3-or-later
- fedora 43: libtasn1-devel 4.21.0-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: libtasn1-devel 4.21.0-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: libtasn1-devel 4.21.0-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: libtasn1-devel 4.21.0-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- ubuntu resolute: libtasn1-6-dev 4.21.0-2
- ubuntu stonking: libtasn1-6-dev 4.21.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms