Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtListReplaceItems()
Replace specific items in a list
Synopsis:
int PtListReplaceItems( PtWidget_t *widget,
const char **old_items,
const char **new_items,
int item_count );
Description:
This function searches the entire list for each item in old_items. Every occurrence of each item found is replaced with the corresponding new_item. This operation continues until item_count is reached.
Returns:
- 0
- Success.
- -1
- A memory allocation error occurred, or the specified widget is not a PtList widget.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtList, PtListReplaceItemPos()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)