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 /


OTRemoveLast

Removes the last link in a FIFO list.

C INTERFACE
OTLink* OTRemoveLast(OTList* list)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
list
A pointer to the FIFO list from which you want to remove the link.
function result
A pointer to the link that has been removed.
DISCUSSION
This function removes the last link in the FIFO list referenced by the list parameter and returns a pointer to it. If the list is empty, it returns nil.

Use the OTAddLast function to place a link at the end of 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