Delete a dictionary entry (by index)
#include <strm.h> strm_dict_t *strm_dict_index_delete( strm_dict_t *dict, size_t index );
libstrm
The function strm_dict_index_delete() creates a new dictionary object that is an exact replica of the old object, except the entry specified by the index argument is deleted. The function returns a handle for the new dictionary object, or a null pointer on failure (including when the index is out of range). On success, the original dictionary handle is destroyed.
A handle for the new dictionary object, or a null pointer on failure (including when the index is out of range).
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |