Return the value of the dlog_testmode attribute in CDiagAtt for the specified device.
#include <diag/diag_log.h> int dlog_getTestMode(char *name)
The dlog_getTestMode subroutine gets a CDiagAtt object for the specified device with an attribute of dlog_testmode. The value of the dlog_testmode is returned.
Parameter | Description |
---|---|
name | Character pointer to the name of the device |
Upon successful completion, the test mode is returned. Otherwise, -1 is returned if the object does not exist.