Measure Reference Manual

MEASLISTCONFIG
Gets system configuration information from the MEASCTL process in a specified CPU. Each
MEASLISTCONFIG call gets configuration information for one type of device associated with one
CPU.
error := MEASLISTCONFIG ( cpunum ! i
,entity ! i
,buf ! o
,bufsize ! i
,bytesret ! o
,firstcall ); ! i,o
error
INT
is the error code indicating the outcome of the operation. Possible error codes include:
DescriptionError Code
Successful completion.0
The descriptors returned exceeded the buffer size.err^buftoosmall3204
cpunum
input
INT:value
is the number of a CPU from which you want configuration information.
entity
input
INT:value:1
is the entity type for which you want configuration information. entity must be one of:
SERVERNET^TNETLINE^TLINE^TIODEV^TDISK^T
buf
output
INT .EXT:ref:*
is the buffer in which entity descriptors are returned. MEASLISTCONFIG returns as many
descriptors as it can fit in the buffer. Use bufsize to set the buffer size.
bufsize
input
INT:value
is the buffer size. bufsize should be large enough for the buffer to hold at least one descriptor
of the type requested.
If the buffer cannot hold at least one descriptor, error 3204 (ERR^BUFTOOSMALL) is returned.
bytesret
output
INT:ref:1
is the number of bytes returned in the buffer.
If error 3204 (ERR^BUFTOOSMALL) has been returned, bytesret returns the minimum buffer
length needed for the specified descriptor type.
398 Measure Callable Procedures