rename_file
MudOSa4DGD/mudlib/dgd/doc/kfun/rename_file · 418 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
NAME rename_file - rename a file SYNOPSIS int rename_file(string from, string to) DESCRIPTION Rename a file. The destination file must not yet exist. 1 is returned if the file could be renamed, 0 otherwise. ERRORS Moving a directory may not be possible if the host operating system does not support this as a system call. Moving a file across file systems will probably fail. SEE ALSO kfun/remove_file