Returns the first key in a database.
#include <ndbm.h> datum dbm_firstkey (db) DBM *db;
The dbm_firstkey subroutine returns the first key in a database.
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.
This subroutine is part of Base Operating System (BOS) Runtime.
The firstkey subroutine.
List of NDBM and DBM Programming References and NDBM Overview in AIX Version 4.3 Communications Programming Concepts.