4.4BSD/usr/share/man/cat3f/rename.0

Compare this file to the similar file:
Show the results in this format:

F>=1  .if 3F<=8 .    if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program-



RENAME(3F)             BSD Reference Manual            RENAME(3F)

mer's Manual
NNAAMMEE
       rename - rename a file

SSYYNNOOPPSSIISS
       iinntteeggeerr ffuunnccttiioonn rreennaammee ((ffrroomm,, ttoo))
       cchhaarraacctteerr**((**)) ffrroomm,, ttoo

DDEESSCCRRIIPPTTIIOONN
       _F_r_o_m must be the pathname of an existing  file.   _T_o  will
       become  the new pathname for the file.  If _t_o exists, then
       both _f_r_o_m and _t_o must be the same type of file,  and  must
       reside  on  the same filesystem.  If _t_o exists, it will be
       removed first.

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

FFIILLEESS
       /usr/lib/libU77.a

SSEEEE AALLSSOO
       rename(2), perror(3F)

BBUUGGSS
       Pathnames  can  be no longer than MAXPATHLEN as defined in
       <_s_y_s_/_p_a_r_a_m_._h>.



























4.2 Berkeley Distribution  June 5, 1993                         1