Unit 'Exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

FindName

Find a node in a system list by name

Declaration

Source position: exec.pas line 1257

function FindName(

  List: PList;

  const Name: PChar

):PNode;

Arguments

List

  

A list or a list node to start the search (if node, this one is skipped)

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