hsearch_r: add DELETE action

Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
guohao15
2023-10-27 18:01:13 +08:00
committed by Alan Carvalho de Assis
parent 4fd175fd5c
commit b36521d4a4
2 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ typedef struct entry
typedef enum
{
FIND,
ENTER
ENTER,
DELETE
} ACTION;
struct hsearch_data