dio_is_event_enabled(_c)

	status.i4.v = dio_is_event_enabled_c(event.i4.v, clock_system.i4.v,
					     is_enabled.i4.r)

	This routine determines whether or not a system clock event is enabled.

	event		event number to control (constants are in 'tclk_events')
	clock_system	clock system of event
			(DIO_TCLK -> Tevatron clock,
			 DIO_MIBS -> Main Injector beam synch,
			 DIO_TVBS -> Tevatron beam synch,
			 DIO_RRBS -> Recycler beam synch)
	is_enabled	returned clock event enabled status
			(TRUE -> event is enabled,
			 FALSE -> event is disabled,
			 DIO_INVALID_DATA -> status check failed)

	This function returns ACNET status values as follows:

	OK			success
	DIO_BADARG		invalid clock system
	DIO_NO_SUCH		invalid event or no device corresponding
				to clock event
	otherwise		error reading clock event status

	This function requires the following include files:

	diolib_h, tclk_events_h, acnet_errors_h

	Related functions:

	dio_event_control_c, dio_event_control_list_c

	C/C++ usage:

	int	status;
	int	event = EVENT_TEV_ADC_COMPARE;
	int	clock_system = DIO_TCLK;
	int	is_enabled;

	status = dio_is_event_enabled_c(event,clock_system,&is_enabled);