Modify a dictionary entry (using key-value strings)
#include <strm.h> strm_dict_t *strm_dict_set( strm_dict_t *dict, const char *key, const char *value );
libstrm
The function strm_dict_set() creates a new dictionary object that is an exact replica of the dictionary object specified by the dict argument, except that the entry specified by the key and value arguments is added or modified. A handle to the new dictionary object is returned. The original dictionary handle is destroyed on success.
A handle to the new dictionary object on success, or a null pointer on failure.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |