Guardian Procedure Calls Reference Manual
Syntax for TAL Programmers
error := CONFIG_GETINFO_BYLDEV2_ ( ldevnum ! i
,common-info ! o
,common-maxlen ! i
,common-len ! o
,specific-info:specific-maxlen ! o:i
,specific-len ! o
,timeout ! i
,error-detail ); ! o
error := CONFIG_GETINFO_BYNAME2_ ( devname:length ! i
,common-info ! o
,common-maxlen ! i
,common-len ! o
,specific-info:specific-maxlen ! o:i
,specific-len ! o
,timeout ! i
,error-detail ); ! o
Parameters
ldevnum (CONFIG_GETINFO_BYLDEV2_ only)
input
INT(32):value
specifies the logical device number of the device for which information is requested.
devname:length (CONFIG_GETINFO_BYNAME2_ only)
input:input
STRING .EXT:ref:*, INT:value
specifies the name of the device to look up. The devname parameter and the length parameter
are required. The length parameter is the length of the string in bytes.
common-info
output
INT .EXT:ref: (ZSYS^DDL^CONFIG^GETINFO2)
specifies a pointer to a buffer that will hold the result of the call. The structure is always returned
if error has zero value.
common-maxlen
input
INT:value
specifies the length in bytes of the buffer pointed to by common-info. This value must be
greater than or equal to the size of common-info; otherwise, error is set to 2 and
error-detail is set to 3.
common-len
output
INT .EXT:ref:1
number of bytes returned by common-info. If the value returned by this procedure is nonzero,
this parameter will be returned as zero.
198 Guardian Procedure Calls (C)