Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rename(3F) — UTek 4.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rename(2)

perror(3f)



RENAME(3F)              COMMAND REFERENCE              RENAME(3F)



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 file system.  Furthermore, if to exists,
     it will be removed first.

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

FILES
     /usr/lib/libU77.a
                    f77 UTek system interface library.

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

CAVEATS
     Pathnames can be no longer than MAXPATHLEN as defined in
     /usr/include/max.h .

SEE ALSO
     rename(2) and perror(3f).
























Printed 3/13/89                                                 1





































































%%index%%
na:312,74;
sy:386,658;
de:1044,529;
fi:1573,191;
rv:1764,279;
ca:2043,195;
se:2238,161;
%%index%%000000000121

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