jehanne: add rename

This commit is contained in:
Giacomo Tesio 2017-09-07 23:32:26 +02:00
parent 7f64bcd6ac
commit 8194f38dc0
1 changed files with 7 additions and 0 deletions

View File

@ -188,6 +188,13 @@ _wait_r(struct _reent *r, int *status)
return POSIX_wait(errnop, status); return POSIX_wait(errnop, status);
} }
int
_rename_r(struct _reent *r, const char *from, const char *to)
{
int *errnop = &r->_errno;
return POSIX_rename(errnop, from, to);
}
pid_t pid_t
waitpid (pid_t reqpid, int *status, int options) waitpid (pid_t reqpid, int *status, int options)
{ {