logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TPMLIB_SetDebugFD - Set the file descriptor to send the debug output to

Description

TPMLIB_SetDebugFD() allows a user to set the file descriptor to send the debug output to. TPMLIB_SetDebugLevel() allows a user to set the debug level. Only debug levels greater than 1 will produce output. The indentation level of a line will determine whether it is printed. Lines with 0 indentation will be printed at debug level 1, 1 space of indentation at debug level 2 and so on. TPMLIB_SetDebugPrefix() allows a user to set a prefix that is to be printed in front of every line of debugging output. The prefix can be used for further indentation. libtpms 2025-06-25 TPMLIB_SetDebugFD(3)

Library

TPM library (libtpms, -ltpms)

Name

TPMLIB_SetDebugFD - Set the file descriptor to send the debug output to TPMLIB_SetDebugLevel - Set the debugging level TPMLIB_SetDebugPrefix - Set the prefix for each debugging line

Synopsis

#include<libtpms/tpm_library.h> uint32_tTPMLIB_SetDebugFD(intfd);uint32_tTPMLIB_SetDebugLevel(unsignedintlevel);uint32_tTPMLIB_SetDebugPrefix(constchar*prefix);

See Also