/* This package provides a dbm compatible interface to the new hashing package described in db(3). Returns: *DBM on success NULL on failure  */
DBM* dbm_open(char *file, int flags, int mode) const
/* This package provides a dbm compatible interface to the new hashing package described in db(3). Returns: *DBM on success NULL on failure  */
DBM* dbm_open(char *file, int flags, int mode) const
{
	HASHINFO info;
	char path[MAXPATHLEN];
	info.bsize = 4096;
	info.ffactor = 40;
	info.nelem = 1;
	info.cachesize = 0;
	info.hash = NULL;
	info.lorder = 0;
	(void)strcpy(path, file);
	(void)strcat(path, DBM_SUFFIX);
	return ((DBM *)__hash_open(path, flags, mode, &info, 0));
}