This patch initiates definitions for search.h as specified in POSIX.1-2001. Because this patch means to
be a part of a larger patch of hashtable implementation, the header definition is not complete,
only hsearch, hdelete, hcreate, ACTION, ENTRY (POSIX standards), and hsearch_r, hdetele_r, hcreate_r,
struct hsearch_data (GNU extensions) are added.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hi,
I have two more questions regarding this:
- typedef enum { FIND, ENTER } ACTION; What should I do with a type-defined enum. I mean, should I trait it as a type or an enum (which seems to be distinguished in the header name such as enum_action.h and action.h)? Same question also applies to the situation of struct_action vs action.
- Should I ping the reviewers at each patch of the stacked series?
Best,
Yifan