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
OTLIFO List Utility Functions /


OTLIFODequeue

Removes the first link in a LIFO list and returns a pointer to it.

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

PARAMETERS
list
A pointer to the LIFO list from which you want to remove the link.
function result
A pointer to the link that has be removed.
DISCUSSION
This function atomically removes the first link in the specified LIFO list and returns a pointer to it. If there are no elements in the list, it returns nil.

Use the OTLIFOStealList function to remove all links from a LIFO list.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998