Erases the entry, associated with the specified key, from the specified map object.
#include "am_map.h" AM_EXPORT am_status_t am_map_erase(am_map_t map, const char *key);
This function takes the following parameters:
The specified map object.
Pointer to the key of the entry to be erased.
This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the entry was successfully erased.
If either the map or key argument is NULL.
If the specified key is not in the map.