Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: 854e9ae58e
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (25 sloc) 1.324 kB
This is a gdbm interface for Lua 5.1. gdbm is the GNU database manager,
a replacement of the UNIX dbm library available at
If you're running Linux, you probably already have gdbm installed.
To try the library, edit Makefile to reflect your installation of Lua and
then run make. This will build the library and run a simple test.
For detailed installation instructions, see
There is no manual but the library is simple and intuitive; see the summary
below. Read also test.lua, which shows the library in action.
test.lua also provides gdbm.proxy, which creates table proxies for gdbm
databases, and two "for" generators: "keys" and "entries", for convenient
traversal of databases.
This code is hereby placed in the public domain.
Please send comments, suggestions, and bug reports to .
gdbm library:
__tostring(file) nextkey(file,key)
close(file) open(file,how)
delete(file,key) reorganize(file)
exists(file,key) replace(file,key,data)
fetch(file,key) sync(file)
firstkey(file) version
Jump to Line
Something went wrong with that request. Please try again.