shithub: riscv

ref: fe594760ebddac23e673d189d2152062ef75d8b8
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 *aore, ...)
{
	char *p;

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