diff options
Diffstat (limited to 'src/lib9/exec.c')
-rw-r--r-- | src/lib9/exec.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib9/exec.c b/src/lib9/exec.c new file mode 100644 index 00000000..ffe81343 --- /dev/null +++ b/src/lib9/exec.c @@ -0,0 +1,9 @@ +#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); +} |