fcopy
fcopy |
Purpose
Synopsis
int fcopy(XPRMcontext ctx, const char *src, const char *dst);
Arguments
ctx
|
Mosel's execution context
|
src
|
Source file name
|
dst
|
Destination file name
|
Return value
0 if successful, 1 if
src cannot be open, 2 if
dst cannot be open and 3 if an error occured during the copy.
Further information
This function makes a copy of file
src. Source and destination file names do not have to use the same IO driver.