Guardian Procedure Calls Reference Manual
PROCESSORTYPE Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Example
Summary
The PROCESSORTYPE procedure returns the processor type of a specified system and processor.
For further information about supported processors, see Table 39 (page 1168).
Syntax for C Programmers
#include <cextdecs(PROCESSORTYPE)>
short PROCESSORTYPE ( [ short cpu ]
,[ sysid ] );
Syntax for TAL Programmers
type := PROCESSORTYPE ( [ cpu ] ! i
,[ sysid ] ); ! i
Parameters
cpu
input
INT:value
is the processor number identifying the processor of which the type is returned.
If no value is specified for cpu, the processor from which the call is made is used and the
sysid parameter is ignored.
sysid
input
INT:value
is the system number identifying the system of the processor of which the type is returned. If no
value is specified for sysid, the system from which the call is made is used.
Returned Value
INT
Processor type of the specified system and processor or one of these error values:
Feature not supported for the system named in sysid.-2
Unable to communicate with processor (either it does not exist or the network is down).-1
For information on processors indicated by values 0 through 10, see Table 39 (page 1168).
If cpu is greater than 15 or less than 0, then -1 is returned. If sysid is invalid or the system is
unavailable across the network, then -1 is returned. Types 0, 1, 2, and 3 are no longer supported.
1178 Guardian Procedure Calls (P)