Accesses data stored under a key.
#include <dbm.h>
datum fetch (key) datum key;
The fetch subroutine accesses data stored under a key.
key | Specifies the input key. |
Upon successful completion, this subroutine returns data corresponding to the specified key. If the subroutine is unsuccessful, a null value is indicated in the dptr field of the returned datum structure.
This subroutine is part of Base Operating System (BOS) Runtime.
The dbm_fetch subroutine.
List of NDBM and DBM Programming References and NDBM Overview in AIX Version 4.3 Communications Programming Concepts.