dictsetvalue(3) - Linux man page

Name

dictSetValue - set/reset an items value.

Synopsis

#include <util/dict.h>

NEOERR *dictSetValue(dictCtx dict, const char *id, void *value);

Arguments

dict - dictionary to add pair to.
id - identifier to insert/update
value - value to store (may NOT be NULL)

Description

Updates the <id>/<value> pair into <dict>. If <id> is not in <dict>, it is created.

MT-Level: Safe if <dict> thread-safe.

Return Value

None.

See Also

dictdestroy(3), dictcleanup(3), dictreleaselock(3), dictremove(3), dictnext(3), dictcreate(3), dictSetValue(3), dictmodifyvalue(3), dictSearch

Referenced By

dictsearch(3)