strm_dict_key_get()
Get the key of a dictionary entry as a string, based on its index
Synopsis:
#include <sys/strm.h>
const char* strm_dict_key_get(const strm_dict_t *dict,
size_t n)Arguments:
- dict
- A dictionary handle.
- n
- The zero-based index of the entry whose key is being retrieved.
Library:
libstrmDescription:
This function finds the key of the entry stored at the zero-based index given in n, in the dictionary specified by dict. It returns the key as a string. This string is owned by the dictionary and remains valid until the dictionary handle is destroyed.
Returns:
The specified key as a string on success, or a null pointer on failure.
Page updated:
