diff options
Diffstat (limited to 'lib/libc/unistd/execv.c')
| -rw-r--r-- | lib/libc/unistd/execv.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/unistd/execv.c b/lib/libc/unistd/execv.c new file mode 100644 index 00000000..60ee6d87 --- /dev/null +++ b/lib/libc/unistd/execv.c @@ -0,0 +1,9 @@ +#include <unistd.h> +#include <syscall.h> + +extern char **environ; + +int execv(const char *path, char *const argv[]) +{ + return syscall(execve, path, argv, environ); +} |
