Handbook
Glossary
user-read? ( obj -- ? )
Unix file attributes
ยป
Unix file permissions
Prev:
sticky? ( obj -- ? )
Next:
user-write? ( obj -- ? )
Vocabulary
io
.
files
.
info
.
unix
Inputs
obj
a pathname string, file-info object, or an integer
Outputs
?
a
boolean
Word description
Tests whether the
user read
bit is set on a file,
file-info
, or an integer.
Definition
USING:
io.files.info.unix.private
;
IN:
io.files.info.unix
:
user-read?
( obj -- ? )
USER-READ
file-mode?
;