Important: The information in this document is obsolete and should not be used for new development.
OTRemoveFirst
Removes the first link in a FIFO list.C INTERFACE
OTLink* OTRemoveFirst (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 first link in the FIFO list referenced by thelist
parameter and returns a pointer to it. It returnsnil
if the list is empty.Use the
OTAddFirst
function to place a link at the front of a FIFO list.Use the
OTGetFirst
function to obtain a pointer to the first link in a FIFO list.