task.i4.v = get_task_c(slot.i4.v)

	This routine will return the RAD50 task name of the program
	running in a given console process slot.

	slot		process slot #
			(PA_SLOT -> PA primary application,
			 PB_SLOT -> PB primary application,
			 PC_SLOT -> PC primary application,
			 PD_SLOT -> PD primary application,
			 PE_SLOT -> PE primary application,
			 SA_SLOT -> SA secondary application,
			 SB_SLOT -> SB secondary application,
			 SC_SLOT -> SC secondary application,
			 SD_SLOT -> SD secondary application,
			 SE_SLOT -> SE secondary application,
			 ALARM_SLOT -> alarms task,
			 NONUSER_SLOT -> nonuser application)

	This function returns status values as follows:

	RAD50 task name of program

	This function requires the following include files:

	cnsparam_h, cbslib_h

	Related functions:

	get_task_name_c, process_get_active,
	get_process_number, get_process_name, check_for_sa(_c), find_sa

	C/C++ usage:

	int	task;
	int	slot = PA_SLOT;

	task = get_task_c(slot);