SEARCH.H(3HEAD) Headers SEARCH.H(3HEAD)

search.h, search - search tables

#include <search.h>

The <search.h> header defines the ENTRY type for structure entry, which includes the following members:


char *key
void *data

and defines ACTION and VISIT as enumeration data types through type definitions as follows:


enum { FIND, ENTER } ACTION;
enum { preorder, postorder, endorder, leaf } VISIT;

The size_t type is defined as described in <sys/types.h>. See types.h(3HEAD).

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Standard

hsearch(3C), insque(3C), lsearch(3C), tsearch(3C), types.h(3HEAD), attributes(7), standards(7)

September 10, 2004 OmniOS