[comp.sources.games.bugs] dbm library needed by spacewar

awilcox@eagle.wesleyan.edu (09/01/89)

I am attempting to compile Spacewar on my AT&T Unix PC (aka 3b1).
It references a library (dbm) that I don't have, and needs the routines:
dbminit, store, fetch, delete, firstkey, and nextkey.  What does dbm do?
Is source code available?  Can someone else with a Unix PC confirm that
I'm not supposed to have this library already?  Failing this, can someone
describe the functionality of this library so I can duplicate it.
Thanks in advance,
                                         Andrew Wilcox
                                         awilcox@eagle.wesleyan.edu

daver@uxa.cso.uiuc.edu (09/06/89)

dbm:
dbm is the data base library routines.  It creates a hashed data file and 
index.  You have to load and save the records with the dbm routines so
that they are hashed correctly.