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.