Handbook
Glossary
make-link ( target symlink -- )
Factor handbook
»
Input and output
»
Symbolic links
Prev:
follow-links ( path -- path' )
Next:
copy-link ( target symlink -- )
Vocabulary
io
.
files
.
links
Inputs
target
a path to the symbolic link's target
symlink
a path to new symbolic link
Outputs
None
Word description
Creates a symbolic link.
Definition
USING:
system
;
IN:
io.files.links
HOOK:
make-link
os
( target symlink -- )
Methods
USING:
io.backend
io.files.links
kernel
system
unix
unix.ffi
;
M:
unix
make-link
normalize-path
[
symlink
]
unix-system-call
drop
;