Handbook
Glossary
set-file-modified-time ( path timestamp -- )
Unix file attributes
ยป
Unix file timestamps
Prev:
set-file-access-time ( path timestamp -- )
Vocabulary
io
.
files
.
info
.
unix
Inputs
path
a pathname string
timestamp
a
timestamp
Outputs
None
Word description
Sets a file's last modified timestamp, or write timestamp.
Definition
USING:
accessors
arrays
io.files.info
kernel
;
IN:
io.files.info.unix
:
set-file-modified-time
( path timestamp -- )
over
file-info
accessed>>
swap
2array
set-file-times
;