dlog_getTestMode
Purpose
Return the value of the dlog_testmode attribute in CDiagAtt for the specified device.
Syntax
#include <diag/diag_log.h>
int dlog_getTestMode(char *name)
Description
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.
Parameters
Parameter | Description |
---|---|
name | Character pointer to the name of the device |
Return Value
Upon successful completion, the test mode is returned. Otherwise, -1 is returned if the object does not exist.