gdbm_open
This opens the database with a specified access mode.
gdbm_open name ?mode?
name opens a gdbm database of that name.
mode can be one of:
r
This only reads.w
This only writes.wc
This writes and creates if not already existent.n
This writes and creates a new database, regardless if one exists.
If the mode is not given, then it is opened for reading. The gdbm database can be opened many times for reading. After the gdbm database is opened for writing, it is locked, and no other user can read it.
This command returns an empty string.