RENAME(3F)RENAME(3F)NAMErename - rename a file
SYNOPSIS
integer function rename (from, to)
character*(*) from, to
DESCRIPTION
The argument from must be the path name of an existing file. The argu‐
ment to is the new path name for the file. If to exists, then both
from and to must be the same type of file, and must reside on the same
file system. If to exists, it is removed first.
The returned value is 0 if successful, a system error code otherwise.
FILES
libfui.a
SEE ALSOrename(2), perror(3F)BUGS
Path names cannot be longer than MAXPATHLEN as defined in
<sys/param.h>.
07 July 1995 RENAME(3F)