ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/efuns/link
lllliiiinnnnkkkk((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) lllliiiinnnnkkkk((((3333))))
NNNNAAAAMMMMEEEE
link() - link a file to another
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
void link( string original, string reference );
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Creates a link to the file . This
efun causes valid_link(original, reference) to be called in
the master object. If valid_link() returns 0, the link()
call fails. If valid_link() returns 1 then the link()
suceeds iff rename() would succeed if called with the same
arguments.
Note: This efun creates a hard link, not a symbolic one.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
rm(3), rmdir(3), rename(3), mkdir(3), cp(3)
Page 1 (printed 3/16/95)