jehanne: define _execve (directly used by libc/posix/execve.c)

This commit is contained in:
Giacomo Tesio 2017-09-07 19:45:47 +02:00
parent 4651a34e15
commit 775d703f25
1 changed files with 7 additions and 0 deletions

View File

@ -69,6 +69,13 @@ _execve_r(struct _reent *r, const char * name, char *const * argv, char *const *
return POSIX_execve(errnop, name, argv, env); return POSIX_execve(errnop, name, argv, env);
} }
int
_execve(const char * name, char *const * argv, char *const * env)
{
int *errnop = &_REENT->_errno;
return POSIX_execve(errnop, name, argv, env);
}
int int
_fork_r(struct _reent *r) _fork_r(struct _reent *r)
{ {