Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtListDeleteAllItems()

Delete all items from a list

Synopsis:

int PtListDeleteAllItems( PtWidget_t *widget );

Description:

This function deletes all the items from a list.

Returns:

0
Success.
-1
The specified widget isn't a PtList widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtList, PtListDeleteItems(), PtListDeleteItemPos(), PtListRemovePositions()