Determine the position of an item in a list
int PtListItemPos( PtWidget_t *widget,
const char *item );
This function performs a linear search on the list for the specified item. If it finds the item, the function returns the item's position. Otherwise, it returns 0.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |