mud/lib/doc/efun/filesystem/cp
2020-09-06 05:43:07 -07:00

17 lines
324 B
Plaintext

cp - copy a file
int cp(string src, string dst);
Copies the file 'src' to the file 'dst'.
Returns 1 for success, returns -1 if the first src is unreadable, -2 if
dst is unreadable, and -3 if an i/o error occurs.
See also:
rm,
rmdir,
rename,
link
Tim Hollebeek Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere