shithub: riscv

ref: 1d07c2a1614a3121a5b9d86f95394caccd61ee56
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);
}