Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kMap_Remove ( kMap  map,
const void *  key,
void *  oldKey,
void *  oldValue 
)

Removes a key-value pair from the map.

Parameters
mapMap object.
keyPointer to key.
oldKeyOptionally receives key (can be kNULL).
oldValueOptionally receives value (can be kNULL).
Returns
kOK if removed; kERROR_NOT_FOUND if key not found.