Handbook
Glossary
set-sticky ( path ? -- )
Unix file attributes
ยป
Unix file permissions
Prev:
set-gid ( path ? -- )
Next:
set-user-read ( path ? -- )
Vocabulary
io
.
files
.
info
.
unix
Inputs
path
a pathname string
?
a
boolean
Outputs
None
Word description
Sets the
sticky
bit of a file to true or false.
Definition
USING:
io.files.info.unix.private
kernel
;
IN:
io.files.info.unix
:
set-sticky
( path ? -- )
STICKY
swap
chmod-set-bit
;