Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#amunits]

FindCliProc

Returns a pointer to the requested CLI process

Declaration

Source position: amigados.pas line 1639

function FindCliProc(

  num: LongWord

):pProcess;

Arguments

num

  

Task number of CLI process (range 1-N)

Function result

Pointer to given CLI process

Description

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

See also

Cli

  

Returns a pointer to the CLI structure of the process

MaxCli

  

Returns the highest CLI process number possibly in use

exec.Forbid

  

Forbid task scheduling.


Documentation generated on: 2021-07-30