DragonFly On-Line Manual Pages

Search: Section:  


SHTK_LIST_CONTAINS(3)                       DragonFly Library Functions Manual

NAME

shtk_list_contains - Checks if an item appears in a list

LIBRARY

shtk_import list

SYNOPSIS

shtk_list_contains item [list_value1 .. list_valueN]

DESCRIPTION

The shtk_list_contains function searches for item in the list provided by the arguments list_value1 to list_valueN. Each list value must be provided as a separate positional parameter.

RETURN VALUES

shtk_list_contains returns 0 (true) if item appears in the list and 1 (false) if it does not.

SEE ALSO

shtk(3), shtk_list(3)

HISTORY

shtk_list_contains first appeared in shtk 1.0. DragonFly 6.5-DEVELOPMENT November 7, 2014 DragonFly 6.5-DEVELOPMENT

Search: Section: