strm_dict_find_value()
Get the value of a dictionary entry as a string, based on its key
Synopsis:
#include <sys/strm.h>
const char* strm_dict_find_value(const strm_dict_t *dict,
const char *key)Arguments:
- dict
- A dictionary handle.
- key
- The key of the entry whose value is being retrieved.
Library:
libstrmDescription:
This function returns the value of the entry specified by key and found in the dict dictionary. The returned string is owned by the dictionary and remains valid until the dictionary handle is destroyed.
Returns:
If the entry is found, its value (as a string) is returned. If it's not found, a null pointer is returned.
Page updated:
