Function hashmap_remove

Function Documentation

status_t hashmap_remove(struct hashmap *map, const void *key)

Remove a node from a hashmap.

This function searches the hashmap for the specified key. If it is found, it is removed from the appropriate bucket. If it is not found, no operation is performed, and success is returned.

Parameters:
  • map – The hashmap handle.

  • key – The key for the data to remove.

Returns:

status_t