Guardian Procedure Calls Reference Manual
CONFIG_GETINFO_BYLDEV2_ Procedure
CONFIG_GETINFO_BYNAME2_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Structure Definitions for common-info
Considerations
Summary
The CONFIG_GETINFO_BYLDEV2_ and CONFIG_GETINFO_BYNAME2_ procedures obtain the
logical and physical attributes of a device. To specify the device by logical device number, use
the CONFIG_GETINFO_BYLDEV2_ procedure. To specify the device by name, use the
CONFIG_GETINFO_BYNAME2_ procedure.
The CONFIG_GETINFO_BYLDEV2_ and CONFIG_GETINFO_BYNAME2_ procedures are variants
of CONFIG_GETINFO_BYLDEV_ and CONFIG_GETINFO_BYNAME_. The
CONFIG_GETINFO_BYLDEV2_ and CONFIG_GETINFO_BYNAME2_ procedures allow the caller
to specify device names that do not conform to Guardian file-name formats as required by some
communication devices.
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_BYLDEV2_)>
__int32_t CONFIG_GETINFO_BYLDEV2_ ( __int32_t ldevnum
,short *common-info
,short common-maxlen
,short *common-len
,char *specific-info
,short specific-maxlen
,short *specific-len
,__int32_t timeout
,__int32_t *error-detail );
#include <cextdecs(CONFIG_GETINFO_BYNAME2_)>
__int32_t CONFIG_GETINFO_BYNAME2_ ( char *devname
,short length
,short *common-info
,short common-maxlen
,short *common-len
,char *specific-info
,short specific-maxlen
,short *specific-len
,__int32_t timeout
,__int32_t *error-detail );
CONFIG_GETINFO_BYLDEV2_ Procedure 197