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