2000-03-18 06:48:54 +08:00
|
|
|
/*
|
|
|
|
* Stub version of execve.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include <_ansi.h>
|
|
|
|
#include <_syslist.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#undef errno
|
|
|
|
extern int errno;
|
|
|
|
#include "warning.h"
|
|
|
|
|
|
|
|
int
|
2017-12-04 11:43:30 +08:00
|
|
|
_execve (char *name,
|
2017-12-04 09:31:41 +08:00
|
|
|
char **argv,
|
2000-03-18 06:48:54 +08:00
|
|
|
char **env)
|
|
|
|
{
|
|
|
|
errno = ENOSYS;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
stub_warning(_execve)
|