Guardian Procedure Calls Reference Manual

CONFIG_GETINFO_BYLDEV_ Procedure
CONFIG_GETINFO_BYNAME_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Structure Definitions for common-info
Structure Definitions for specificinfo
Considerations
Summary
The CONFIG_GETINFO_BYLDEV_ and the CONFIG_GETINFO_BYNAME_ procedures obtain the
logical and physical attributes of a device. 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_BYLDEV_ ( __int32_t ldevnum
,short *common-info
,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 );
#include <cextdecs(CONFIG_GETINFO_BYNAME_)>
__int32_t CONFIG_GETINFO_BYNAME_ ( char *devname
,short length
,short *common-info
,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 );
CONFIG_GETINFO_BYLDEV_ Procedure 185