DtvLong dal_dfv_get_val (dsc, typ, val)

Returns the data type and the pointer to the default value string for the default value name in the system entity T_DEFAULT.

Input Parameters Significance
char *dsc name of the default value

Output Parameters Significance
char *typ data type of the default value:
S = string variable
I = integer variable
F = float variable
char **val pointer to the default value string

Return Code Significance
0 no error
1 no default value for the name found

If you pass zero pointers for both data type and default value string, the corresponding value will not be returned.

As opposed to the function dal_dfv_ret_val, this function returns the default value entry as string pointer only, so that a type casting based on the default value data types must be performed by the calling function itself.