COHERENT manpages
This page displays the COHERENT manpage for dbm_fetch() [Fetch a record from an NDBM data base].
List of available manpages
Index
dbm_fetch() -- NDBM Function (libgdbm) Fetch a record from an NDBM data base #include <ndbm.h> datum dbm_fetch (database, key) DBM *file; datum key; Function dbm_fetch() retrieves from database the record with the given key. database must first have been opened through a call to function dbm_open(). dbm_fetch() returns the address of the record it has retrieved. It returns NULL either if something went wrong (e.g., it could not read database), or if database does not contain a record with key. See Also Notes For a statement of copyright and permissions on this routine, see the Lexicon entry for libgdbm.