strm_dict_find_index()

Return the index of a dictionary entry

Synopsis:

#include <strm.h>

ssize_t strm_dict_find_index( const strm_dict_t *dict,
                              const char *key );

Arguments:

dict
A dictionary object handle.
key
The key of an entry to look up.

Library:

libstrm

Description:

The function strm_dict_find_index() returns the index of the entry specified by the key argument, if found in the specified dictionary.

Returns:

The index of the specified entry on success, or -1 if the entry is not found.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes