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


Home
QNX Community Resources
QNX Documentation Library
PtGenTreeItemRealloc

PtGenTreeItemRealloc

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

PtGenTreeItemRealloc()

Reallocate an item

Synopsis:

PtGenTreeItem_t *PtGenTreeItemRealloc( 
                     PtGenTreeItem_t *item, 
                     PtWidget_t *tree, 
                     size_t newsize );

Description:

Use this function to reallocate an item. It repairs any links damaged if the realloc() function moves the item to a different address. The tree argument must point to the tree that contains the item or be NULL if the item doesn't belong to any tree.

Returns:

A pointer to the reallocated item.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenTree, PtGenTreeItem_t