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

FindCliProc

Returns a pointer to the requested CLI process

Declaration

Source position: amigados.pas line 2528

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