[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
	FindCliProc -- returns a pointer to the requested CLI process (V36)

   SYNOPSIS
	proc = FindCliProc(num)
	D0             D1

	struct Process *FindCliProc(ULONG)

   FUNCTION
	This routine returns a pointer to the CLI process associated with the
	given CLI number.  If the process isn't an active CLI process, NULL is
	returned.  NOTE: should normally be called inside a Forbid(), if you
	must use this function at all.

   INPUTS
	num  - Task number of CLI process (range 1-N)

   RESULT
	proc - Pointer to given CLI process

   SEE ALSO
	Cli(), Forbid(), MaxCli()