summaryrefslogtreecommitdiff
path: root/libc/unistd/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/execv.c')
-rw-r--r--libc/unistd/execv.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/unistd/execv.c b/libc/unistd/execv.c
new file mode 100644
index 000000000..6c8ba0d97
--- /dev/null
+++ b/libc/unistd/execv.c
@@ -0,0 +1,9 @@
+
+#include <unistd.h>
+
+extern char **environ;
+
+int execv(__const char *path, char *__const argv[])
+{
+ return execve(path, argv, environ);
+}