Back to index

glibc  2.9
Functions | Variables
hsearch.c File Reference
#include <search.h>

Go to the source code of this file.

Functions

ENTRYhsearch (ENTRY item, ACTION action)
int hcreate (size_t nel)
void __hdestroy ()

Variables

static struct hsearch_data

Function Documentation

void __hdestroy ( )

Definition at line 49 of file hsearch.c.

{
  hdestroy_r (&htab);
}
int hcreate ( size_t  nel)

Definition at line 41 of file hsearch.c.

{
  return hcreate_r (nel, &htab);
}

Here is the call graph for this function:

Here is the caller graph for this function:

ENTRY* hsearch ( ENTRY  item,
ACTION  action 
)

Definition at line 28 of file hsearch.c.

{
  ENTRY *result;

  (void) hsearch_r (item, action, &result, &htab);

  return result;
}

Here is the caller graph for this function:


Variable Documentation

struct hsearch_data [static]

Definition at line 23 of file hsearch.c.