SYNOPSIS
#include <search.h>
ENTRY *hsearch(ENTRY item, ACTION action);
DESCRIPTION
The
PARAMETERS
- item
-
Is a structure containing two pointers:
- action
-
Either ENTER or FIND. When ENTER is specified, the item is inserted in the table at an appropriate point; an existing item with the same key is not overwritten. When FIND is specified, the item is not inserted into the table. When an entry exists with the specified key, it is returned, otherwise NULL is returned.
RETURN VALUES
The
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
Note that only one hash table can be active in a process at any given time.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
MKS Toolkit 9.2 Documentation Build 16.