status.i4.v = dio_emc_type_c(emcs.i1a.r, types.i4a.r, num_emcs.i4.v)

	This routine determines the alarm type associated with Event
	Message Code(s) (EMC(s)).

	emcs		EMC or an array of EMCs (LEN_EMC bytes per EMC)
	types		returned associated alarm type or array of types
			(DIO_ANALOG -> analog alarm,
			 DIO_DIGITAL -> digital alarm,
			 DIO_NOTYET -> unsupported front end or EMC type,
			 otherwise -> ACNET format error code)
	num_emcs	number of EMCs

	This function returns status values as follows:

	OK			success
	positive value		number of devices in error

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

	dio_dev_emc, dio_emc_to_device_index

	C/C++ usage:

	char	emcs[NUM_EMCS][LEN_EMC];
	short	errors[NUM_EMCS];
	int	status;
	int	types[NUM_EMCS];
	int	num_emcs = NUM_EMCS;

	status.i4.v = dio_emc_type_c((char *) emcs,types,num_emcs);