TPMLIB_VolatileAll_Store(3)
πΈ NAME πΈ
okay so bestie, meet TPMLIB_VolatileAll_Store(3) from the libtpms manual π. Its whole main-character job? Store all volatile state of the TPM in a buffer. No cap, that's the plot.
π LIBRARY π
TPM library (libtpms, -ltpms) β yep, that's the one you link against, iykyk.
β¨ SYNOPSIS β¨
The vibe check, exactly as the C gremlins intended:
#include <libtpms/tpm_library.h>
#include <libtpms/tpm_error.h>
TPM_RESULT TPMLIB_VolatileAll_Store(unsigned char **buffer,
uint32_t *buflen);
π DESCRIPTION π
So TPMLIB_VolatileAll_Store() is the function you call to get the volatile state of the TPM. It will allocate a buffer and return the number of bytes of state information in the buflen variable. That's it, that's the whole slay. β¨
π ERRORS π
TPM_SUCCESSβ the function completed successfully. We love a win. πTPM_FAILβ general failure. Not iconic, but it happens. π
For a complete list of TPM error codes please consult the include file libtpms/tpm_error.h β yes, actually go look, it's right there. π«Ά
π¦ SEE ALSO π¦
π that's the tea from libtpms, dated 2026-01-02 β TPMLIB_VolatileAll_Store(3) signing off, 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