Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rename(3F) — Sun WorkShop 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rename(2)

perror(3F)

RENAME(3F)  —  FORTRAN LIBRARY ROUTINES

NAME

rename − rename a file

SYNOPSIS

integer function rename (from, to)
character∗(∗) from, to

DESCRIPTION

The argument from must be the pathname of an existing file.  The argument 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. 

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

FILES

libF77.a

SEE ALSO

rename(2), perror(3F)

BUGS

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

Sun Release 4.1  —  Last change: 12 June 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026