NAME
rename - 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 argument 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 ALSO
rename(2), perror(3F)
BUGS
Path names cannot be longer than MAXPATHLEN as defined in
<sys/param.h>.