summaryrefslogtreecommitdiff
path: root/src/unistd/execve.c
blob: de54fa56e456717a29145131777b15220c30be8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include "_syscall.h"

int execve(const char *path, char *const argv[], char *const envp[])
{
	SYSCALL_NUMBER(scno, execve, -1);
	errno = -__syscall(scno, path, argv, envp);
	return -1;
}
/*
POSIX(1)
*/