summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/execv.c
blob: af044a557f176212de95518fff1f4fa8405dedfc (plain)
1
2
3
4
5
6
7
8
9
10
11


#include <syscall.h> // for __syscall_3, syscall
#include <unistd.h>  // for execv

extern char **environ;

int execv(const char *path, char *const argv[])
{
	return syscall(execve, path, argv, environ);
}