1search.h(3HEAD) Headers search.h(3HEAD)
2
3
4
6 search.h, search - search tables
7
9 #include <search.h>
10
11
13 The <search.h> header defines the ENTRY type for structure entry, which
14 includes the following members:
15
16 char *key
17 void *data
18
19
20
21 and defines ACTION and VISIT as enumeration data types through type
22 definitions as follows:
23
24 enum { FIND, ENTER } ACTION;
25 enum { preorder, postorder, endorder, leaf } VISIT;
26
27
28
29 The size_t type is defined as described in <sys/types.h>. See
30 types.h(3HEAD).
31
33 See attributes(5) for descriptions of the following attributes:
34
35
36
37
38 ┌─────────────────────────────┬─────────────────────────────┐
39 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
40 ├─────────────────────────────┼─────────────────────────────┤
41 │Interface Stability │Standard │
42 └─────────────────────────────┴─────────────────────────────┘
43
45 hsearch(3C), insque(3C), lsearch(3C), tsearch(3C), types.h(3HEAD),
46 attributes(5), standards(5)
47
48
49
50SunOS 5.11 10 Sep 2004 search.h(3HEAD)