Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

search(3HEAD)

Name

search.h, search - search tables

Synopsis

#include <search.h>

Description

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).

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See Also

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