Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtGenTreeFreeItems

PtGenTreeFreeItems

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtGenTreeFreeItems()

Free the items in a subtree

Synopsis:

int PtGenTreeFreeItems( PtGenTreeItem_t *item );

Description:

This function frees the subtree item, together with its siblings and their children. The items must not belong to any tree. (Use PtGenTreeRemoveItem(), PtGenTreeRemoveList(), or PtGenTreeRemoveChildren() to remove the subtree before freeing it.)

Returns:

0
Success.
-1
The item is still in a widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenTree, PtGenTreeItem_t