home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FindCLI(31.0) ARP Programmers Manual FindCLI(31.0)
-
-
-
- NAME
- FindCLI - Get process struct for CLI number
-
- SYNOPSIS
- Process = FindCLI(tasknum)
- d0 d0
-
- FUNCTION
- This function takes a CLI task number (such as given to
- programs like Status and Break) and returns a pointer to the
- process structure base, or ZERO if there is no CLI
- corresponding to that number. If called with the special
- CLI number ZERO, the maximum possible number of CLI
- processes is returned.
-
- INPUTS
- tasknum -The CLI task number for the process, or special
- case ZERO, which returns the total number of process
- slots.
-
- RESULT
- Process - A process structure, or NULL. If called with
- tasknum = 0, the total number of allowable CLI
- processes is returned.
-
- ADDITIONAL CONSIDERATIONS
- This function does not Forbid() or do any locking on its
- own. You must call this function only while your own code
- is running between Forbid() Permit() pairs.
-
- BUGS
- None known.
-
- AUTHOR
- SDB
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 2/22/88)
-
-
-
-