summaryrefslogtreecommitdiffstats
path: root/newlib/libc/reent/renamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/reent/renamer.c')
-rw-r--r--newlib/libc/reent/renamer.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/newlib/libc/reent/renamer.c b/newlib/libc/reent/renamer.c
index 0467ae93c..4d2d25635 100644
--- a/newlib/libc/reent/renamer.c
+++ b/newlib/libc/reent/renamer.c
@@ -30,15 +30,14 @@ INDEX
ANSI_SYNOPSIS
#include <reent.h>
int _rename_r(struct _reent *<[ptr]>,
- int <[fd]>, int <[cmd]>, <[arg]>);
+ const char *<[old]>, const char *<[new]>);
TRAD_SYNOPSIS
#include <reent.h>
- int _rename_r(<[ptr]>, <[fd]>, <[cmd]>, <[arg]>)
+ int _rename_r(<[ptr]>, <[old]>, <[new]>)
struct _reent *<[ptr]>;
- int <[fd]>;
- int <[cmd]>;
- int <[arg]>;
+ char *<[old]>;
+ char *<[new]>;
DESCRIPTION
This is a reentrant version of <<rename>>. It