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

PtListItemExists()

Determine whether a list contains a particular item

Synopsis:

int PtListItemExists( PtWidget_t *widget,
                      const char *item );

Description:

This function performs a linear search on the list for the specified item.

Returns:

1
The item exists in the list.
0
The item wasn't found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtList, PtListItemPos()