Guardian Programming Reference Summary for C

Functions Summary (A-C)
Guardian Programming Reference Summary for C522630-001
4-20
return value:
CONFIG_GETINFO_BYLDEV2
CONFIG_GETINFO_BYNAME2
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.
#include <cextdecs(CONFIG_GETINFO_BYNAME_)>
short CONFIG_GETINFO_BYNAME_
( char *devname /* i */
, long length /* i */
, long *common-info /* o */
, long common-info-maxlen /* i */
, long *common-info-len /* o */
, char *specific-info /* o */
, long specific-info-maxlen /* i */
, long *specific-info-len /* o */
, long timeout /* i */
, long *error-detail ); /* o */
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.
2D Parameter error; error-detail contains the number of the first parameter to be
in error, where 1D designates the first parameter on the left.
3D Bounds error; error-detail contains the number of the first parameter to be in
error, where 1D designates the first parameter on the left.
4D Either the device or the process simulating a device detected an error; error-
detail contains the error number returned by the device.
Note. These procedures are supported only on G-series releases. To obtain information about
devices on D-series releases, call one of the following procedures:
FILE_GETINFOBYNAME_, DEVICE_GETINFOBYNAME_, or DEVICE_GETINFOBYLDEV_.