Docs » Autodocs » dos.library » FindCliProc
FindCliProc -- returns a pointer to the requested CLI process (V36)
proc = FindCliProc(num) D0 D1 struct Process *FindCliProc(ULONG)
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.
num - Task number of CLI process (range 1-N)
proc - Pointer to given CLI process
Cli(), exec.library/Forbid(), MaxCli()
|