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
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.