Accesses data stored under a key.
C Library (libc.a)
The dbm_fetch subroutine accesses data stored under a key.
Item | Description |
---|---|
db | Specifies the database to access. |
key | Specifies the input key. |
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.