alarm_find_alarms_daemon_c

	status.i4.v = alarm_find_alarms_daemon_c(host_name.i1a.r, port.i4.r
						 [,name_length.i4.v])

	This routine will return a host name and port for an alarms daemon.

	host_name	returned alarms daemon host name
			(allow at least 256 characters)
	port		returned alarms daemon port
	[name_length]	length of host name buffer
			(default is 0 (ignore length))

	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
	CLIB_NOT_OPEN		unable to open a socket

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	alarm_callback_init_c, alarm_callback_term_c, alarm_list_find_device_c,
	alarm_list_name_to_devices_c, alarm_list_names,
	alarm_get_current_alarms, alarm_get_num_current_alarms

	C/C++ usage:

	char	host_name[256];
	int	status;
	int	port;
	int	name_length = (int) sizeof(host_name) - 1;

	status = alarm_find_alarms_daemon_c(host_name,&port,name_length);