GINO Graphics Suite - GINO v9.0  

gRenameFile

Syntax

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

Arguments

filea
Name of existing file

fileb
Name of new file

Description

The system utility gRenameFile() renames an existing file, filea as 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 rename has been successful. A system dependent error code is returned if the rename fails.

See Also

gRenameFile Usage
gCopyFile
gRemoveFile