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

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

RESULT
    proc - Pointer to given CLI process

SEE ALSO
    cli(), forbid(), maxcli()