Handbook
Glossary
file-permissions ( path -- n )
Unix file attributes
ยป
Unix file permissions
Next:
uid? ( obj -- ? )
Vocabulary
io
.
files
.
info
.
unix
Inputs
path
a pathname string
Outputs
n
an
integer
Word description
Returns the Unix file permissions for a given file.
Definition
USING:
accessors
io.backend
io.files.info
;
IN:
io.files.info.unix
:
file-permissions
( path -- n )
normalize-path
file-info
permissions>>
;