dio_audit_info_c

	status.i4.v = dio_audit_info_c(device_indices.i4a.r, num_devices.i4.v,
				       errors.i2a.r, first_dates.u4a.r,
				       first_users.i1a.r, last_dates.u4a.r,
				       last_users.i1a.r)

	This routine returns audit information for a device or a list of
	devices.

	device_indices	device index or array of device indices
	num_devices	number of devices
	errors		returned ACNET status value or array of status values
	first_dates	returned first audit date in clinks or an array
			of first dates
			(A value of NULL may be passed if no first dates
			 are needed.)
	first_users	returned first audit user name or an array of user
			names (USER_NAME_LEN characters per entry)
			(A value of NULL may be passed if no first audit
			 user names are needed.)
	last_dates	returned last audit date in clinks or an array
			of last dates
			(A value of NULL may be passed if no last dates
			 are needed.)
	last_users	returned last audit user name or an array of user
			names (USER_NAME_LEN characters per entry)
			(A value of NULL may be passed if no last audit
			 user names are needed.)

	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
				success

	This function requires the following include files:

	cnsparam_h, diolib_h, acnet_errors_h

	Related functions:

	dio_edit_comment_info_c, dio_obsolete_info_c,
	dio_longest_device_obsolete_comment, dio_documentation_info_c,
	dio_longest_device_document_comment, dio_dbquery_c,
	error_in_list(_c)

	C/C++ usage:

	char	first_users[NUM_DEVICES][USER_NAME_LEN];
	char	last_users[NUM_DEVICES][USER_NAME_LEN];
	short	errors[NUM_DEVICES];
	int	status;
	static const int	device_indices[NUM_DEVICES] = {14430, 14431};
	int	num_devices = NUM_DEVICES;
	unsigned int	first_dates[NUM_DEVICES];
	unsigned int	last_dates[NUM_DEVICES];

	status = dio_audit_info_c(device_indices,num_devices,errors,
				  first_dates,(char *) first_users,
				  last_dates,(char *) last_users);