Erases the specified key from the specified map.
#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 handle for the map object to be modified.
The key for the entry to erase.
This function returns am_status_t with one of the following values:
If the entry was successfully erased from the map.
If either the map or key argument is NULL.
If the specified key is not currently in the map.