console_get_running_c

	status.i4.v = console_get_running_c(num_consoles.i4.r, consoles.i2a.r,
					    max_return.i4.v)

	This routine returns the list of currently running consoles.

	num_consoles	returned number of consoles currently running
	consoles	returned list of console numbers
	max_return	maximum number of console numbers to return
			(If a value of CNS_ALL_CONSOLES is passed,
			 "num_consoles" console numbers will be returned.
			 (maximum of CONSOLE_MAX))

	This function returns ACNET status values as follows:

	OK			success
	CBS_MEMFAIL		error in allocating dynamic memory
	ACNET_xxx		error in reading console information

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	console_get_active_c, console_live_info_c, console_info_c,
	console_extract_slot_info_c, console_maximum_node_number

	C/C++ usage:

	short	consoles[CONSOLE_MAX];
	int	status;
	int	num_consoles;
	int	max_return = CONSOLE_MAX;

	status = console_get_running_c(&num_consoles,consoles,max_return);