Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual522629-013
4-69
DEVICE_GETINFOBYNAME_ Procedure
(Superseded on G-Series Releases)
Syntax for TAL Programmers
Parameters
error returned value
INT
indicates the outcome of the operation. It returns one of the following values:
0 Information was successfully returned
1 (reserved)
2 Parameter error;
error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
3 Bounds error;
error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
4 Device not found;
error-detail contains a file-system error number.
devname:length input:input
STRING .EXT:ref:*, INT:value
specifies the name of the device for which information is requested.
devname
must be a local name (that is, it must not include a system name) and must have
no qualifiers.
A
devname in the form $logical-device-number (for example, $23) is
acceptable.
devname must be exactly length bytes long.
error := DEVICE_GETINFOBYNAME_ ( devname:length !
i:i
,[ logical-info ] ! o
,[ logical-info-maxlen ] ! i
,[ logical-info-len ] ! o
,[ primary-info ] ! o
,[ primary-info-maxlen ] ! i
,[ primary-info-len ] ! o
,[ backup-info ] ! o
,[ backup-info-maxlen ] ! i
,[ backup-info-len ] ! o
,[ timeout ] ! i
,[ error-detail ] ); ! o