Updated: October 28, 2024 |
Get the key of a dictionary entry as a string, based on its index
#include <sys/strm.h>
const char* strm_dict_key_get(const strm_dict_t *dict, size_t n)
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.
The specified key as a string on success, or a null pointer on failure.