Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-95
CONFIG_GETINFO_BYNAME_ Procedure
(G-Series and H-Series RVUs Only)
Syntax for TAL Programmers
Parameters
error returned value
INT(32)
indicates the outcome of the operation. It returns one of the following values:
0D Information was successfully returned.
1D Either the device or the process simulating a device detected a file-system
error;
error-detail contains a file-system error number. If error-
detail is 14D, the device was not found. If error-detail is 40D,
the I/O subsystem did not respond within the
timeout specified.
#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
, __int_32_t timeout
, __int32_t *error-detail );
error := CONFIG_GETINFO_BYLDEV_ (
ldevnum ! i
,common-info ! o
,common-info-maxlen ! i
,common-info-len ! o
,specific-info:specific-info-maxlen ! o:i
,specific-info-len ! o
,timeout ! i
,error-detail ); ! o
error := CONFIG_GETINFO_BYNAME_ (
devname:length ! i
,common-info ! o
,common-info-maxlen ! i
,common-info-len ! o
,specific-info:specific-info-maxlen ! o:i
,specific-info-len ! o
,timeout ! i
,error-detail ); ! o