LookupItem

Gets a pointer to an item.

Synopsis

void *LookupItem( Item i )

Description

This procedure finds an item by its item number and returns the pointer to the item.

Note: Because items are owned by the system, user tasks cannot change the values of their fields. They can, however, read the values contained in the public fields.

Arguments

i
The number of the item to look up.

Return Value

The procedure returns the pointer to the item or NULL if the item does not exist.

Implementation

Folio call implemented in kernel folio V20.

Associated Files

item.h
ANSI C Prototype
clib.lib
ARM Link Library

See Also

CheckItem(), CreateItem(), FindItem(), FindNamedItem(), FindVersionedItem()