Handbook
Glossary
gdbm-exists? ( key -- ? )
GNU Database Manager
Prev:
gdbm-insert ( key content -- )
Next:
gdbm-fetch ( key -- content/f )
Vocabulary
gdbm
Inputs
key
an
object
Outputs
?
a
boolean
Word description
Searches for a particular key without retreiving it.
Definition
USING:
alien.c-types
destructors
gdbm.ffi
gdbm.private
kernel
;
IN:
gdbm
:
gdbm-exists?
( key -- ? )
[
dbf
swap
object>datum
gdbm_exists
c-bool>
]
with-destructors
;