shithub: riscv

ref: 19cc46bc5ee1dd43537c4094d19d8da778b72bce
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);
}