aboutsummaryrefslogtreecommitdiff
path: root/src/process/execve.c
blob: ffe92986a10eb1dc70f9b3cca2a338d2b16ccc5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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 syscall(SYS_execve, path, argv, envp);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif