* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)dbm.c 5.3 (Berkeley) 85/08/15";
static DBM
*cur_db
= NODB
;
static char no_db
[] = "dbm: no open database\n";
cur_db
= dbm_open(file
, 2, 0);
cur_db
= dbm_open(file
, 0, 0);
return (dbm_forder(cur_db
, key
));
return (dbm_fetch(cur_db
, key
));
return (dbm_delete(cur_db
, key
));
return (dbm_store(cur_db
, key
, dat
, DBM_REPLACE
));
return (dbm_firstkey(cur_db
));
return (dbm_nextkey(cur_db
, key
));