.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)rename.3f 6.1 (Berkeley) 5/15/85
.TH RENAME 3F "May 15, 1985"
.B integer function rename (from, to)
.B character*(*) from, to
must be the pathname of an existing file.
will become the new pathname for the file.
must be the same type of file, and must reside on the same filesystem.
exists, it will be removed first.
The returned value will be 0 if successful; a system error code otherwise.
.ie \nM /usr/ucb/lib/libU77.a
Pathnames can be no longer than MAXPATHLEN as defined in