dio_device_area_c

	status.i4.v = dio_device_area_c(device_indices.i4a.r,
					area_ids.i4a.r, errors.i2a.r,
					[,num_devices.i4.v])

	This routine returns the related area information
	for a single device or a list of devices.

	device_indices	device index or array of device indices
	area_ids	returned array of area IDs
	errors		returned ACNET status value or array of status values
	[num_devices]	number of devices
			(default is 1)

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid property or 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
				success

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	dio_longest_area_name, dio_device_machine_c, dio_longest_machine_name,
	dio_department_info_c, dio_longest_department_name,
	dio_maintainer_info_c, error_in_list(_c)

	C/C++ usage:

	short	errors[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {177531, 177833};
	int	area_ids[NUM_DEVICES];
	int	num_devices = NUM_DEVICES;

	status = dio_device_area_c(device_indices,area_ids,errors,num_devices);