Handbook
Glossary
check-ptr ( c-ptr -- c-ptr )
Vocabulary
libc
Inputs
c-ptr
an alien address, byte array, or
f
Outputs
c-ptr
an alien address, byte array, or
f
Word description
Throws an error if the input is
f
. Otherwise the object remains on the data stack.
Definition
USING:
kernel
;
IN:
libc
:
check-ptr
( c-ptr -- c-ptr )
[
bad-ptr
]
unless*
;