diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-18 11:27:04 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-18 11:27:04 -0800 |
commit | 8306b655f9d9a291126ed4947c481ea540c9b835 (patch) | |
tree | 1363fc0092c5e02ffd7a8910d9abd29ab8da280f /sys/src/exec.c | |
parent | 7eb20457ff3d80cc81d54204ffd2c9edaf991905 (diff) |
added more syscalls
Diffstat (limited to 'sys/src/exec.c')
-rw-r--r-- | sys/src/exec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/src/exec.c b/sys/src/exec.c new file mode 100644 index 0000000..d00e9dd --- /dev/null +++ b/sys/src/exec.c @@ -0,0 +1,8 @@ +#include "internal.h" + +int +sys·exec(char *prog, char *argv[], char *env[]) +{ + intptr ret = syscall(·ExecVe, prog, argv, env); + return error(ret); +} |