newlib-cygwin/newlib/libc/syscalls/sysexecve.c

17 lines
281 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* connector for execve */
#include <reent.h>
int
_DEFUN (execve, (name, argv, env),
char *name _AND
char **argv _AND
char **env)
2000-02-18 03:39:52 +08:00
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _execve_r (_REENT, name, argv, env);
#else
return _execve (name, argv, env);
#endif
}