Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 27 - Utilities Reference / Functions
OTFIFO List Utility Functions /


OTGetIndexedLink

Returns a pointer to the link at a specified position in a FIFO list.

C INTERFACE
OTLink* OTGetIndexedLink(
                     OTList* list,
                     size_t index)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
list
A pointer to the FIFO list containing the link.
index
The index of the link sought. The head of the list is at index 0.
function result
A pointer to the link at the position specified by the index parameter, or NULL if index specifies a position that lies beyond the end of the list.
DISCUSSION
Use the OTIsInList function to determine whether a link is in a FIFO list.

Use the OTFindLink function to find a link in a FIFO list.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998