Operating systems, development tools, and professional
services for connected embedded systems
Home
Developer Resources
Developer Support

QNX Developer Support

PDF Documents
More resources
[Previous] [Contents] [Index] [Next]

PtGenListItemRealloc()

Reallocate memory for an item

Synopsis:

PtGenListItem_t *PtGenListItemRealloc(
                     PtGenListItem_t *item, 
                     PtWidget_t *list, 
                     size_t size );

Description:

This function isn't used by the PtGenList widget itself. It may be used to reallocate memory if the item was allocated using malloc().

The given size should include the size of the PtGenListItem_t structure. If the item is moved to a different address by the realloc() function, PtGenListItemRealloc() repairs the list links.

Returns:

A pointer to the reallocated item.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t


[Previous] [Contents] [Index] [Next]
 
©2013 QNX Software Systems Limited, a subsidiary of BlackBerry.   BlackBerry Logo