status.i4.v = dio_addressing_mode_c(device_indices.i4a.r,
					    errors.i2a.r [,num_devices.i4.v]

	This routine returns the addressing mode for a device
	and property (DI/PI).  If "num_devices" is specified,
	data sizes for a list of devices/properties can be

	device_indices	device index or array of device indices
	properties	property index or array of indices
			(If the first value is less than zero, all devices
			 will be requested with a property index which is
			 equal to the absolute value of this argument.)
			(constants are in 'dbprops')
	[addr_modes]	returned array of addressing modes
			(A value of NULL may be passed if no addressing modes
			 are needed.)
	errors		returned ACNET status value or array of status values
	[num_devices]	number of devices (default is 1)
	[options]	retrieval options
			(DIO_OPT_NONE -> no options selected (default),
			 DIO_OPT_ALLOW_OBSOLETE -> return data for obsolete

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid number of devices passed
	DIO_MEMFAIL		memory allocation failure
	negative value		ACNET format error indicating overall failure
	positive value		number of devices in error indicating partial

	This function requires the following include files:

	cnsparam_h, dbprops_h, diolib_h, acnet_errors_h

	Related functions:

	dio_data_length_c, dio_data_length_ext_c, dio_num_data_elements_c,
	dio_raw_element_length_c, dio_historic_data_length_c, dio_get_dev(_c),
	dio_get_raw(_c), dio_bld_get(_c), dio_set_dev(_c), dio_set_raw(_c),
	dio_bld_set(_c), dio_extrema(_c), dio_raw_data_type, dio_dpreq_info,
	dio_cache_property_info_c, dio_data_type_info_c, error_in_list(_c),
	dio_enable_obsolete_dev_info, dio_disable_obsolete_dev_info

	C/C++ usage:

	short	errors[NUM_DEVICES];
	short	properties = -PRSET;
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	num_devices = NUM_DEVICES;
	int	addr_modes[NUM_DEVICES];
	unsigned int	options = DIO_OPT_NONE;

	status = dio_addressing_mode_c(device_indices,&properties,addr_modes,