Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-254
PROCESSOR_GETNAME_ Procedure
Syntax for TAL Programmers
Parameters
error returned value
INT
returns a file-system error number indicating the outcome of the operation.
Possible values include the following:
0 Information returned successfully
22 Parameter or buffer out of bounds
29 Missing parameter
201 Unable to communicate over this path
590 Parameter value bad or inconsistent
cpu-number input
INT:value
is the number that identifies the processor of interest. This parameter is required
when either
node-name or node-number is specified. If cpu-number is omitted
or equal to -1, and if neither
node-name nor node-number is specified, then the
callers processor is used.
name:maxlen output:input
STRING .EXT:ref:*, INT:value
returns the processor type as a character string.
maxlen specifies the length in
bytes of the string variable
name and must be at least 3. If the name to be
returned is longer than
maxlen, the returned value is truncated to maxlen bytes.
If the processor type is unknown, the procedure returns a blank string in
name and
0 in
namelen.
error := PROCESSOR_GETNAME_ ( [ cpu-number ] ! i
,name:maxlen ! o:i
,namelen ! o
,[ cpu-type-out ] ! o
,[ node-name:length ] ! i:i
,[ node-number ] ! i
,[ cpu-type-in ] ! i
,[ expand-name ] ! i
,[ cpu-model-out ] ! o
,[ cpu-model-in ] ); ! i