strm_dict_find_index()

Return the index of a dictionary entry.

Synopsis:

#include <sys/strm.h>
 
ssize_t strm_dict_find_index(const strm_dict_t *dict,
                             const char *key)

Since:

BlackBerry 10.0.0

Arguments:

dict

A dictionary object handle.

key

The key of an entry to look up.

Library:

libstrm (For the qcc command, use the -l mrndclient option to link against this library)

Description:

This function 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.