Mission Base

Program Base Library Functions

void* pblListSetLast

( PblList* list, void* element )

Replaces the tail (last element) of this list.

Documentation

Replaces the tail (last element) of this list.

This method has a time complexity of O(1).

Parameters:
list - The list to use
element - Element to be stored at the last position
Returns:
void * retptr != (void*)-1: The last element of this list before this call, may be NULL.
void * retptr == (void*)-1: An error, see pbl_errno:
PBL_ERROR_OUT_OF_BOUNDS - this list is empty.

Alphabetic index



This page was generated with the help of DOC++.