integer function rename (from, to) character*(*) from, to
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.
libfui.a
rename(2), perror(3F)
Path names cannot be longer than MAXPATHLEN as defined in <sys/param.h>.