GINO Graphics Suite - GINO v9.0  

gCopyFile

Syntax

[C/C++:]
int gCopyFile(char filea[], char fileb[]);
[F90:]
integer function gCopyFile(filea, fileb)
character*(*), intent(in) :: filea, fileb

Arguments

filea
Name of existing file

fileb
Name of new file

Description

The system utility gCopyFile() copies the contents of filea into a new file called fileb. Either or both file names may be simple file names in the current working directory or full path names.

The function returns an integer value which equal zero if the copy has been successful. A system dependent error code is returned if the copy fails.

See Also

gCopyFile Usage
gMakeDir
gRemoveFile
gRenameFile