Plan 9 from User Space's /usr/local/plan9/src/lib9/exec.c

#include <u.h>
#include <libc.h>

int
exec(char *prog, char *argv[])
{
	/* to mimic plan 9 should be just exec, but execvp is a better fit for unix */
	return execvp(prog, argv);
}

Space Glenda

Copyright © 2005 Lucent Technologies, Russ Cox, MIT.
See license for details.