blob: 2a0b62d623da6b36f70834b6649c8440dbf5aeac (
plain)
1
2
3
4
5
6
7
8
|
#include <unistd.h>
#include "syscall.h"
int execve(const char *path, char *const argv[], char *const envp[])
{
/* do we need to use environ if envp is null? */
return syscall3(__NR_execve, (long)path, (long)argv, (long)envp);
}
|