Files
llvm/libc/include/search.yaml
Roland McGrath 13f7786f72 [libc] Remove trivial .h.def files (#149466)
Remove all the .h.def files that already express nothing
whatsoever not already expressed in YAML.  Clean up a few YAML
files without materially changing any generated header output.

Many more .h.def files remain that need a bit of conversion in
YAML to express macro requirements and such.
2025-07-18 11:35:09 -07:00

83 lines
1.6 KiB
YAML

header: search.h
standards:
- posix
types:
- type_name: ACTION
- type_name: ENTRY
- type_name: VISIT
- type_name: __search_compare_t
- type_name: struct_hsearch_data
enums: []
objects: []
functions:
- name: hcreate
standards:
- posix
return_type: int
arguments:
- type: size_t
- name: hcreate_r
standards: gnu
return_type: int
arguments:
- type: size_t
- type: struct hsearch_data *
- name: hdestroy
standards: gnu
return_type: void
arguments: []
- name: hdestroy_r
standards:
- posix
return_type: void
arguments:
- type: struct hsearch_data *
- name: hsearch
standards:
- posix
return_type: ENTRY *
arguments:
- type: ENTRY
- type: ACTION
- name: hsearch_r
standards: gnu
return_type: int
arguments:
- type: ENTRY
- type: ACTION
- type: ENTRY * *
- type: struct hsearch_data *
- name: insque
standards:
- posix
return_type: void
arguments:
- type: void *
- type: void *
- name: remque
standards:
- posix
return_type: void
arguments:
- type: void *
- name: lfind
standards:
- posix
return_type: void *
arguments:
- type: const void *
- type: const void *
- type: size_t *
- type: size_t
- type: __search_compare_t
- name: lsearch
standards:
- posix
return_type: void *
arguments:
- type: const void *
- type: void *
- type: size_t *
- type: size_t
- type: __search_compare_t