DBG_PRINT
Synopsis
include <fmdebug.h>
int dbg_print(char *format, ...);
Description
This function formats and dumps the given string to serial port 1 of the PSG.
Its use mirrors that of the C function printf.
On PSI-E and newer, this API writes to the HSM trace log.
On SafeNet ProtectServer PCIe HSMs, printf is preferred over use of this API.
Parameters
Parameter |
Description |
---|---|
format
|
Format of the string to print. This argument is followed by the values to place inside the format string. |
Return Value
Returns 0 or -1 for failure.