qt_dictionary_put - Man Page

insert a key/value pair into a dictionary

Synopsis

#include <qthread/dictionary.h>

void *
qt_dictionary_put (qt_dictionary *dict,

void *key,
void *value);

Description

This function inserts a key/value pair, consisting of the key and value specified, into the dictionary dict. If the key already exists within the dictionary, the value associated with it is replaced by value.

Return Values

Returns the address of the item in the dictionary after the put or NULL if the insert failed.

See Also

qt_dictionary_create(3), qt_dictionary_delete(3), qt_dictionary_destroy(3), qt_dictionary_end(3), qt_dictionary_get(3), qt_dictionary_iterator_copy(3), qt_dictionary_iterator_create(3), qt_dictionary_iterator_destroy(3), qt_dictionary_iterator_equals(3), qt_dictionary_iterator_get(3), qt_dictionary_iterator_next(3), qt_dictionary_put_if_absent(3)

Referenced By

qt_dictionary_create(3), qt_dictionary_delete(3), qt_dictionary_destroy(3), qt_dictionary_end(3), qt_dictionary_get(3), qt_dictionary_iterator_copy(3), qt_dictionary_iterator_create(3), qt_dictionary_iterator_destroy(3), qt_dictionary_iterator_equals(3), qt_dictionary_iterator_get(3), qt_dictionary_iterator_next(3), qt_dictionary_put_if_absent(3).

AUGUST 2012 libqthread