Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-258
PROCESSORSTATUS Procedure
PROCESSORSTATUS Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Summary
The PROCESSORSTATUS procedure returns the highest processor number plus 1 of
the configured processor modules in a system and the operational states of all the
processor modules.
See Table 12-6, Summary of Processor Types and Models
for further information about
supported processors.
Syntax for C Programmers
CEXTDECS (through the included file TNSINTH) defines 32-bit values as the
typedef __int32_t which for TNS and TNS/R compiles is defined as long and for
TNS/E compiles is defined as
int.
Syntax for TAL Programmers
Parameters
processor-status returned value
INT(32)
returns two words indicating the highest processor number plus 1 of the configured
processor modules and the operational states of all the processor modules.
The most significant word contains the highest processor number plus one.
#include <cextdecs(PROCESSORSTATUS)>
__int32_t PROCESSORSTATUS ();
processor-status := PROCESSORSTATUS;