aboutsummaryrefslogtreecommitdiff
path: root/libiberty/rename.c
diff options
context:
space:
mode:
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"