Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-94
CONFIG_GETINFO_BYLDEV_ Procedure (G-Series
and H-Series RVUs Only)
CONFIG_GETINFO_BYLDEV_ Procedure
(G-Series and H-Series RVUs Only)
CONFIG_GETINFO_BYNAME_ Procedure
(G-Series and H-Series RVUs Only)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Structure Definition for common-info
Considerations
Summary
The CONFIG_GETINFO_BYLDEV_ and CONFIG_GETINFO_BYNAME_ procedures
obtain the logical and physical attributes of a device on a G-series RVU. To specify the
device by logical device number, use the CONFIG_GETINFO_BYLDEV_ procedure.
To specify the device by name, use the CONFIG_GETINFO_BYNAME_ procedure.
The CONFIG_GETINFO_BYLDEV_ procedure is provided to simplify migration from
earlier hardware. This procedure does not return information from subtype 30
processes. For new development, use the CONFIG_GETINFO_BYNAME_ procedure.
Syntax for C Programmers
Note. In the TNS/E environment, the CEXTDECS file uses the int data type for 32-bit values.
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long
data type for 32-bit values.
#include <cextdecs(CONFIG_GETINFO_BYLDEV_)>
__int32_t CONFIG_GETINFO_BYLDEV2_ ( __int32_t ldevnum
, short common-info-maxlen
, short *common-info-len
, char *specific-info
, short specific-info-maxlen
, short *specific-info-len
, __int32_t timeout
, __int32_t *error-detail );