Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PtListItemPos

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PtListItemPos

[Previous] [Contents] [Index] [Next]

PtListItemPos()

Determine the position of an item in a list

Synopsis:

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

Description:

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

Returns:

The position of the item, or 0 if it wasn't found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtList, PtListItemExists()


[Previous] [Contents] [Index] [Next]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026