Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manual522629-013
10-42
NODENUMBER_TO_NODENAME_ Procedure
NODENUMBER_TO_NODENAME_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Consideration
Summary
The NODENUMBER_TO_NODENAME_ procedure converts a node number (system
number) to the corresponding node name (system name). It can also be used to
obtain the name of the caller’s node.
Syntax for C Programmers
CEXTDECS (via 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
error returned value
INT
is a file-system error number indicating the outcome of the operation.
nodenumber input
INT(32):value
if present and not -1D, is the number of the node whose name is to be returned. If
nodenumber is omitted or -1D, the name of the caller’s node is returned.
#include <cextdecs(NODENUMBER_TO_NODENAME_)>
short NODENUMBER_TO_NODENAME_ ( [ __int32_t nodenumber ]
,char *nodename
,short maxlen
,short *length
,[ __int32_t *ldevnum ] );
error := NODENUMBER_TO_NODENAME_ ( [ nodenumber ] ! i
,nodename:maxlen ! o:i
,nodename-length ! o
,[ ldevnum ] ); ! o