strm_dict_index_delete()

Delete a dictionary entry (by index)

Synopsis:

#include <strm.h>

strm_dict_t *strm_dict_index_delete( strm_dict_t *dict,
                                     size_t index );

Arguments:

dict
A dictionary object handle.
index
The index of the entry to delete.

Library:

libstrm

Description:

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.

Returns:

A handle for the new dictionary object, or a null pointer on failure (including when the index is out of range).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes