Guardian Procedure Calls Reference Manual

1
This system is no longer supported.
Considerations
If PROCESSOR_GETINFOLIST_ returns a nonzero error value, the contents of
ret-values-list and ret-values-len are undefined.
Example
In this example, the processor type and model of the caller's processor are returned in a structure.
LITERAL type = 2;
LITERAL model = 47;
INT attributes [0:1] := [ type, model ];
STRUCT processor^info;
BEGIN
INT processor^type;
INT processor^model;
END;
.
.
.
error := PROCESSOR_GETINFOLIST_ ( nodename:length
,! cpu parameter not
needed,!
! defaults to callers cpu
!
,attributes
,$OCCURS( attributes )
,processor^info
,$LEN ( processor^info ) / 2
,return^length );
PROCESSOR_GETINFOLIST_ Procedure 1171