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



#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);
}