Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
user-execute? ( obj -- ? )
Unix file attributes
>
Unix file permissions
Prev:
user-write? ( obj -- ? )
Next:
group-read? ( obj -- ? )
Vocabulary
io.files.info.unix
Inputs and outputs
obj
a pathname string, file-info object, or an integer
?
a boolean
Word description
Tests whether the
user execute
bit is set on a file,
file-info
, or an integer.
Definition
USING:
io.files.info.unix.private
;
IN:
io.files.info.unix
:
user-execute?
( obj -- ? )
USER-EXECUTE
file-mode?
;