Handbook
Glossary
can-seek-handle? ( handle -- ? )
Vocabulary
io
.
ports
Inputs
handle
an
object
Outputs
?
an
object
Definition
USING:
system
;
IN:
io.ports
HOOK:
can-seek-handle?
os
( handle -- ? )
Methods
USING:
accessors
io.ports
kernel
system
unix.ffi
;
M:
unix
can-seek-handle?
fd>>
SEEK_CUR
0
lseek
-1
=
not
;