Adds the value to the database with the specified key.
The DBM link identifier, returned by dbmopen().
The added key
The added key value
Returns -1 if the database was opened read-only, 0 if the insert was successful, and 1 if the specified key already exists. (To replace the value, use dbmreplace().)