Find the value of a dictionary entry based on the entry's key (returns a shareable string object handle)
#include <strm.h> const strm_string_t *strm_dict_find_rstr( const strm_dict_t *dict, const char *key );
libstrm
The function strm_dict_find_rstr() finds the dictionary entry specified by the key argument, returning a handle to the entry's value. The returned shareable string object handle is owned by the dictionary, and remains valid until the dictionary handle is destroyed.
A handle to the value of the dictionary entry specified by the key parameter if the the entry is found, or a null pointer if it isn't found.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |