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