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

FindName

Find a node in a system list by name

Declaration

Source position: exec.pas line 1764

function FindName(

  Start: PList;

  const Name: PChar

):PNode;

Arguments

Name

  

Node name to find in the list

Function result

A pointer to the node with the same name else nil to indicate that the string was not found.

Description

Search a system list for a node with the given name. To find multiple occurrences of a string, this function may be called with a different node starting point.

No arbitration is done for access to the list! If multiple tasks access the same list, an arbitration mechanism such as SignalSemaphores must be used.


Documentation generated on: 2021-07-30