37 #if defined(LIBC_SCCS) && !defined(lint) 38 static char sccsid[] =
"@(#)hsearch.c 8.4 (Berkeley) 7/21/94";
41 #include <sys/types.h> 46 #include "../include/db.h" 79 key.
size = strlen(item.
key) + 1;
81 if (action ==
ENTER) {
89 status = (dbp->get)(dbp, &key, &val, 0);
104 (void)(dbp->close)(
dbp);
DB * __hash_open(char *file, int flags, int mode, const HASHINFO *info, int dflags) const
static struct aco_type item
ENTRY * hsearch(ENTRY item, ACTION action)