summaryrefslogtreecommitdiff
path: root/src/unistd/execve.c
blob: 81e39b93ddc9b50f775c2c78d95640a424b2a967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "stddef.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)
*/