Handbook
Glossary
(file-reader) ( path -- stream )
Vocabulary
io
.
files
Inputs
path
an
object
Outputs
stream
an
object
Definition
USING:
io.backend
;
IN:
io.files
HOOK:
(file-reader)
io-backend
( path -- stream )
Methods
USING:
io.backend
io.files
io.streams.c
;
M:
c-io-backend
(file-reader)
"rb"
fopen
<c-reader>
;
USING:
io.backend.unix
io.files
io.files.unix
io.ports
system
;
M:
unix
(file-reader)
open-read
<fd>
init-fd
<input-port>
;