Handbook
Glossary
gdbm-fetch* ( key -- content ? )
Vocabulary
gdbm
Inputs
key
an
object
Outputs
content
an
object
?
a
boolean
Word description
Looks up a given key and returns value associated with it. The boolean flag can decide between the case of a missing value, and a value of
f
.
Definition
USING:
destructors
gdbm.ffi
gdbm.private
kernel
;
IN:
gdbm
:
gdbm-fetch*
( key -- content ? )
[
dbf
swap
object>datum
gdbm_fetch
datum>object*
]
with-destructors
;