TPMLIB_GetVersion(3)
π TPMLIB_GetVersion(3) β the libtpms manual page π
okay bestie, welcome to the libtpms manual, this page is literally all about TPMLIB_GetVersion(3) and it's giving "tiny function, big version-energy" β¨
πΈ NAME πΈ
TPMLIB_GetVersion β get the version of the TPM library π
π¦ LIBRARY π¦
TPM library (libtpms, -ltpms) π
β¨ SYNOPSIS β¨
#include <libtpms/tpm_library.h>
uint32_t TPMLIB_GetVersion(void);
π DESCRIPTION π
The TPMLIB_GetVersion() function returns the libtpms library version. no cap, that's its whole job and it ate π«Ά
The TPM library version is formatted like this:
Bits 0 - 7 : revision of the library
Bits 8 -15 : minor version number of the library
Bits 16-23 : major version number of the library
So V0.5.1 is therefore represented as 0x00000501. iconic number packing, honestly π
π₯ SEE ALSO π₯
later bestie π this page comes from libtpms, dated 2026-01-02, and it's the TPMLIB_GetVersion(3) manual page β periodt π
π¦ where this page comes from
- alpine 3.24: libtpms-doc 0.10.2-r0 Β· BSD-3-Clause
- arch rolling: libtpms 0.10.2-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms