shithub: riscv

ref: 74dfb591e159b5d4600e34dc736a611b2f4a11ba
dir: /sys/src/ape/lib/ap/plan9/execle.c/

View raw version
#include <unistd.h>

int
execle(const char *name, const char *arg0, const char *, ...)
{
	char *p;

	for(p=(char *)(&name)+1; *p; )
		p++;
	return execve(name, &arg0, (char **)p+1);
}