Returns the next key in a database.
C Library (libc.a)
#include <ndbm.h>
datum dbm_nextkey ( db)
DBM *db;
The dbm_nextkey subroutine returns the next key in a database.
Item | Description |
---|---|
db | Specifies the database to access. |
Upon successful completion, this subroutine returns a datum structure containing the value returned for the specified key. If the subroutine is unsuccessful, a null value is indicated in the dptr field of the datum structure.