exec.c - 9base - revived minimalist port of Plan 9 userland to Unix
(HTM) git clone git://git.suckless.org/9base
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) 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 }