1RENAME(3F)                                                          RENAME(3F)
2
3
4

NAME

6       rename - rename a file
7

SYNOPSIS

9       integer function rename (from, to)
10       character*(*) from, to
11

DESCRIPTION

13       From  must be the pathname of an existing file.  To will become the new
14       pathname for the file.  If to exists, then both from and to must be the
15       same  type  of  file,  and  must  reside on the same filesystem.  If to
16       exists, it will be removed first.
17
18       The returned value will be 0 if successful; a system error code  other‐
19       wise.
20

FILES

22       /usr/lib/libU77.a
23

SEE ALSO

25       rename(2), perror(3F)
26

BUGS

28       Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
29
30
31
324.2 Berkeley Distribution        May 15, 1985                       RENAME(3F)
Impressum