Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/rename.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    22   This function is in the public domain. */
    33
    4 /* Rename a file.  */
     4/*
    55
     6@deftypefn Supplemental int rename (const char *@var{old}, const char *@var{new})
     7
     8Renames a file from @var{old} to @var{new}.  If @var{new} already
     9exists, it is removed.
     10
     11@end deftypefn
     12
     13*/
     14
     15#include "ansidecl.h"
    616#ifdef HAVE_CONFIG_H
    717#include "config.h"
     
    1424int
    1525rename (zfrom, zto)
    16      char *zfrom;
    17      char *zto;
     26     const char *zfrom;
     27     const char *zto;
    1828{
    1929  if (link (zfrom, zto) < 0)
Note: See TracChangeset for help on using the changeset viewer.