rename(3F)

rename - rename a file

As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.19.

NAME
     rename - rename a file

SYNOPSIS
     integer function rename (from, to)
     character*(*) from, to

DESCRIPTION
     from must be the pathname of an existing file.  to will become the new
     pathname for the file.  If to exists, then both from and to must be
     the same type of file, and must reside on the same filesystem.  If to
     exists, it will be removed first.

RETURN VALUES
     The returned value will be 0 if successful; a system error code
     otherwise.

FILES
     /usr/ucb/lib/libU77.a /usr/lib/libU77.a

BUGS
     Pathnames can be no longer than MAXPATHLEN as defined in sys/param.h.

SEE ALSO
     rename(2), perror(3F)