summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/process/execve.c
blob: 70286a17397da61e6dc31ff6db7f0c4dd2e77ef4 (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 syscall(SYS_execve, path, argv, envp);
}