9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

exec.c (181B)


      1 #include <u.h>
      2 #include <libc.h>
      3 
      4 int
      5 exec(char *prog, char *argv[])
      6 {
      7 	/* to mimic plan 9 should be just exec, but execvp is a better fit for unix */
      8 	return execvp(prog, argv);
      9 }