make-hard-link ( target link -- ) (original) (raw)
make-hard-link ( target link -- )
Inputs
target | a path to the hard link's target |
---|---|
link | a path to new symbolic link |
Outputs
None
Word description
Creates a hard link.
Definition
HOOK: make-hard-link os ( target link -- )
Methods
USING: io.backend io.files.links kernel system unix unix.ffi ;
M: unix make-hard-link
normalize-path [ link ] unix-system-call drop ;