alarm_get_num_current_alarms

	status.i4.v = alarm_get_num_current_alarms(num_alarms.i4.r)

	This routine will return the number of current alarms.

	num_alarms	returned number of alarms

	This function returns ACNET status values as follows:

	OK			success
	CLIB_GENERR		failed to determine the host name
	CLIB_TRUNCATED		returned host name was truncated
	CBS_BUGCHECK		unable to open a socket
	CBS_NOTOPN		unable to connect to socket
	CBS_DUPREQ		connection already exists
	CBS_NODAT		no messge is present to receive
	CBS_REQLIMIT		message clipped to maxlen

	This function requires the following include files:

	cbslib_h, alarmsapp_h, acnet_errors_h

	Related functions:

	alarm_get_current_alarms, alarm_callback_init_c,
	alarm_callback_term_c, alarm_list_find_device_c,
	alarm_list_name_to_devices_c, alarm_list_names,
	alarm_find_alarms_daemon_c

	C/C++ usage:

	int	status;
	int	num_alarms;

	status = alarm_get_num_current_alarms(&num_alarms);