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 /


OTAddLast

Adds a link to the end of a FIFO list.

C INTERFACE
void OTAddLast      (OTList* list,
                     OTLink* link)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
list
A pointer to the linked list to which you want to add the link.
link
A pointer to the link to be placed in the list.
DISCUSSION
This function adds the link referenced by the link parameter to the end of the FIFO list referenced by the list parameter.

Use the OTAddFirst function to place a link at the front of a FIFO list.

Use the OTRemoveLast function to remove the last link in a FIFO list.

Use the OTGetLast function to obtain a pointer to the last link in a FIFO list.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998