Files
musl/src/process/execve.c

9 lines
232 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#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 syscall3(__NR_execve, (long)path, (long)argv, (long)envp);
}