cp

skylib_fluffos_v3/mudlib/doc/driver/efuns/filesystem/cp · 395 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.\"copy a file
.DT
cp
$MUDNAME$ driver help
cp
 
.SH Name
.SI 5
cp() - copy a file
.EI

.SH Synopsis
.SI 5
int cp( string src, string dst );
.EI

.SH Description
.SP 5 5
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.
.EP
 
.EI
See also
.SI 5
rm(), rmdir(), rename(), link()
.EI

Site Stats

Snippets: 1791
Codebases: 571