[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()