aboutsummaryrefslogtreecommitdiff
path: root/libiberty/rename.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
commit39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch)
treeb437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/rename.c
parent4e6667ac4f987fecbcf576513c70485a4718712e (diff)
downloadgdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/rename.c')
-rw-r--r--libiberty/rename.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/libiberty/rename.c b/libiberty/rename.c
index 2e9dec1..0563062 100644
--- a/libiberty/rename.c
+++ b/libiberty/rename.c
@@ -1,7 +1,16 @@
/* rename -- rename a file
This function is in the public domain. */
-/* Rename a file. */
+/*
+
+@deftypefn Supplemental int rename (const char *@var{old}, const char *@var{new})
+
+Renames a file from @var{old} to @var{new}. If @var{new} already
+exists, it is removed.
+
+@end deftypefn
+
+*/
#ifdef HAVE_CONFIG_H
#include "config.h"